Unresolved symbol problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I hope someone can shed some light on a problem I am having trying to install some modules into perl 5.10.0 compiled with gcc 3.4.6 on HPUX11.11.

>From everything I have read exhaustively, it appears that HPUX has particular problems in this area and I have certainly been experiencing plenty of them. Having finally got gcc installed and using it to compile perl 5.10.0 I have been busy loading dozens of modules. All went well until I came to DBD-SQLite-1.14.

perl Makefile.PL 
<path>hp/gnu/make-3.81/bin/make

Both run without reported errors, but when I go on to run

<path>hp/gnu/make-3.81/bin/make test

I am getting the following issues:

PERL_DL_NONLAZY=1 /opt/product/ticm/build_tools/hp/perl/gcc/5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00basic.............../usr/lib/dld.sl: Unresolved symbol: __udivdi3 (code)  from /opt/product/ticm/tonydev/CPAN_libs/DBD-SQLite-1.14/blib/arch/auto/DBD/SQLite/SQLite.sl
/usr/lib/dld.sl: Unresolved symbol: __ashldi3 (code)  from /opt/product/ticm/tonydev/CPAN_libs/DBD-SQLite-1.14/blib/arch/auto/DBD/SQLite/SQLite.sl
/usr/lib/dld.sl: Unresolved symbol: __fixunsdfdi (code)  from /opt/product/ticm/tonydev/CPAN_libs/DBD-SQLite-1.14/blib/arch/auto/DBD/SQLite/SQLite.sl
/usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code)  from /opt/product/ticm/tonydev/CPAN_libs/DBD-SQLite-1.14/blib/arch/auto/DBD/SQLite/SQLite.sl
/usr/lib/dld.sl: Unresolved symbol: __moddi3 (code)  from /opt/product/ticm/tonydev/CPAN_libs/DBD-SQLite-1.14/blib/arch/auto/DBD/SQLite/SQLite.sl
/usr/lib/dld.sl: Unresolved symbol: __ashrdi3 (code)  from /opt/product/ticm/tonydev/CPAN_libs/DBD-SQLite-1.14/blib/arch/auto/DBD/SQLite/SQLite.sl
Can't load '/opt/product/ticm/tonydev/CPAN_libs/DBD-SQLite-1.14/blib/arch/auto/DBD/SQLite/SQLite.sl' for module DBD::SQLite: Unresolved external at /net/hn4k022/opt/product/ticm/build_tools/hp/perl/gcc/5.10.0/lib/5.10.0/PA-RISC2.0/DynaLoader.pm line 203.

 at t/00basic.t line 4
Compilation failed in require at t/00basic.t line 4.
BEGIN failed--compilation aborted at t/00basic.t line 4.
# Failed test 1 in t/00basic.t at line 3
#  t/00basic.t line 3 is: END { ok($loaded) }
t/00basic...............dubious
        Test returned status 215 (wstat 55040, 0xd700)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay

I have ensured that I have compiled gcc myself and used it to compile perl and DBD-SQLite-1.14. I?ve tried manually linking SQLite.sl and libgcc.a, but it makes no difference to the results.

I?m not a developer of any sort, just an admin person, so I have rapidly exhausted my knowledge on the subject of compiling and linking. Can anyone advise me on how to resolve these unresolved symbols?

Tony

-----------------------------------------------------
Le bureau virtuel
http://www.lamessagerie.com



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux