libtool
[Top][All Lists]
Advanced

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

Static linking with 1.4d


From: Samuel Meder
Subject: Static linking with 1.4d
Date: Fri, 15 Mar 2002 08:54:54 -0600
User-agent: Mutt/1.3.25i

Hi 

I've run into problem when trying to link programs with -all-static
when using libtool 1.4d. The two platforms that have caused me grief
so far are AIX 4.3.3 and IRIX 6.5.

AIX 4.3 libtool 1.4d:

/bin/sh ../libtool --mode=link /bin/cc -DMONOLITH -g -qfullpath -D_ALL_SOURCE   
 -O -DAIX -DB_ENDIAN -qmaxmem=16384 -qfullpath  
-L/home2/smartin/meder/globus/lib  -o openssl -all-static  
-L/home2/smartin/meder/globus/lib  openssl.o verify.o asn1pars.o req.o dgst.o 
dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o 
rsa.o rsautl.o dsa.o dsaparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o 
speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o 
ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o 
../ssl/libssl_vendorcc32dbg.la ../crypto/libcrypto_vendorcc32dbg.la  
mkdir .libs
/bin/cc -DMONOLITH -g -qfullpath -D_ALL_SOURCE -O -DAIX -DB_ENDIAN 
-qmaxmem=16384 -qfullpath -o openssl -bnso -bI:/lib/syscalls.exp openssl.o 
verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o 
ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o x509.o genrsa.o 
gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o 
app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o 
smime.o rand.o  -L/home2/smartin/meder/globus/lib 
../ssl/.libs/libssl_vendorcc32dbg.a 
/home2/smartin/meder/BUILD/globus_openssl-0.1/crypto/.libs/libcrypto_vendorcc32dbg.a
 ../crypto/.libs/libcrypto_vendorcc32dbg.a
/bin/cc: 1501-228 input file /lib/syscalls.exp not found
ld: 0706-003 Cannot find or read import file: /lib/syscalls.exp
        ld:accessx(): No such file or directory
gmake[1]: *** [openssl] Error 255

AIX 4.3 libtool 1.3.5

        /bin/sh /sandbox/meder/globus/sbin/libtool-vendorcc32dbg --mode=link 
/usr/bin/cc  -g -n32   -Wl,-woff,84 -n32 -L/disks/sandbox/meder/globus/lib  -o 
globus-libc-hostname -all-static  -L/disks/sandbox/meder/globus/lib  
globus_libc_hostname.o ../library/libglobus_common_vendorcc32dbg.la     
libtool-vendorcc32dbg: link: warning: complete static linking is impossible in 
this configuration
/usr/bin/cc -g -n32 -Wl,-woff,84 -n32 -L/disks/sandbox/meder/globus/lib -o 
globus-libc-hostname -L/disks/sandbox/meder/globus/lib globus_libc_hostname.o 
../library/.libs/libglobus_common_vendorcc32dbg.a

IRIX 6.5 libtool 1.4d

/bin/sh ../libtool --mode=link /usr/bin/cc -DMONOLITH -g -n32    -mips4 -O2 
-use_readonly_const -DTERMIOS -DB_ENDIAN  -Wl,-woff,84 -n32 
-L/disks/sandbox/meder/globus/lib  -o openssl -all-static  
-L/disks/sandbox/meder/globus/lib  openssl.o verify.o asn1pars.o req.o dgst.o 
dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o 
rsa.o rsautl.o dsa.o dsaparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o 
speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o 
ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o 
../ssl/libssl_vendorcc32dbg.la ../crypto/libcrypto_vendorcc32dbg.la  
mkdir .libs
/usr/bin/cc -DMONOLITH -g -n32 -mips4 -O2 -use_readonly_const -DTERMIOS 
-DB_ENDIAN -Wl,-woff -Wl,84 -n32 -o openssl -non_shared openssl.o verify.o 
asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o 
pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o x509.o genrsa.o gendsa.o 
s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o 
version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o  
-L/disks/sandbox/meder/globus/lib ../ssl/.libs/libssl_vendorcc32dbg.a 
/disks/sandbox/meder/BUILD/globus_openssl-0.1/crypto/.libs/libcrypto_vendorcc32dbg.a
 ../crypto/.libs/libcrypto_vendorcc32dbg.a
ld32: FATAL   9  : I/O error (/usr/lib32/nonshared/crt1.o): No such file or 
directory
gmake[1]: *** [openssl] Error 2

IRIX 6.5 libtool 1.3.5

Same as for AIX with libtool 1.3.5

For now I'll revert to 1.3.5 when linking programs (libraries are
fine). Is this a problem on the libtool side or is this considered a
problem on my side (ie incorrect setup of OS/compiler)?

/Sam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]