[syslog-ng]Solaris 2.6 compile failure

William Yodlowsky wyodlows@andromeda.rutgers.edu
Mon, 8 Jan 2001 13:38:47 -0500


Hi folks.

I hadn't had a problem building syslog-ng until today, when I tried to
build 1.4.10/libol-0.2.20 on Solaris 2.6-patched.  Why do I get the
feeling this is a Sun header file problem... it builds fine on Solaris
8.

...
gcc -DHAVE_CONFIG_H -I.
	-I/build/syslog-ng/syslog-ng-1.4.10/src -I.     -O2 -Wall
	-I/build/syslog-ng/libol-0.2.20/src -D_GNU_SOURCE -c afstreams.c
In file included from /usr/include/stropts.h:22,
                 from afstreams.c:37:
/usr/include/sys/stropts.h:315: parse error before `t_uscalar_t'
/usr/include/sys/stropts.h:315: warning: no semicolon at end of struct
or union
/usr/include/sys/stropts.h:334: parse error before `t_uscalar_t'
/usr/include/sys/stropts.h:334: warning: no semicolon at end of struct
or union
/usr/include/sys/stropts.h:337: parse error before `}'
*** Error code 1
make: Fatal error: Command failed for target `afstreams.o'
Current working directory
/build/syslog-ng/syslog-ng-1.4.10/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory
/build/syslog-ng/syslog-ng-1.4.10/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
Current working directory
/build/syslog-ng/syslog-ng-1.4.10/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'