[syslog-ng]Syslog-ng fails during build (SRPMS)
Jose Pedro Oliveira
syslog-ng@lists.balabit.hu
Thu, 10 Mar 2005 19:21:36 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Phillip,
| gcc -O2 -g -march=i386 -mcpu=i686 -Wall -I/usr/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 -lwrap /usr/lib/libol.a -lnsl
| cfg-lex.o(.text+0x42f): In function `yylex':
| /usr/src/redhat/BUILD/syslog-ng-1.6.5/src/cfg-lex.c:1123: undefined
| reference to `yywrap'
| cfg-lex.o(.text+0xbdf): In function `input':
| /usr/src/redhat/BUILD/syslog-ng-1.6.5/src/cfg-lex.c:1450: undefined
| reference to `yywrap'
| collect2: ld returned 1 exit status
You need to install the flex rpm.
| I built libol and libol-devel RPMs and they are both installed:
|
| libol-0.3.15-1
| libol-devel-0.3.15-1
Better yet, you can use the following syslog-ng 1.6.6 SRPM:
https://bugzilla.fedora.us/show_bug.cgi?id=1332
The libol RPMs (and SRPM) are already available in the Fedora.US (RH9,
FC1, and FC2) and Fedora.Extras (FC-3) mirrors.
Regards,
jpo
- --
José Pedro Oliveira
* mailto: jpo@di.uminho.pt * http://gsd.di.uminho.pt/~jpo *
* gpg fingerprint = F9B6 8D87 859D 1C94 48F0 84C0 9749 9EB5 91BD 851B *
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFCMJ5Al0metZG9hRsRAv4lAKDoSl4cn2UvzqhXIoZhvfVjeRs1zQCcD2jl
eVFGdB5nPClPiTmaf4sv54U=
=9E+Y
-----END PGP SIGNATURE-----