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 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.0You don't have libnet installed which is required for spoof-source
> -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
support.
--Bazsi
_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html