[syslog-ng] Syslog compile error
philip
ilovespams at gmail.com
Thu Sep 29 01:49:01 CEST 2005
Hi,
I got the following error message when I run "make"
Making all in src
make[1]: Entering directory `/root/syslog-ng-1.6.0rc3/src'
make all-recursive
make[2]: Entering directory `/root/syslog-ng-1.6.0rc3/src'
Making all in .
make[3]: Entering directory `/root/syslog-ng-1.6.0rc3/src'
gcc -g -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE -o syslog-ng
main.o sources.o center.o filters.o destinations.o log.o cfgfile.o
cfg-grammar.o cfg-lex.o affile.o afsocket.o afunix.o afinet.o afinter.o
afuser.o afstreams.o afprogram.o afremctrl.o nscache.o utils.o
syslog-names.o macros.o -lnsl -lresolv -lfl /usr/local/lib/libol.a -lnsl
sources.o(.text+0x211): In function `do_read_line':
/root/syslog-ng-1.6.0rc3/src/sources.c:91: undefined reference to `MIN'
sources.o(.text+0x443): In function `make_log_reader':
/root/syslog-ng-1.6.0rc3/src/sources.c:169: undefined reference to `MAX'
cfg-lex.o(.text+0x4cc): In function `append_string':
/root/syslog-ng-1.6.0rc3/src/cfg-lex.l:239: undefined reference to `MIN'
affile.o(.text+0x59f): In function `do_init_dest_writer':
/root/syslog-ng-1.6.0rc3/src/affile.c:286: undefined reference to `MAX'
afinet.o(.text+0x83d): In function `do_init_afinet_dest':
/root/syslog-ng-1.6.0rc3/src/afinet.c:478: undefined reference to `MAX'
macros.o(.text+0x85): In function `append_string':
/root/syslog-ng-1.6.0rc3/src/macros.c:84: undefined reference to `MIN'
macros.o(.text+0x3e9): In function `expand_macros':
/root/syslog-ng-1.6.0rc3/src/macros.c:182: undefined reference to `MIN'
collect2: ld returned 1 exit status
make[3]: *** [syslog-ng] Error 1
make[3]: Leaving directory `/root/syslog-ng-1.6.0rc3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/syslog-ng-1.6.0rc3/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/root/syslog-ng-1.6.0rc3/src'
make: *** [all-recursive] Error 1
Any suggestion what cause it?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20050928/9c1a33dd/attachment.html
More information about the syslog-ng
mailing list