[collectd] Unable to compile on HP-UX Itanium

Dagobert Michelsen dam at opencsw.org
Tue Feb 4 15:58:10 CET 2020


Hi Volker,

Am 04.02.2020 um 15:52 schrieb Volker Voßkämper <vvo at cenote.de>:
> then I tried with c99
> 
> ./configure --with-libgcrypt=no --disable-all-plugins CC=c99
> CPPFLAGS="-D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
> -D_LITTLE_ENDIAN=1234 -D_BIG_ENDIAN=4321 -D_BYTE_ORDER=4321
> -D__ENDIAN_DEFINED=1" LDFLAGS="-lpthread"
> 
> $ make
> (...)
>  CC       src/utils/lookup/vl_lookup.lo
>  CCLD     liblookup.la
>  CC       src/utils/mount/mount.lo
> "src/utils/mount/mount.c", line 524: warning #2011-D: unrecognized
>          preprocessing directive
>  #warn "This version of `getmntent' hat not yet been implemented!"
>   ^
> 
>  CCLD     libmount.la
>        echo timestamp > classnoinst.stamp
>        if test ! -d buildperl; then \
>          mkdir -p buildperl/Collectd/Plugins; \
>          cp ./bindings/perl/lib/Collectd.pm buildperl/; \
>          cp ./bindings/perl/Makefile.PL buildperl/; \
>          cp ./bindings/perl/lib/Collectd/Unixsock.pm buildperl/Collectd/; \
>          cp ./bindings/perl/lib/Collectd/Plugins/OpenVZ.pm
> buildperl/Collectd/Plugins/; \
>        fi
>        touch .perl-directory-stamp
> cd buildperl && /usr/bin/perl Makefile.PL PREFIX=NONE
> WARNING: TEST_REQUIRES is not a known parameter.
> 'TEST_REQUIRES' is not a known MakeMaker parameter name.
> Writing Makefile for Collectd
>        cd buildperl && make
> Makefile out-of-date with respect to Makefile.PL
> Cleaning current config before rebuilding Makefile...
>         make -f Makefile.old clean > /dev/null 2>&1
>        /usr/bin/perl Makefile.PL "PREFIX=NONE"
> WARNING: TEST_REQUIRES is not a known parameter.
> 'TEST_REQUIRES' is not a known MakeMaker parameter name.

Perl MakeMaker is too old, I suggest to disable the Perl module.

> after rerunning make I got a binary but it is complaining about
> missing hpux32 libs
> 
> $ ./collectd --help
> /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 'yytextarr' 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 'yyextra' in load
> module '/usr/lib/hpux32/libl.so.1'.
> 
> I am on IA64 ?!?

Check if the HP lex command was used to generate the grammar file:
  https://community.hpe.com/t5/Languages-and-Scripting/problem-linking-with-libl-so-Unsatisfied-symbol-quot-yylenguc/td-p/3945030#.XjmFvC1oR24


Best regards

  — Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896




More information about the collectd mailing list