[syslog-ng]can't compile syslog in HP-UX 11.23

syslog-ng@lists.balabit.hu syslog-ng@lists.balabit.hu
Tue, 19 Apr 2005 16:00:41 +0900


I applied the patch that you submitted, Bazsi
But I got many warnings in 'yy__' things when I did  'make'
and also when I did 'make install', I got the same warnings
(The binary file 'syslog-ng' was created, but I could'nt start syslog-ng
properly)

For your information,
Before I 've posted my problems on mailing-list in the first time
I 've modified the 'configure' file once
(deleted the ' -Wl,-Bstatic' '-Wl,-Bdynamic' ld options in line 7455 just
like below)
=> LIBS="$LIBS $LIBOL_LIBS $LEXLIB $LIBWRAP_LIBS $LIBNET_LIBS "

and once I've used 'enable_full_static' option when running 'configure'

In the above two cases, I got the same problems like applying the patch
submitted

Really thanks for your consideration once more, though I 've got another
problems
And errors(warnings) are belows


----- warning when running 'make' ---------------

/usr/local/bin/gcc  -g -O2 -Wall -I/home/libol-0.3.15/src -D_GNU_SOURCE   -
o test_nscache  test_nscache.o ../nscache.o -lnsl  /home/libol-
0.3.15/src/.libs/libol.a -lnsl -lxnet -ll -lwrap  
ld: (Warning) Unsatisfied symbol "yyleng" in file /usr/lib/hpux32/libl.so
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 "yytext" 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 "yylex" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yylsp" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yyout" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "deny_severity" in file
/usr/lib/hpux32/libwrap.so
ld: (Warning) Unsatisfied symbol "allow_severity" in file
/usr/lib/hpux32/libwrap.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
ld: (Warning) Unsatisfied symbol "rfc931_timeout" in file
/usr/lib/hpux32/libwrap.so
20 warnings.


----------- warning when running 'make install' ---------------

Making install in .
        /usr/local/bin/gcc  -g -O2 -Wall -I/home/libol-0.3.15/src -
D_GNU_SOURCE   -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 afuser.o  afstreams.o afprogram.o
afremctrl.o  nscache.o utils.o syslog-names.o  macros.o getopt.o getopt1.o -
lnsl  /home/libol-0.3.15/src/.libs/libol.a -lnsl -lxnet -ll -lwrap  
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 "deny_severity" in file
/usr/lib/hpux32/libwrap.so
ld: (Warning) Unsatisfied symbol "allow_severity" in file
/usr/lib/hpux32/libwrap.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
ld: (Warning) Unsatisfied symbol "rfc931_timeout" in file
/usr/lib/hpux32/libwrap.so
16 warnings.
        /bin/sh /home/syslog-ng-1.6.7/mkinstalldirs /usr/local/sbin
  .././install-sh -c syslog-ng /usr/local/sbin/syslog-ng
Making install in tests
        /usr/local/bin/gcc  -g -O2 -Wall -I/home/libol-0.3.15/src -
D_GNU_SOURCE   -o test_nscache  test_nscache.o ../nscache.o -lnsl
/home/libol-0.3.15/src/.libs/libol.a -lnsl -lxnet -ll -lwrap  
ld: (Warning) Unsatisfied symbol "yyleng" in file /usr/lib/hpux32/libl.so
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 "yytext" 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 "yylex" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yylsp" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yyout" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "deny_severity" in file
/usr/lib/hpux32/libwrap.so
ld: (Warning) Unsatisfied symbol "allow_severity" in file
/usr/lib/hpux32/libwrap.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
ld: (Warning) Unsatisfied symbol "rfc931_timeout" in file
/usr/lib/hpux32/libwrap.so
20 warnings.


----------- warning when starting 'syslog-ng' ---------------

# /sbin/init.d/syslog-ng start
/usr/lib/hpux32/dld.so: Unsatisfied data symbol 'yylsp' in load module
'/usr/lib/hpux32/libl.so.1'.
/usr/lib/hpux32/dld.so: Unsatisfied data symbol 'yyolsp' in load module
'/usr/lib/hpux32/libl.so.1'.
/usr/lib/hpux32/dld.so: Unsatisfied data symbol 'yyfnd' in load module
'/usr/lib/hpux32/libl.so.1'.
/usr/lib/hpux32/dld.so: Unsatisfied data symbol 'yytextuc' in load module
'/usr/lib/hpux32/libl.so.1'.
/usr/lib/hpux32/dld.so: Unsatisfied data symbol 'yylenguc' in load module
'/usr/lib/hpux32/libl.so.1'.
/usr/lib/hpux32/dld.so: Unsatisfied data symbol 'yylstate' in load module
'/usr/lib/hpux32/libl.so.1'.
/usr/lib/hpux32/dld.so: Unsatisfied data symbol 'yyprevious' in load module
'/usr/lib/hpux32/libl.so.1'.
/usr/lib/hpux32/dld.so: Unsatisfied data symbol 'yytextarr' in load module
'/usr/lib/hpux32/libl.so.1'.
/usr/lib/hpux32/dld.so: Unsatisfied data symbol 'yyextra' in load module
'/usr/lib/hpux32/libl.so.1'.
/sbin/init.d/syslog-ng[89]: 19984 Killed
EXIT CODE: 137

-----Original Message-----
From: syslog-ng-admin@lists.balabit.hu [mailto:syslog-ng-
admin@lists.balabit.hu] On Behalf Of Balazs Scheidler
Sent: Monday, April 18, 2005 6:09 PM
To: syslog-ng@lists.balabit.hu
Subject: Re: Re: [syslog-ng]can't compile syslog in HP-UX 11.23

On Mon, 2005-04-18 at 17:26 +0900, XX XXXX wrote:
> Thank You Bazsi for your consideration :) I'll apply it as soon as 
> possible
> 
> "ld -V" output is as follows
> 
> ld: 92453-07 linker ld HP Itanium(R) B.12.23 PBO 040721 (IPF/IPF)
> ld: No input files
> Fatal error.
> 

Can you check if applying this patch autodetects you ld options correctly?