[syslog-ng] compiling Spoof address problem

James B Horwath Jim_Horwath at glic.com
Tue Sep 18 22:54:54 CEST 2007


I am trying to compile 2.0.5 syslog-ng without success.  I am interested 
in compiling the code with spoof-source support, however I am running into 
compiler errors reference Bazsi's directory structure.   Even when I try 
to compile without any options I receive the message below.  I am running 
RedHat AS4.

 ./configure --enable-debug --enable-dynamic-linking  --enable-tcp-wrapper 
--enable-spoof-source

if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -I/usr/include/eventlog   -D_BSD_SOURCE 
-D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN 
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -Wall -g -MT 
cfg-grammar.o -MD -MP -MF ".deps/cfg-grammar.Tpo" \
  -c -o cfg-grammar.o `test -f 'cfg-grammar.c' || echo './'`cfg-grammar.c; 
\
then mv -f ".deps/cfg-grammar.Tpo" ".deps/cfg-grammar.Po"; \
else rm -f ".deps/cfg-grammar.Tpo"; exit 1; \
fi
In file included from 
/home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y:15:
afinet.h:61: error: syntax error before "libnet_t"
afinet.h:61: warning: no semicolon at end of struct or union
afinet.h:63: warning: type defaults to `int' in declaration of 
`AFInetDestDriver'
afinet.h:63: warning: data definition has no type or storage class
/home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y: 
In function `yyparse':
/home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y:590: 
error: syntax error before ')' token
/home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y:623: 
error: syntax error before ')' token
make[2]: *** [cfg-grammar.o] Error 1
make[2]: Leaving directory `/devel/jim/syslog-ng-2.0.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/devel/jim/syslog-ng-2.0.5'
make: *** [all] Error 2






-----------------------------------------
This message, and any attachments to it, may contain information
that is privileged, confidential, and exempt from disclosure under
applicable law.  If the reader of this message is not the intended
recipient, you are notified that any use, dissemination,
distribution, copying, or communication of this message is strictly
prohibited.  If you have received this message in error, please
notify the sender immediately by return e-mail and delete the
message and any attachments.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070918/6d88e3cc/attachment.htm 


More information about the syslog-ng mailing list