* Albert Chin
| On Mon, Jan 20, 2003 at 05:39:50PM +0100, Erik Assum wrote:
| > * Albert Chin
| > | On Mon, Jan 20, 2003 at 03:27:25PM +0100, Erik Assum wrote:
| > | > 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?
| > | 
| > | This isn't a libtool problem. Tell the omniorb people.
| > 
| > How is this, since it worked with an earlier version of libtool?
| 
| So the *only* difference is the version of libtool? If so, do you have
| both? If you do, then recompile and mail a diff of the last libtool
| compile command (and the lines that follow it).

I'm not sure that this is the *only* difference, but I hope it is.
I don't have the older copy of libtool, but I know it was downloaded
on 2002-12-13, if there is a tagged version from around that time, I'd
be happy to download it again.

Here is some output from an earlier compile, that is, with the libtool
version from 2002-12-13 (allthough done on another machine):

/bin/bash ../../../libtool --mode=link /opt/SUNWspro/bin/CC  -mt -mt   -o
libtango.la -rpath /users/taurel/tmp/erik/16-12/install_dir_sol/lib
-version-info 2:2:2 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/segfs/tango/ORB/omniORB4.0.0/solaris7_CC/lib -lomniORB4 -lomniDynamic4
-lpthread -lposix4 -lomnithread -lnsl -lsocket
-L/segfs/tango/ORB/omniORB4.0.0/solaris7_CC/lib  -lpthread -lposix4
-lomnithread -lpthread -lposix4
/opt/SUNWspro/bin/CC -G -nolib -hlibtango.so.0 -o .libs/libtango.so.0.2.2
.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/segfs/tango/ORB/omniORB4.0.0/solaris7_CC/lib
-lomniORB4 -lomniDynamic4 -lnsl -lsocket -lomnithread -lpthread -lposix4 -lc

And here is the new one:

/bin/bash ../../../libtool --mode=link /opt/SUNWspro/bin/CC  -mt -mt    -o libta
ngo.la -rpath /usr/local/lib -version-info 3:3:1 version.lo tangoSK.lo tangoDynS
K.lo device.lo  device_2.lo command.lo dserversignal.lo thsig.lo  basiccommand.l
o utils.lo dserverclass.lo dserver.lo  class_factory.lo blackbox.lo classattribu
te.lo  multiattribute.lo attribute.lo attrdesc.lo except.lo  attrmanip.lo seqvec
.lo pollring.lo pollobj.lo pollcmds.lo  dserverpoll.lo pollthread.lo ../client/l
ibclient.la -lpthread -lposix4 -L/home/users/e/es/esql/omniorb/lib -lomniORB4 -l
omniDynamic4  -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   .lib
s/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/ut
ils.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/pollob
j.o .libs/pollcmds.o .libs/dserverpoll.o .libs/pollthread.o -Qoption ld -z -Qopt
ion ld allextract ../client/.libs/libclient.a -Qoption ld -z -Qoption ld default
extract  -L/home/users/e/es/esql/omniorb/lib -lomniORB4 -lomniDynamic4 -lnsl -ls
ocket -lomnithread -lpthread -lposix4 -lc

I can't see much difference here. As mentioned in another thread, the
library I'm trying to build is split into a client-part (which is
compiled as a convenience library) and a server-part which is where
the linking with the convenience library in client is done. The whole
project is written in c++.

Thanks for your help.

Erik.
-- 
This message is not cryptographically signed. Please disregard the content.
ESMTP Sendmail 8.8.5/8.8.7/1.7;



_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to