Re: error: expected ')' before '*' token -- What is this ?
- From: John Bode <john_bode@xxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 11:32:39 -0700
On Jul 31, 5:31 am, Ram Prasad <ramprasad...@xxxxxxxxx> wrote:
I am trying to write a simple libspf2 plugin code for my postfix
( milter)
I am getting this unhelpful error message when I try to compile
gcc -g1 -Wall -I/usr/local/include/spf2 -I. -c mfunc.c
In file included from mfunc.c:1:
mfunc.c:42: error: expected ')' before '*' token
make: *** [mfunc.o] Error 1
my mfunc.c has on the line 42
-----------------------
. . . . .
SPF_result_t spfcheck_s(SPF_request_t *ecm_spf_request, char* ip,
char* helo, char* sender) {
[snip]
Based on what you've posted here, SPF_request_t has not been properly
defined at this point; either you haven't #included the right header
file, or the header file has a syntax error in it.
.
- References:
- error: expected ')' before '*' token -- What is this ?
- From: Ram Prasad
- error: expected ')' before '*' token -- What is this ?
- Prev by Date: Re: Malcolm's new book
- Next by Date: Re: Structure having pointers
- Previous by thread: Re: error: expected ')' before '*' token -- What is this ?
- Next by thread: Re: error: expected ')' before '*' token -- What is this ?
- Index(es):
Relevant Pages
|