Menu

#4 Compilation fails on Solaris 10

v0.4.0
open
nobody
Compilation (3)
5
2009-04-23
2009-04-23
No

Due to non-existance of the __P macro.

Making in /tmp/batv-milter-0.4.0/obj.SunOS.5.10.sun4/batv-filter
gcc -O -I. -I../../include -I/opt/openssl/include -I/opt/sendmail/include -DSO
LARIS=21000 -DNETINET6 -D_REENTRANT -DXP_MT -c util.c
In file included from util.c:24:
util.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
*** Error code 1
make: Fatal error: Command failed for target `util.o'

__P is defined in a few header files, but none specifically for that purpose

/usr/include/fenv.h:#define __P(p) p
/usr/include/floatingpoint.h:#define __P(p) p
/usr/include/iso/math_c99.h:#define __P(p) p
/usr/include/iso/math_iso.h:#define __P(p) p
...

Discussion


Log in to post a comment.

MongoDB Logo MongoDB