libtool
[Top][All Lists]
Advanced

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

Linking with libtool & mingw


From: Robert Schwebel
Subject: Linking with libtool & mingw
Date: Thu, 25 Oct 2007 19:55:25 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hi,

We are currently trying to cross compile wireshark to mingw with the
standard automake cross procedure. Quite some uggly hacks later, we are
now able to compile everything, but the final linker stage goes wrong.

The final linker call outputs things like this one:

----------8<----------
Info: resolving _deflate_copyright by linking to __imp__deflate_copyright 
(auto-import)
Info: resolving __dist_code by linking to __imp___dist_code (auto-import)
Info: resolving __length_code by linking to __imp___length_code (auto-import)
Info: resolving _z_errmsg by linking to __imp__z_errmsg (auto-import)
...
----------8<----------

for a bunch of symbols, then dies with tons of these messages:

----------8<----------
...
Info: resolving _libintl_version by linking to __imp__libintl_version 
(auto-import)
Info: resolving __libiconv_version by linking to 
__imp___libic.libs/wireshark.exeS.o:
etronix-Wireshark-trunk-Win/build-target/wireshark-0.99.6/.libs/wireshark.exeS.c:(.data+0x9a4c):
 undefined reference to `_g_module_name
'
.libs/wireshark.exeS.o:/some/path/wireshark-0.99.6/.lib
s/wireshark.exeS.c:(.data+0x9a5c): undefined reference to `_g_module_open'
.libs/wireshark.exeS.o:/some/path/wireshark-0.99.6/.lib
s/wireshark.exeS.c:(.data+0x9c4c): undefined reference to 
`__g_async_queue_get_mutex'
.libs/wireshark.exeS.o:/some/path/wireshark-0.99.6/.lib
...
collect2: ld returned 1 exit status
make[3]: *** [wireshark.exe] Error 1
----------8<----------

Does anybody have an idea what went wrong?

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9





reply via email to

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