bug-libtool
[Top][All Lists]
Advanced

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

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


From: Dominik Reichardt
Subject: libtool-2.2.6a compiling on MinGW/MSYS fails (for me)
Date: Wed, 18 Feb 2009 03:28:05 +0100

Hello,
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?

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
libtool: link: rm -fr  libltdl/.libs/libltdl.dll.a libltdl/.libs/libltdl.lax
libtool: link: (cd libltdl/.libs/libltdl.lax/loadlibrary.a && ar x 
"/d/cvs/test/libltdl/.libs/loadlibrary.a")
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'
collect2: ld returned 1 exit status
make[2]: *** [libltdl/libltdl.la] Error 1
-------------------------------------------------


complete ./configure

configure: loading site script /mingw/etc/config.site
## ------------------------- ##
## Configuring libtool 2.2.6 ##
## ------------------------- ##

checking for a BSD-compatible install... /mingw/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /mingw/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether subdir libobjs are useable... yes
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for a sed that does not truncate output... /mingw/bin/sed
checking for grep that handles long lines and -e... /mingw/bin/grep
checking for egrep... /mingw/bin/grep -E
checking for fgrep... /mingw/bin/grep -F
checking for ld used by gcc... c:/mingw/mingw32/bin/ld.exe
checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... /mingw/bin/nm
checking the name lister (/mingw/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for c:/mingw/mingw32/bin/ld.exe option to reload object files... 
(cache                                                                          
   d) -r
checking for objdump... objdump
checking how to recognize dependent libraries... (cached) file_magic file 
format                                                                          
    pei*-i386(.*architecture: i386)?
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /mingw/bin/nm output from gcc object... (cached) 
faile                                                                           
  d
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for as... as
checking for dlltool... dlltool
checking for objdump... (cached) objdump
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (c:/mingw/mingw32/bin/ld.exe) supports shared 
li                                                                             
braries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking which extension is used for runtime loadable modules... .dll
checking which variable specifies run-time module search path... PATH
checking for the default library search path... /lib /usr/lib
checking for library containing dlopen... no
checking for dlopen in -lsvld... no
checking for shl_load... no
checking for shl_load in -ldld... no
checking whether cygwin_conv_path is declared... no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... unknown
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... no
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... c:/mingw/mingw32/bin/ld.exe
checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes
checking whether the g++ linker (c:/mingw/mingw32/bin/ld.exe) supports shared 
li                                                                             
braries... yes
checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (c:/mingw/mingw32/bin/ld.exe) supports shared 
li                                                                             
braries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -DDLL_EXPORT
checking if g77 PIC flag -DDLL_EXPORT works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking if g77 supports -c -o file.o... (cached) yes
checking whether the g77 linker (c:/mingw/mingw32/bin/ld.exe) supports shared 
li                                                                             
braries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for g77... g77
checking whether we are using the GNU Fortran compiler... yes
checking whether g77 accepts -g... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -DDLL_EXPORT
checking if g77 PIC flag -DDLL_EXPORT works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking if g77 supports -c -o file.o... (cached) yes
checking whether the g77 linker (c:/mingw/mingw32/bin/ld.exe) supports shared 
li                                                                             
braries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for gcj... gcj
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... 
checking if gcj static flag -static works... no
checking if gcj supports -c -o file.o... yes
checking if gcj supports -c -o file.o... (cached) yes
checking whether the gcj linker (c:/mingw/mingw32/bin/ld.exe) supports shared 
li                                                                             
braries... yes
checking how to hardcode library paths into programs... immediate
checking for windres... windres
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/sh /d/cvs/libtool/libltdl/config/install-sh -d . libltdl/
cp /d/cvs/libtool/libltdl/argz_.h libltdl/argz.h-t
mv libltdl/argz.h-t libltdl/argz.h


Thanks and take care
Dominik





reply via email to

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