[syslog-ng]Solaris 8 + syslog-ng-1.5.18

Balazs Scheidler bazsi@balabit.hu
Thu, 18 Jul 2002 15:08:04 +0200


On Thu, Jul 18, 2002 at 04:43:24PM +0700, Sangbutsarakum, Patai wrote:
> Dear friends,
>  
> Anyone success to compile syslog-ng-1.5.18 on Solaris 8.
> I've try to search from mailing list, 
> I've add stdio.h to cfg-grammar.c already (otherwise, error in make
> time)
> But after I passed that error. I still faced with the below error.
> Please suggest me to deal with the below error messages.
>  
> Thanks in advance
> Pat.
>  
> [..snipped..]
>  
> D_GNU_SOURCE -c getopt.c
> gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/syslog-ng-1.5.18/src -I.     -g
> -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c getopt1.c
> gcc  -g -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 afremctrl.o  nscache.o utils.o
> syslog-names.o getopt.o getopt1.o -lpthread -ldoor  -ll
> /usr/local/lib/libol.a -lsocket -lnsl -lxnet
> Undefined                       first referenced
>  symbol                             in file
> request_init                        afinet.o
> sock_host                           afinet.o
> hosts_access                        afinet.o
> ld: fatal: Symbol referencing errors. No output written to syslog-ng
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `syslog-ng'
> Current working directory /usr/local/src/syslog-ng-1.5.18/src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /usr/local/src/syslog-ng-1.5.18/src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive-am'
> Current working directory /usr/local/src/syslog-ng-1.5.18/src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive  

you enabled tcp wrapper support, and the configure script didn't detect
-lwrap, you might want to change the generated Makefile, and add -lwrap to
LDFLAGS

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1