Problem compiling syslog-ng 1.6.8 on HP-UX
I Tried to compile syslog-ng 1.6.8 on HP-UX 11.11 and 11.23 but a lot of warning appeared: ./configure --enable-full-dynamic make gcc -g -O -Wall -I/usr/local/include/libol -D_GNU_SOURCE -fPIC -ldl - 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 afunix.o afinet.o afinter.o afus er.o afstreams.o afprogram.o afremctrl.o nscache.o utils.o syslog-names.o mac ros.o getopt.o getopt1.o -lnsl -ll /usr/local/lib/hpux32/libol.a -lnsl -lxnet ld: (Warning) Unsatisfied symbol "yylenguc" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyinput" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyunput" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyolsp" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyoutput" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yytextuc" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyextra" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyfnd" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyprevious" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yylsp" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yylstate" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yytextarr" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyback" in file /usr/lib/hpux32/libl.so 13 warnings. What can I do in order to resolve those warnings? ___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Demandez à ceux qui savent sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com
On Wed, 11 Oct 2006, olivier "madmax"rolland wrote:
I Tried to compile syslog-ng 1.6.8 on HP-UX 11.11 and 11.23 but a lot of warning appeared: ./configure --enable-full-dynamic make
gcc -g -O -Wall -I/usr/local/include/libol -D_GNU_SOURCE -fPIC -ldl
...you could try removing -Wall and manually re-run this cmd in the right build dir and see if it works as-is. Why don't you post your full config.log somewhere for us? ~BAS --- 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 afunix.o afinet.o afinter.o afus er.o afstreams.o afprogram.o afremctrl.o nscache.o utils.o syslog-names.o mac ros.o getopt.o getopt1.o -lnsl -ll /usr/local/lib/hpux32/libol.a -lnsl -lxnet ld: (Warning) Unsatisfied symbol "yylenguc" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyinput" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyunput" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyolsp" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyoutput" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yytextuc" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyextra" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyfnd" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyprevious" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yylsp" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yylstate" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yytextarr" in file /usr/lib/hpux32/libl.so ld: (Warning) Unsatisfied symbol "yyback" in file /usr/lib/hpux32/libl.so 13 warnings. What can I do in order to resolve those warnings? ___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Demandez à ceux qui savent sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "...from back in the heady days when "helpdesk" meant nothing, "diskquota" meant everything, and lives could be bought and sold for a couple of pages of laser printout - and frequently were."
On Tue, 2006-10-24 at 19:03 -0400, Brian A. Seklecki wrote:
On Wed, 11 Oct 2006, olivier "madmax"rolland wrote:
I Tried to compile syslog-ng 1.6.8 on HP-UX 11.11 and 11.23 but a lot of warning appeared: ./configure --enable-full-dynamic make
gcc -g -O -Wall -I/usr/local/include/libol -D_GNU_SOURCE -fPIC -ldl
...you could try removing -Wall and manually re-run this cmd in the right build dir and see if it works as-is.
Why don't you post your full config.log somewhere for us?
removing -Wall will only inhibit compiler errors, whereas these warnings are linker warnings, more specifically they are errors, dunno why these get reported as warnings. The root of the problem is probably that my version of cfg-lex.c is used (which is supplied in the distribution tarball), which is generated by flex and not simple lex, and then later the lex shared object used used to link syslog-ng. You can probably either: - remove cfg-lex.c, regenerate it using the system lexer - or install flex (and libfl.so along with it) and make sure syslog-ng is linked against that library (check your configure logs) I think most of the people here use syslog-ng with flex (including me), so using the system lex on your system might be a bit risky. -- Bazsi
participants (3)
-
Balazs Scheidler
-
Brian A. Seklecki
-
olivier "madmax"rolland