[syslog-ng] Syslog 1.6.8 compile error

Rohald van Baars RBaars at digitenne.nl
Tue Sep 27 16:30:15 CEST 2005


Hi, can someone please help me to get the compile right.

OS: RHEL ES 3 update 4

The ./configure went well no errrors.
But the make did not go so well: 

Error message(s) :

>> snip
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 afpr
gram.o afremctrl.o nscache.o utils.o syslog-names.o macros.o  -lnsl -lresolv  /
sr/local/lib/libol.a -lnsl -Wl,-Bstatic      -Wl,-Bdynamic
cfg-lex.o(.text+0x45f): In function `yylex':
/root/rpm/syslog-ng/syslog-ng-1.6.8/src/cfg-lex.c:1123: undefined reference to
yywrap'
cfg-lex.o(.text+0xb33): In function `input':
/root/rpm/syslog-ng/syslog-ng-1.6.8/src/cfg-lex.c:1450: undefined reference to
yywrap'
collect2: ld returned 1 exit status
make[3]: *** [syslog-ng] Error 1
make[3]: Leaving directory `/root/rpm/syslog-ng/syslog-ng-1.6.8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/rpm/syslog-ng/syslog-ng-1.6.8/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/rpm/syslog-ng/syslog-ng-1.6.8/src'
make: *** [all-recursive] Error 1

<< snap

Can someone plz explain what went wrong?

Rohald van Baars

Digitenne B.V.
The netherlands

WWW:  www.digitenne.nl


############################################################################
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy all copies.
############################################################################


More information about the syslog-ng mailing list