[syslog-ng] make fails with syslog-ng 2.0.6 --enable-source-spoof

Balazs Scheidler bazsi at balabit.hu
Tue Jan 8 08:58:12 CET 2008


On Mon, 2008-01-07 at 10:21 -0700, David Rice wrote:
> Here's the complete output of the make, I've also added the -lwrap to
> the LDFLAGS
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib- 2.0/include   -I/usr/local/include/eventlog
> -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall
> -c `test -f 'main.c' || echo './'`main.c
> gcc  -g -O2 -Wall   -o syslog-ng  main.o libsyslog-ng.a -lpthread
> -lresolv -lnsl -lrt -lsocket -ldoor  -lfl -L/usr/local/lib -lglib-2.0
> -liconv   -L/usr/local/lib -levtlog    -lwrap
> Undefined                       first referenced
>  symbol                             in file 
> libnet_clear_packet                 libsyslog-ng.a(afinet.o)
> libnet_geterror                     libsyslog-ng.a(afinet.o)
> libnet_toggle_checksum              libsyslog-ng.a(afinet.o)
> libnet_build_udp                    libsyslog-ng.a(afinet.o)
> libnet_init                         libsyslog-ng.a(afinet.o)
> libnet_build_ipv4                   libsyslog-ng.a(afinet.o)
> libnet_build_ipv6                   libsyslog-ng.a(afinet.o)
> libnet_write                        libsyslog-ng.a(afinet.o)
> ld: fatal: Symbol referencing errors. No output written to syslog-ng
> collect2: ld returned 1 exit status

You don't have libnet installed which is required for spoof-source
support.

-- 
Bazsi



More information about the syslog-ng mailing list