[syslog-ng] Syslog-ng 2.0.3 make error

Justin Randall jrandall at comwave.net
Mon Apr 30 16:02:59 CEST 2007


Hello,

I am also experiencing this compile error when building Syslog-NG-2.0.3
on a CentOS (Linux) 4.4 host.

Regards,

Justin.

-----Original Message-----
From: Ravi Papisetti -X (rpapiset - HCL at Cisco)
[mailto:rpapiset at cisco.com] 
Sent: Wednesday, April 25, 2007 3:34 PM
To: Syslog-ng users' and developers' mailing list
Subject: [syslog-ng] Syslog-ng 2.0.3 make error

 
Hi,

I see below error when I run make && make install

make  all-recursive
make[1]: Entering directory `/usr/local/syslog-ng/syslog-ng-2.0.3'
Making all in src
make[2]: Entering directory `/usr/local/syslog-ng/syslog-ng-2.0.3/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/usr/local/include/eventlog
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -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/work/syslog-ng-2.0/syslog-ng/src/cfg-grammar.y:15:
afinet.h:30:20: libnet.h: No such file or directory
In file included from
/home/bazsi/zwa/work/syslog-ng-2.0/syslog-ng/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/work/syslog-ng-2.0/syslog-ng/src/cfg-grammar.y: In
function `yyparse':
/home/bazsi/zwa/work/syslog-ng-2.0/syslog-ng/src/cfg-grammar.y:592:
error: syntax error before ')' token
/home/bazsi/zwa/work/syslog-ng-2.0/syslog-ng/src/cfg-grammar.y:626:
error: syntax error before ')' token
make[2]: *** [cfg-grammar.o] Error 1
make[2]: Leaving directory `/usr/local/syslog-ng/syslog-ng-2.0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/syslog-ng/syslog-ng-2.0.3'
make: *** [all] Error 2


Some one could tell me the reason.

Thanks,
Ravi Kumar P.
_______________________________________________
syslog-ng maillist  -  syslog-ng at lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html






More information about the syslog-ng mailing list