Hi, I have googled and I still cant find an answer to this, wondering if anyone here knows. I am trying to build a syslog-ng RPM on Red Hat AS3, however, I get the following error: 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 make[3]: *** [syslog-ng] Error 1 make[3]: Leaving directory `/usr/src/redhat/BUILD/syslog-ng-1.6.5/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/syslog-ng-1.6.5/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/redhat/BUILD/syslog-ng-1.6.5/src' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.65939 (%build) I built libol and libol-devel RPMs and they are both installed: libol-0.3.15-1 libol-devel-0.3.15-1 Any ideas? -- Phillip Cockrell [pcockrel@rackspace.com] RTS System Administrator Rackspace Managed HostingĀ Office: (210) 447-4161 Cell: (210) 618-6229 Pager: page.pcockrel@rackspace.com