From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9884 invoked by alias); 15 May 2008 09:48:56 -0000 Received: (qmail 9873 invoked by uid 22791); 15 May 2008 09:48:55 -0000 X-Spam-Check-By: sourceware.org Received: from wilbur.contactoffice.net (HELO wilbur.contactoffice.net) (212.3.242.68) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 15 May 2008 09:48:30 +0000 Received: from dumbo (dumbo.co-bxl [10.0.0.2]) by wilbur.contactoffice.net (Postfix) with ESMTP id 511A3123823 for ; Thu, 15 May 2008 11:48:27 +0200 (CEST) Date: Thu, 15 May 2008 10:15:00 -0000 From: Anthony Kent Reply-To: Anthony Kent To: gcc-help@gcc.gnu.org Message-ID: <31250623.125121210844907386.JavaMail.root@dumbo> Subject: Unresolved symbol problem MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Origin-IP: 194.9.188.21 X-Mailer: ContactOffice Mail X-ContactOffice-Account: fr:4189325 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-05/txt/msg00149.txt.bz2 I hope someone can shed some light on a problem I am having trying to insta= ll 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 particu= lar 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 D= BD-SQLite-1.14. perl Makefile.PL=20 hp/gnu/make-3.81/bin/make Both run without reported errors, but when I go on to run hp/gnu/make-3.81/bin/make test I am getting the following issues: PERL_DL_NONLAZY=3D1 /opt/product/ticm/build_tools/hp/perl/gcc/5.10.0/bin/pe= rl "-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/tic= m/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/tic= m/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/tic= m/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/a= uto/DBD/SQLite/SQLite.sl' for module DBD::SQLite: Unresolved external at /n= et/hn4k022/opt/product/ticm/build_tools/hp/perl/gcc/5.10.0/lib/5.10.0/PA-RI= SC2.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=92ve tried manually linking SQLite.sl and libgcc.a, = but it makes no difference to the results. I=92m 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