[syslog-ng] make fails with syslog-ng 2.0.6 --enable-source-spoof
David Rice
david.l.rice at gmail.com
Tue Jan 8 22:40:00 CET 2008
Well after some struggles I have it working. I had libnet-1.1.2.1 installed,
I removed it and installed libnet-1.0.2a. Both were installed in the same
directory /usr/include but everything compiled fine.
On Jan 8, 2008 12:58 AM, Balazs Scheidler <bazsi at balabit.hu> wrote:
>
> 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
>
> _______________________________________________
> syslog-ng maillist - syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20080108/8b7672af/attachment.htm
More information about the syslog-ng
mailing list