OS2 World.Com Forum

Subject  :  How to work with libtool?
Author  :  SiTLar
Date  :  22 Jul, 2005 on 14:18
I'm trying to compile an application originaly developed under unix/linux. I managed to compile the the sources successufly, but I cannt gether the objects by libtool into a dll.

Here is make's output:

Making all in ed2k
make[1]: Entering directory `I:/devel/hydranode-14-04-05/modules/ed2k'
/bin/sh ../../libtool --tag=CXX --mode=link g++ -W -Wall -Wno-return-type -Wno-long-long -Wpointer-arith -pedantic -DNDEBUG -lz -Zdll -Zmt -Zmtd -o libed2k.la -rpath /usr/local/lib clientext.lo clientlist.lo clients.lo creditsdb.lo cryptopp.lo downloadlist.lo ed2k.lo ed2kfile.lo ed2ksearch.lo packets.lo server.lo serverlist.lo tag.lo zutils.lo -lpthread -ldl

*** Warning: This system can not link to static lib archive /usr/lib//libstdc++.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
creating reloadable object files...
creating a temporary reloadable object file: .libs/libed2k.la-14.o
/usr/bin/ld -r -o .libs/libed2k.la-1.o .libs/clientext.o
make[1]: Leaving directory `I:/devel/hydranode-14-04-05/modules/ed2k'


Subject  :  Re:How to work with libtool?
Author  :  fbakan
Date  :  22 Jul, 2005 on 16:27
You might try an old version of libtool that I use for building sane.

http://www.fbakan.de/sane/libtool.zip

you have to adjust the -l... statements for your project on the line starting with

archive_cmds=

and probably some other entries as well.

Franz


Subject  :  Re:How to work with libtool?
Author  :  SiTLar
Date  :  25 Jul, 2005 on 18:33
Thanks. It went a little batter with you libtool, but the project switched to Boost Build System, and now I'm stacked with jam...

Subject  :  Re:How to work with libtool?
Author  :  Smedles
Date  :  26 Jul, 2005 on 04:50

fbakan (22 Jul, 2005 16:27):
You might try an old version of libtool that I use for building sane.

http://www.fbakan.de/sane/libtool.zip

you have to adjust the -l... statements for your project on the line starting with

archive_cmds=

and probably some other entries as well.

Franz


Hi Franz - really would be nice to fix one that problem with Sane & libtool one of these days.... maybe once USB support is complete

Cheers,

Paul.


Powered by UltraBoard 2000 <www.ub2k.com>