Re: error: expected ')' before '*' token -- What is this ?
- From: jacob navia <jacob@xxxxxxxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 19:11:55 +0200
Al Balmer wrote:
On Tue, 31 Jul 2007 03:31:47 -0700, Ram Prasad
<ramprasad.ap@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) {
We still don't have enough information, but making some assumptions
and wild guesses, I suspect that the compiler is not recognizing
"SPF_request_t". Check it's definition, make sure the definition is
visible to the code with the error, and make sure you spelled
everything correctly. Do the same for all the strange types being
used.
I thought about the same problem but then, I saw that in that case it wouldn't have recognized "SPF_result" either...
and canceled my post.
.
- References:
- error: expected ')' before '*' token -- What is this ?
- From: Ram Prasad
- Re: error: expected ')' before '*' token -- What is this ?
- From: Al Balmer
- error: expected ')' before '*' token -- What is this ?
- Prev by Date: Re: Staic array de allocation
- 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
|