Home | Gallery | Forum | Services | Webmail | Archive | Links | Contact Us | About Us
OS2 World.Com Forum
OS2 World.Com Online Discussion Forum.
Index / OS/2 - General / Programming
author message
How to work with libtool?
Post a new topic Reply to this Topic Printable Version of this Topic Forward this Topic to your Friend Topic Commands (for administrator or moderators only)
SiTLar
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 2
since: 22 Jul, 2005
1. How to work with libtool?
Reply to this topic with quote Modify your message
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'

Date: 22 Jul, 2005 on 14:18
fbakan
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this memberhttp://home.tiscalinet.de/fbakan
posts: 6
since: 31 Aug, 2004
2. Re:How to work with libtool?
Reply to this topic with quote Modify your message
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

Date: 22 Jul, 2005 on 16:27
SiTLar
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 2
since: 22 Jul, 2005
3. Re:How to work with libtool?
Reply to this topic with quote Modify your message
Thanks. It went a little batter with you libtool, but the project switched to Boost Build System, and now I'm stacked with jam...
Date: 25 Jul, 2005 on 18:33
Smedles
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this memberhttp://smedley.info/os2ports.html
posts: 114
since: 12 Jul, 2003
4. Re:How to work with libtool?
Reply to this topic with quote Modify your message

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.

Date: 26 Jul, 2005 on 04:50
How to work with libtool?
Post a new topic Reply to this Topic Printable Version of this Topic Forward this Topic to your Friend Topic Commands (for administrator or moderators only)
All times are CET+1. < Prev. | P. 1 | Next >
Go to:
 

Powered by UltraBoard 2000 Standard Edition,
Copyright © UltraScripts.com, Inc. 1999-2000.
Home | Gallery | Forums | Services | Webmail | Archive | Links | Contact Us | About Us
© OS2 World.Com 2000-2004