[syslog-ng]Syslog-ng on NetBSD
Axel Gerster
syslog-ng@lists.balabit.hu
Sat, 28 Jun 2003 23:38:17 +0200 (MEST)
Hello,
I got some compile errors on syslog-ng on NetBSD.
Does anyone know how to fix it?
---snap----
root@blah:/tmp/syslog-ng-1.6.0rc3# gmake
Making all in src
gmake[1]: Entering directory `/tmp/syslog-ng-1.6.0rc3/src'
gmake all-recursive
gmake[2]: Entering directory `/tmp/syslog-ng-1.6.0rc3/src'
Making all in .
gmake[3]: Entering directory `/tmp/syslog-ng-1.6.0rc3/src'
gcc -DHAVE_CONFIG_H -I. -I/tmp/syslog-ng-1.6.0rc3/src -I. -mcpu=v9
-Wall -I/usr/pkg//include/libol -D_GNU_SOURCE -c cfg-lex.c
gcc -DHAVE_CONFIG_H -I. -I/tmp/syslog-ng-1.6.0rc3/src -I. -mcpu=v9
-Wall -I/usr/pkg//include/libol -D_GNU_SOURCE -c affile.c
In file included from /usr/include/arpa/inet.h:65,
from affile.c:77:
/usr/include/sys/param.h:222: warning: `MIN' redefined
/usr/pkg/include/libol/objtypes.h:82: warning: this is the location of the
previous definition
/usr/include/sys/param.h:223: warning: `MAX' redefined
/usr/pkg/include/libol/objtypes.h:86: warning: this is the location of the
previous definition
gcc -DHAVE_CONFIG_H -I. -I/tmp/syslog-ng-1.6.0rc3/src -I. -mcpu=v9
-Wall -I/usr/pkg//include/libol -D_GNU_SOURCE -c afsocket.c
gcc -DHAVE_CONFIG_H -I. -I/tmp/syslog-ng-1.6.0rc3/src -I. -mcpu=v9
-Wall -I/usr/pkg//include/libol -D_GNU_SOURCE -c afunix.c
gcc -DHAVE_CONFIG_H -I. -I/tmp/syslog-ng-1.6.0rc3/src -I. -mcpu=v9
-Wall -I/usr/pkg//include/libol -D_GNU_SOURCE -c afinet.c
gcc -DHAVE_CONFIG_H -I. -I/tmp/syslog-ng-1.6.0rc3/src -I. -mcpu=v9
-Wall -I/usr/pkg//include/libol -D_GNU_SOURCE -c afinter.c
gcc -DHAVE_CONFIG_H -I. -I/tmp/syslog-ng-1.6.0rc3/src -I. -mcpu=v9
-Wall -I/usr/pkg//include/libol -D_GNU_SOURCE -c afuser.c
gcc -DHAVE_CONFIG_H -I. -I/tmp/syslog-ng-1.6.0rc3/src -I. -mcpu=v9
-Wall -I/usr/pkg//include/libol -D_GNU_SOURCE -c afstreams.c
afstreams.c:37: stropts.h: No such file or directory
afstreams.c:38: sys/strlog.h: No such file or directory
gmake[3]: *** [afstreams.o] Error 1
gmake[3]: Leaving directory `/tmp/syslog-ng-1.6.0rc3/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/tmp/syslog-ng-1.6.0rc3/src'
gmake[1]: *** [all-recursive-am] Error 2
gmake[1]: Leaving directory `/tmp/syslog-ng-1.6.0rc3/src'
gmake: *** [all-recursive] Error 1
--snip---
Thx very much.
Axel