[syslog-ng]Compiling problem on Sun/Solaris
Ari.Kuukka@man.ac.uk
Ari.Kuukka@man.ac.uk
Wed, 29 Aug 2001 15:30:33 +0100
That helped, many thanks!
--
Ari Kuukka
-----Original Message-----
From: Sander de Boer [mailto:boeraa@yahoo.com]
Sent: Wednesday, August 29, 2001 11:53 AM
To: syslog-ng@lists.balabit.hu
Subject: Re: [syslog-ng]Compiling problem on Sun/Solaris
I had the same problem on Solaris 8/x86. As far as I
can remember I had to add libl.so to the Makefile
where the libraries were specified, i.e. "-ll"
Sander
--- Ari.Kuukka@man.ac.uk wrote:
>
> 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
>
> _______________________________________________
> syslog-ng maillist - syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
>
>
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng