procmail
[Top] [All Lists]

Trouble compiling under BSDI 2.0

1995-10-05 11:32:48
When attempting to compile procmail 3.10 under BSDI 2.0 I get the
following error:

cc -c -O formail.c
formail.c:38: `daemon' redeclared as different kind of symbol
/usr/include/stdlib.h:136: previous declaration of `daemon'
formail.c:38: warning: `daemon' was declared `extern' and later `static'
*** Error code 1
Stop.

Unfortunately, C is not my strong point, so I haven't got the faintest
idea what to comment/change/whatever to get procmail to compile.  The
lines in question are:

formail.c:38:
 daemon[]="<>",unknown[]=UNKNOWN,re[]=" Re:",fmusage[]=FM_USAGE;

/usr/include/stdlib.h:136:
int      daemon __P((int, int));

Can anyone tell me what to do (short of "pray", which I've already
tried) to make this compile?

Thanks.

--Amanda Robinson


<Prev in Thread] Current Thread [Next in Thread>
  • Trouble compiling under BSDI 2.0, Amanda Robinson <=