[syslog-ng] Make Error messages

Stuart Boyle stuart.boyle at cybertrust.com
Mon Feb 27 22:08:50 CET 2006


Im getting the following errors when I run make, ./configure runs fine,
no errors.

I have bison and flex installed.

cyblops2a:/usr/local/syslog-ng-1.9.8 # make
make  all-recursive
make[1]: Entering directory `/usr/local/syslog-ng-1.9.8'
Making all in src
make[2]: Entering directory `/usr/local/syslog-ng-1.9.8/src'
gcc  -g -O2 -Wall -g   -o syslog-ng  main.o libsyslog-ng.a -lnsl
-Wl,-Bstatic -lfl -L/usr/local/lib -lglib-2.0   -L/usr/local/lib
-levtlog   -Wl,-Bdynamic
libsyslog-ng.a(cfg.o)(.text+0x5d6): In function `cfg_new':
/usr/local/syslog-ng-1.9.8/src/cfg.c:247: undefined reference to
`lex_init'
libsyslog-ng.a(cfg-grammar.o)(.text+0x17): In function `yyerror':
/home/bazsi/zwa/work/syslog-ng-2.0/syslog-ng/src/cfg-grammar.y:829:
undefined reference to `linenum'
libsyslog-ng.a(cfg-grammar.o)(.text+0x18ea): In function `yyparse':
/home/bazsi/zwa/work/syslog-ng-2.0/syslog-ng/src/cfg-grammar.c:1689:
undefined reference to `yylex'
collect2: ld returned 1 exit status
make[2]: *** [syslog-ng] Error 1
make[2]: Leaving directory `/usr/local/syslog-ng-1.9.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/syslog-ng-1.9.8'
make: *** [all] Error 2

Can anyone advise on a fix.


Stuart
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20060227/103311b7/attachment.html


More information about the syslog-ng mailing list