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. <br><br><div class="gmail_quote">
On Jan 8, 2008 12:58 AM, Balazs Scheidler <<a href="mailto:bazsi@balabit.hu">bazsi@balabit.hu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>On Mon, 2008-01-07 at 10:21 -0700, David Rice wrote:<br>> Here's the complete output of the make, I've also added the -lwrap to<br>> the LDFLAGS<br>><br></div><div class="Ih2E3d">> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/glib-
2.0<br>> -I/usr/local/lib/glib- 2.0/include -I/usr/local/include/eventlog<br>> -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall<br>> -c `test -f 'main.c' || echo './'`main.c
<br>> gcc -g -O2 -Wall -o syslog-ng main.o libsyslog-ng.a -lpthread<br>> -lresolv -lnsl -lrt -lsocket -ldoor -lfl -L/usr/local/lib -lglib-2.0<br>> -liconv -L/usr/local/lib -levtlog -lwrap<br>> Undefined first referenced
<br>> symbol in file<br>> libnet_clear_packet libsyslog-ng.a(afinet.o)<br>> libnet_geterror libsyslog-ng.a(afinet.o)<br>> libnet_toggle_checksum
libsyslog-ng.a(afinet.o)<br>> libnet_build_udp libsyslog-ng.a(afinet.o)<br>> libnet_init libsyslog-ng.a(afinet.o)<br>> libnet_build_ipv4 libsyslog-ng.a
(afinet.o)<br>> libnet_build_ipv6 libsyslog-ng.a(afinet.o)<br>> libnet_write libsyslog-ng.a(afinet.o)<br>> ld: fatal: Symbol referencing errors. No output written to syslog-ng
<br>> collect2: ld returned 1 exit status<br><br></div>You don't have libnet installed which is required for spoof-source<br>support.<br><font color="#888888"><br>--<br></font><div><div></div><div class="Wj3C7c">Bazsi
<br><br>_______________________________________________<br>syslog-ng maillist - <a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a><br><a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">
https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>Frequently asked questions at <a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a><br><br></div></div></blockquote>
</div><br>