Hi ALL<br><br>I need some advises regarding syslog-ng 2.0.4 compilation with such option as --enable-spoof-source.<br>The reason I need this option is that I would like syslog-ng to behave as source address spoofing.<br>LIBNET prepared is
libnet-1.1.2.1.<br><br>I configured it in this manner.<br><br>bash-2.05# ./configure --enable-dynamic-linking --with-libnet=/usr/local/src/libnet --enable-spoof-source<br><br>I compiled it in this manner.<br><br>bash-2.05#
make<br>make all-recursive<br>Making all in src<br>source='cfg-grammar.c' object='cfg-grammar.o' libtool=no \<br>depfile='.deps/cfg-grammar.Po' tmpdepfile='.deps/cfg-grammar.TPo' \<br>depmode=gcc /bin/bash ../depcomp \
<br>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 -DLIBNET_BIG_ENDIAN -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -g -c `test -f '
cfg-grammar.c' || echo './'`cfg-grammar.c<br>In file included from /home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y:15:<br>afinet.h:30: libnet.h: No such file or directory<br>*** Error code 1
<br>make: Fatal error: Command failed for target `cfg-grammar.o'<br>Current working directory /usr/local/src/syslog-ng-2.0.4/src<br>*** Error code 1<br>make: Fatal error: Command failed for target `all-recursive'<br>
Current working directory /usr/local/src/syslog-ng-2.0.4<br>*** Error code 1<br>make: Fatal error: Command failed for target `all'<br>bash-2.05# <br><br>Is libnet right version to compile syslog-ng with option of --enable-spoof-source ?
<br>Is my preparation enough to successfully compile syslog-ng 2.0.4 ?<br>Any other libraries or tools needed to do so ?<br><br>Regards<br><br>Jabberwock<br><br>