[syslog-ng]Compiling problem on Sun/Solaris
Ari.Kuukka@man.ac.uk
Ari.Kuukka@man.ac.uk
Wed, 29 Aug 2001 10:30:18 +0100
Hello,
I am having problems compiling syslog-ng on Solaris. I have tried to compile several different
versions of syslog-ng (1.4.12, 1.4.13 and 1.5.9) on both Solaris 7 and Solaris 8, using gcc version
2.95.2. However, every time I get the same error message below while running 'make':
.
.
.
gcc -DHAVE_CONFIG_H -I. -I/tmp/aek/syslog-ng-1.4.13/src -I. -O2 -Wall -I/usr/local/include/libol
-D_GNU_SOURCE -c getopt.c
gcc -DHAVE_CONFIG_H -I. -I/tmp/aek/syslog-ng-1.4.13/src -I. -O2 -Wall -I/usr/local/include/libol
-D_GNU_SOURCE -c getopt1.c
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
make[3]: *** [syslog-ng] Error 1
make[3]: Leaving directory `/tmp/aek/syslog-ng-1.4.13/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/aek/syslog-ng-1.4.13/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/aek/syslog-ng-1.4.13/src'
make: *** [all-recursive] Error 1
Many thanks for any suggestions about what is going wrong.
--
Ari Kuukka
University of Manchester
Department of Imaging Science and Biomedical Engineering
Telephone: (+44) 0161 275 5405
E-mail: ari.kuukka@man.ac.uk