[syslog-ng] syslog-ng 1.1.12 problem

s spy@exploits.to
Fri, 07 May 1999 20:08:59 +0200


Hello there,

i have got RH52 with 2.2.3-5 kernel and i always had problems with compiling
syslog. Can someone gimme a tip what to fix, so
i can compile it please?

regards,

Osman Taskin


root@shell [/home/spy/syslog-ng-1.1.12]# make
Making all in src
make[1]: Entering directory `/home/spy/syslog-ng-1.1.12/src'
gcc -DHAVE_CONFIG_H -I. -I/home/spy/syslog-ng-1.1.12/src -I.     -O2 -Wall
-I/usr/local/include/libol -c main.c
gcc -DHAVE_CONFIG_H -I. -I/home/spy/syslog-ng-1.1.12/src -I.     -O2 -Wall
-I/usr/local/include/libol -c sources.c
gcc -DHAVE_CONFIG_H -I. -I/home/spy/syslog-ng-1.1.12/src -I.     -O2 -Wall
-I/usr/local/include/libol -c center.c
gcc -DHAVE_CONFIG_H -I. -I/home/spy/syslog-ng-1.1.12/src -I.     -O2 -Wall
-I/usr/local/include/libol -c filters.c
gcc -DHAVE_CONFIG_H -I. -I/home/spy/syslog-ng-1.1.12/src -I.     -O2 -Wall
-I/usr/local/include/libol -c destinations.c
gcc -DHAVE_CONFIG_H -I. -I/home/spy/syslog-ng-1.1.12/src -I.     -O2 -Wall
-I/usr/local/include/libol -c log.c
gcc -DHAVE_CONFIG_H -I. -I/home/spy/syslog-ng-1.1.12/src -I.     -O2 -Wall
-I/usr/local/include/libol -c cfgfile.c
gcc -DHAVE_CONFIG_H -I. -I/home/spy/syslog-ng-1.1.12/src -I.     -O2 -Wall
-I/usr/local/include/libol -c cfg-grammar.c
gcc -DHAVE_CONFIG_H -I. -I/home/spy/syslog-ng-1.1.12/src -I.     -O2 -Wall
-I/usr/local/include/libol -c cfg-lex.c
lex.yy.c: In function `yylex':
lex.yy.c:592: warning: `yy_current_state' might be used uninitialized in this
function
lex.yy.c:593: warning: `yy_cp' might be used uninitialized in this function
lex.yy.c:593: warning: `yy_bp' might be used uninitialized in this function
lex.yy.c: At top level:
lex.yy.c:1610: warning: `yy_flex_realloc' defined but not used
lex.yy.c:1097: warning: `yyunput' defined but not used
gcc -DHAVE_CONFIG_H -I. -I/home/spy/syslog-ng-1.1.12/src -I.     -O2 -Wall
-I/usr/local/include/libol -c affile.c
gcc -DHAVE_CONFIG_H -I. -I/home/spy/syslog-ng-1.1.12/src -I.     -O2 -Wall
-I/usr/local/include/libol -c afsocket.c
gcc -DHAVE_CONFIG_H -I. -I/home/spy/syslog-ng-1.1.12/src -I.     -O2 -Wall
-I/usr/local/include/libol -c afinter.c
gcc -DHAVE_CONFIG_H -I. -I/home/spy/syslog-ng-1.1.12/src -I.     -O2 -Wall
-I/usr/local/include/libol -c utils.c
gcc -DHAVE_CONFIG_H -I. -I/home/spy/syslog-ng-1.1.12/src -I.     -O2 -Wall
-I/usr/local/include/libol -c syslog-names.c
gcc  -O2 -Wall -I/usr/local/include/libol  -o syslog-ng  main.o sources.o center.o
filters.o destinations.o log.o cfgfile.o cfg-grammar.o cfg-lex.o affile.o
afsocket.o afinter.o utils.o syslog-names.o  -lfl -L/usr/local/lib -lol -lnsl
cfgfile.o: In function `make_syslog_conf':
cfgfile.o(.text+0x2f3): undefined reference to `yydebug'
collect2: ld returned 1 exit status
make[1]: *** [syslog-ng] Error 1
make[1]: Leaving directory `/home/spy/syslog-ng-1.1.12/src'
make: *** [all-recursive] Error 1
root@shell [/home/spy/syslog-ng-1.1.12]# ls