[Top][All Lists]

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

Re: libtool-2.2.6a compiling on MinGW/MSYS fails (for me)

From: Ralf Wildenhues
Subject: Re: libtool-2.2.6a compiling on MinGW/MSYS fails (for me)
Date: Wed, 18 Feb 2009 07:25:23 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Dominik,

* Dominik Reichardt wrote on Wed, Feb 18, 2009 at 03:28:05AM CET:
> I'm trying to get my MinGW/MSYS environment ready and am failing on
> compiling libtool. It seems to fail with linking libltdl.
> Can anyone here help me with this or should I take this problem to the
> MinGW/MSYS mailing list?

Thanks for the report.  Here's the right place to go.

> below are the relevant information for this (I hope)
> -----------------------------------------------
> make from where the error starts:
> /bin/sh ./libtool --tag=CC   --mode=link gcc  -pipe -O2 -mms-bitfields 
> -march=i686 -no-undefined -version-info 9:0:2 -dlpreopen 
> libltdl/loadlibrary.la   -o libltdl/libltdl.la -rpath /mingw/lib 
> libltdl/loaders/libltdl_libltdl_la-preopen.lo 
> libltdl/libltdl_libltdl_la-lt__alloc.lo 
> libltdl/libltdl_libltdl_la-lt_dlloader.lo 
> libltdl/libltdl_libltdl_la-lt_error.lo libltdl/libltdl_libltdl_la-ltdl.lo 
> libltdl/libltdl_libltdl_la-slist.lo libltdl/argz.lo libltdl/lt__strl.lo
> libtool: link: not configured to extract global symbols from dlpreopened files

This warning is very suspicious.  It causes the build failure.
Question is what caused the warning ...

> libtool: link: gcc -shared  
> libltdl/loaders/.libs/libltdl_libltdl_la-preopen.o 
> libltdl/.libs/libltdl_libltdl_la-lt__alloc.o 
> libltdl/.libs/libltdl_libltdl_la-lt_dlloader.o 
> libltdl/.libs/libltdl_libltdl_la-lt_error.o 
> libltdl/.libs/libltdl_libltdl_la-ltdl.o 
> libltdl/.libs/libltdl_libltdl_la-slist.o libltdl/.libs/argz.o 
> libltdl/.libs/lt__strl.o   
> libltdl/.libs/libltdl.lax/loadlibrary.a/loadlibrary.o    -mms-bitfields 
> -march=i686   -o libltdl/.libs/libltdl-7.dll -Wl,--enable-auto-image-base 
> -Xlinker --out-implib -Xlinker libltdl/.libs/libltdl.dll.a
> Creating library file: libltdl/.libs/libltdl.dll.a
> libltdl/.libs/libltdl_libltdl_la-ltdl.o:ltdl.c:(.text+0xfb): undefined 
> reference to `lt_libltdl_LTX_preloaded_symbols'

> complete ./configure
> configure: loading site script /mingw/etc/config.site

Can you please post the contents of /mingw/etc/config.site
and the output of
  ./libtool --config

You might also want to retry building without a cache or site file in
sight (rm config.cache; CONFIG_SITE=/dev/null ./configure) and see
whether that changes the failure.


reply via email to

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