Hi frnds, When Iam trying to do a make on syslog-ng,Iam getting the following error.Could you let me know,how do I resolve this problem.Iam in desperate need for this. My configuration is : Redhat Linux : 3.2.2-5 Kernel : 2.4.31 eventlog-0.2.7.tar.gz syslog-ng-2.0.8.tar.gz. gcc version : 3.2.2 When I do "make" in syslog-ng directory....(After ./configure step) Iam getting the following error. "In file included from /home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y:15: afinet.h:61: parse 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:591: parse error before ')' token /home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y:624: parse error before ')' token make[2]: *** [cfg-grammar.o] Error 1 make[2]: Leaving directory `/root/rams/syslog-ng-2.0.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/rams/syslog-ng-2.0.8' make: *** [all] Error 2 [root@ramprasad syslog-ng-2.0.8]#" Please help me. -ramprasad. Rgds, Ramprasad Vempati
On Fri, 2008-02-29 at 05:07 +0000, vempati Ramprasad wrote:
Hi frnds,
When Iam trying to do a make on syslog-ng,Iam getting the following error.Could you let me know,how do I resolve this problem.Iam in desperate need for this.
My configuration is :
Redhat Linux : 3.2.2-5 Kernel : 2.4.31 eventlog-0.2.7.tar.gz syslog-ng-2.0.8.tar.gz. gcc version : 3.2.2
When I do "make" in syslog-ng directory....(After ./configure step) Iam getting the following error.
"In file included from /home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y:15: afinet.h:61: parse 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:591: parse error before ')' token /home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y:624: parse error before ')' token make[2]: *** [cfg-grammar.o] Error 1 make[2]: Leaving directory `/root/rams/syslog-ng-2.0.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/rams/syslog-ng-2.0.8' make: *** [all] Error 2 [root@ramprasad syslog-ng-2.0.8]#"
you either need to disable spoof-source support, or install the libnet libraries. -- Bazsi
participants (2)
-
Balazs Scheidler
-
vempati Ramprasad