libgcc.a on HPUX
Kees.Vonk@uktransco.com
Kees.Vonk@uktransco.com
Fri Mar 16 03:03:00 GMT 2001
I am currently trying to install a perl module (Crypt::SSLeay), which
gets compiled with gcc because perl is compiled with gcc. This gives
me the following problem, which, I have been told, are caused because
libgcc.a is a static library and the make command tries to build a
shared library (if you couldn't already tell, I am not an experienced
C programmer). Is there a way of building a shared libgcc ?
All this is on a HP-UX 10.20 platform.
----------------------------------------------------------------------
> perl Makefile.PL
Found OpenSSL (version OpenSSL 0.9.6) installed at
/var/iefadmn/gnu/usr
Which OpenSSL build path do you want to link against?
[/var/iefadmn/gnu/usr]
================================================
BUILD INFORMATION
================================================
ssl dir: /var/iefadmn/gnu/usr
libraries: -lssl -lcrypto -lgcc -lRSAglue -lrsaref
include dir: /var/iefadmn/gnu/usr/include
ssl header: openssl/ssl.h
ssl candidate: /var/iefadmn/gnu/usr;
/var/iefadmn/gnu/usr/include/openssl; OpenSSL 0.9.6
================================================
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgcc
Note (probably harmless): No library found for -lRSAglue
Note (probably harmless): No library found for -lrsaref
Writing Makefile for Crypt::SSLeay
> make
.... (no problems) ....
> make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/opt/perl5/lib/5.00503/PA-RISC2.0 -I/opt/perl5/lib/5.00503 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/ssl_context......./usr/lib/dld.sl: Unresolved symbol: __umoddi3
(code) from blib/arch/auto/Crypt/SSLeay/SSLeay.sl
/usr/lib/dld.sl: Unresolved symbol: __muldi3 (code) from
blib/arch/auto/Crypt/SSLeay/SSLeay.sl
/usr/lib/dld.sl: Unresolved symbol: __udivdi3 (code) from
blib/arch/auto/Crypt/SSLeay/SSLeay.sl
/usr/lib/dld.sl: Unresolved symbol: __eprintf (code) from
blib/arch/auto/Crypt/SSLeay/SSLeay.sl
Can't load 'blib/arch/auto/Crypt/SSLeay/SSLeay.sl' for module
Crypt::SSLeay: Unresolved external at
/opt/perl5/lib/5.00503/PA-RISC2.0/DynaLoader.pm line 169.
at blib/lib/Crypt/SSLeay/CTX.pm line 2
BEGIN failed--compilation aborted at t/ssl_context.t line 3.
dubious
Test returned status 215 (wstat 55040, 0xd700)
FAILED--1 test script could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2
----------------------------------------------------------------------
Thank you for your help,
Kees Vonk
PS. I am sorry about the long disclaimer, I have got no control about
anything below this line.
______________________________________________________________________
The views expressed in this email are not necessarily the views of
Transco plc, and the company, its directors, officers or employees
make no representation or accept any liability for its accuracy or
completeness unless expressly stated to the contrary.
This e-mail, and any attachments are strictly confidential and
intended for the addressee(s) only. The content may also contain
legal, professional or other privileged information. If you are not
the intended recipient, could you please notify the sender
immediately and then delete the e-mail and any attachments, you
should not disclose, copy or take any action in reliance of this
transmission. Unless expressly stated to the contrary, no contracts
may be concluded on behalf of Transco plc by means of e-mail
communication.
You may report the matter by calling us on +44 (0)1455 230999.
You should not copy, forward or otherwise disclose the contents of
this e-mail or any of its attachments without express consent.
Please ensure you have adequate virus protection before you open or
detach any documents from this transmission. Transco plc does not
accept any liability for viruses.
Transco plc is part of Lattice Group
Transco plc is registered in England: Company number: 2006000
Registered Office: 130 Jermyn Street, London, SW1Y 4UR
http://www.transco.uk.com
More information about the Gcc-help
mailing list