[syslog-ng]Solaris8-x86: Missing symbol when linking syslog-ng 1.4.11
Sander
sander@sanderscorner.com
Sat, 05 May 2001 19:22:30 +0200
Hi,
I'm trying to compile syslog-ng 1.4.11 on Solaris8-x86 with
gcc-2.95.3 and get the following linker error:
gcc -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 utils.o syslog-names.o getopt.o
getopt1.o -lpthread -ldoor /usr/local/lib/libol.a -lsocket
-lnsl -lxnet
Undefined first referenced
symbol in file
yywrap cfg-lex.o
ld: fatal: Symbol referencing errors. No output written to
syslog-ng
collect2: ld returned 1 exit status
*** Error code 1
Has anyone had this problem before? What library should this
symbol be in?
I've compiled it succesfully before on Solaris8-sparc with
no problems whatsoever.
Thanks in advance,
Sander de Boer