libtool
[Top][All Lists]
Advanced

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

Problems in cvs-version of libtool.


From: Erik Assum
Subject: Problems in cvs-version of libtool.
Date: 20 Jan 2003 15:27:25 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Hi,

Trying to solve my problem with compiling C++ on Solaris, I downloaded
and installed a newer of libtool version:

/usr/bin/libtool --version
ltmain.sh (GNU libtool) 1.4e (1.1178 2003/01/15 02:55:33)

When compiling with:

./configure --with-omni=$HOME/omniorb --without-zlib --disable-static

and (from the generated libtool, these two being hardcoded in my configure.in)

# The linker used to build libraries.
LD="/opt/SUNWspro/bin/CC -pta -G"

# The archiver.
AR="/opt/SUNWspro/bin/CC -xar"
AR_FLAGS="-o"


The linker fails with tons of messages like these:

/bin/bash ../../../libtool --mode=link /opt/SUNWspro/bin/CC  -mt -mt   -o 
libtango.la -rpath /usr/local/lib -version-info 3:3:1 version.lo tangoSK.lo 
tangoDynSK.lo device.lo device_2.lo command.lo dserversignal.lo thsig.lo 
basiccommand.lo utils.lo dserverclass.lo dserver.lo class_factory.lo 
blackbox.lo classattribute.lo multiattribute.lo attribute.lo attrdesc.lo 
except.lo attrmanip.lo seqvec.lo pollring.lo pollobj.lo pollcmds.lo 
dserverpoll.lo pollthread.lo ../client/libclient.la  -lpthread -lposix4 
-L/home/users/e/es/esql/omniorb/lib -lomniORB4 -lomniDynamic4  -lpthread 
-lposix4 -lomnithread -lnsl -lsocket -L/home/users/e/es/esql/omniorb/lib  
-lpthread -lposix4 -lomnithread -lpthread -lposix4
/opt/SUNWspro/bin/CC -G -nolib -hlibtango.so.2 -o .libs/libtango.so.2.1.3   
.libs/version.o .libs/tangoSK.o .libs/tangoDynSK.o .libs/device.o 
.libs/device_2.o .libs/command.o .libs/dserversignal.o .libs/thsig.o 
.libs/basiccommand.o .libs/utils.o .libs/dserverclass.o .libs/dserver.o 
.libs/class_factory.o .libs/blackbox.o .libs/classattribute.o 
.libs/multiattribute.o .libs/attribute.o .libs/attrdesc.o .libs/except.o 
.libs/attrmanip.o .libs/seqvec.o .libs/pollring.o .libs/pollobj.o 
.libs/pollcmds.o .libs/dserverpoll.o .libs/pollthread.o -Qoption ld -z -Qoption 
ld allextract ../client/.libs/libclient.a -Qoption ld -z -Qoption ld 
defaultextract  -L/home/users/e/es/esql/omniorb/lib -lomniORB4 -lomniDynamic4 
-lnsl -lsocket -lomnithread -lpthread -lposix4 -lc
ld: fatal: symbol `bool Tango::operator==(const Tango::BlackBoxElt&,const 
Tango::BlackBoxElt&)' is multiply-defined:
        (file .libs/tangoSK.o and file .libs/tangoDynSK.o);
ld: fatal: symbol `bool Tango::operator<(const Tango::BlackBoxElt&,const 
Tango::BlackBoxElt&)' is multiply-defined:
        (file .libs/tangoSK.o and file .libs/tangoDynSK.o);

Anyone familiar with this?

Erik.
-- 
Actually it was supposed to be a work in progress, but then work got
in the way of progress, so there's been no progress and it doesn't work





reply via email to

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