[syslog-ng] Syslog 1.6.8 compile error
William Bell
williamb at cwie.net
Tue Sep 27 18:16:12 CEST 2005
I have seen this before with bad version of byacc/flex/lex you might
want to install a new version of each, link your new libraries and try
again.
William
-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu
[mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Rohald van
Baars
Sent: Tuesday, September 27, 2005 7:30 AM
To: syslog-ng at lists.balabit.hu
Subject: [syslog-ng] Syslog 1.6.8 compile error
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.
########################################################################
####
_______________________________________________
syslog-ng maillist - syslog-ng at lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
More information about the syslog-ng
mailing list