All, I am trying to build another program on Cygwin which includes using ltdl from libtool and I get this error when trying to compile ltdl:
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -version-info 10:0:3 -dlpreopen dlopen.la -dlpreopen loadlibrary.la -o libltdl.la -rpath /cygdrive/c/Users/inacio/code_dev/cert/testArea1/lib libltdl_la-preopen.lo libltdl_la-lt__alloc.lo libltdl_la-lt_dlloader.lo libltdl_la-lt_error.lo libltdl_la-ltdl.lo libltdl_la-slist.lo libtool: link: rm -f .libs/libltdl.nm .libs/libltdl.nmS .libs/libltdl.nmT +2The system cannot find the file specified. libtool: link: (cd .libs && gcc -g -O2 -c -fno-builtin -DDLL_EXPORT -DPIC "libltdlS.c") libltdlS.c:37: error: 'dlopen_LTX_get_vtable' undeclared here (not in a function) libltdlS.c:39: error: 'loadlibrary_LTX_get_vtable' undeclared here (not in a function) It appears that the dlopen_LTX_get_vtable is defined in dlopen, but a (super quick) viewing of Makefile.am says that dlopen is a preloaded library into ltdl, and not built in. I could move it into ltdl, but I'm not sure what implications that might have. Any thoughts or ideas about a proper fix would be appreciated. Regards, Chris Diagnostic information: libtool version information: [inacio@WIN-3PO5IG7CG4M ...cert/yaf-2.0.1]$ libtool --version libtool (GNU libtool) 2.4 Written by Gordon Matzigkeit <g...@gnu.ai.mit.edu>, 1996 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Here is the output of cygcheck -s, which includes the OS (Windows 7 Enterprise), Cygwin version, and the version of the packages installed. Hopefully, it can't possibly matter, but it is all running inside VMWare on my Mac. Cygwin Configuration Diagnostics Current System Time: Thu Jun 09 11:04:19 2011 Windows 7 Enterprise Ver 6.1 Build 7601 Service Pack 1 Running under WOW64 on AMD64 Path: C:\Windows\system32 C:\Windows C:\Windows\System32\Wbem C:\Windows\System32\WindowsPowerShell\v1.0 C:\cygwin\bin Output from C:\cygwin\bin\id.exe UID: 1000(inacio) GID: 513(None) 513(None) 545(Users) SysDir: C:\Windows\system32 WinDir: C:\Windows HOME = '/home/inacio' PWD = '/cygdrive/c/Users/inacio/code_dev/cert/yaf-2.0.1' USER = 'inacio' Use '-r' to scan registry obcaseinsensitive set to 1 Cygwin installations found in the registry: System: Key: c5e39b7a9d22bafb Path: C:\cygwin a: fd N/A N/A c: hd NTFS 40957Mb 40% CP CS UN PA FC d: cd N/A N/A C:\cygwin / system binary,auto C:\cygwin\bin /usr/bin system binary,auto C:\cygwin\lib /usr/lib system binary,auto cygdrive prefix /cygdrive user binary,auto Found: C:\cygwin\bin\awk -> C:\cygwin\bin\gawk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Found: C:\cygwin\bin\cpp.exe -> C:\cygwin\etc\alternatives\cpp -> C:\cygwin\bin\cpp-4.exe Not Found: crontab Found: C:\Windows\system32\find.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe -> C:\cygwin\etc\alternatives\gcc -> C:\cygwin\bin\gcc-4.exe Not Found: gdb Found: C:\cygwin\bin\grep.exe Found: C:\cygwin\bin\kill.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\mv.exe Not Found: patch Found: C:\cygwin\bin\perl.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Not Found: ssh Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe Found: C:\cygwin\bin\test.exe Found: C:\cygwin\bin\vi -> C:\cygwin\bin\vim-nox.exe Found: C:\cygwin\bin\vim -> C:\cygwin\etc\alternatives\vim -> C:\cygwin\bin\vim-nox.exe 15k 2009/12/27 C:\cygwin\bin\cygattr-1.dll 62k 2011/05/21 C:\cygwin\bin\cygbz2-1.dll 8k 2011/01/28 C:\cygwin\bin\cygcharset-1.dll 108k 2010/01/05 C:\cygwin\bin\cygcloog-0.dll 7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll 1147k 2011/03/16 C:\cygwin\bin\cygcrypto-0.9.8.dll 943k 2007/12/17 C:\cygwin\bin\cygdb-4.5.dll 208k 2010/05/16 C:\cygwin\bin\cygdbus-1-3.dll 1296k 2007/12/17 C:\cygwin\bin\cygdb_cxx-4.5.dll 118k 2008/05/09 C:\cygwin\bin\cygexpat-1.dll 29k 2010/05/12 C:\cygwin\bin\cygfam-0.dll 22k 2011/03/22 C:\cygwin\bin\cygffi-4.dll 43k 2010/01/02 C:\cygwin\bin\cygform-10.dll 40k 2009/03/01 C:\cygwin\bin\cygform-8.dll 47k 2010/01/02 C:\cygwin\bin\cygformw-10.dll 44k 2011/03/22 C:\cygwin\bin\cyggcc_s-1.dll 19k 2009/02/26 C:\cygwin\bin\cyggdbm-4.dll 8k 2009/02/26 C:\cygwin\bin\cyggdbm_compat-4.dll 552k 2010/06/15 C:\cygwin\bin\cyggio-2.0-0.dll 764k 2010/06/15 C:\cygwin\bin\cygglib-2.0-0.dll 14k 2010/06/15 C:\cygwin\bin\cyggmodule-2.0-0.dll 315k 2009/06/06 C:\cygwin\bin\cyggmp-3.dll 14k 2009/06/06 C:\cygwin\bin\cyggmpxx-4.dll 233k 2010/06/15 C:\cygwin\bin\cyggobject-2.0-0.dll 25k 2011/03/22 C:\cygwin\bin\cyggomp-1.dll 17k 2010/06/15 C:\cygwin\bin\cyggthread-2.0-0.dll 25k 2011/01/26 C:\cygwin\bin\cyghistory7.dll 358k 2011/04/29 C:\cygwin\bin\cygicons-0.dll 980k 2011/01/28 C:\cygwin\bin\cygiconv-2.dll 193k 2010/05/16 C:\cygwin\bin\cygidn-11.dll 31k 2009/04/03 C:\cygwin\bin\cygintl-8.dll 5k 2011/03/29 C:\cygwin\bin\cyglsa.dll 9k 2011/03/29 C:\cygwin\bin\cyglsa64.dll 30k 2010/09/23 C:\cygwin\bin\cygltdl-7.dll 123k 2011/05/19 C:\cygwin\bin\cyglzma-5.dll 103k 2011/02/03 C:\cygwin\bin\cygmagic-1.dll 25k 2010/01/02 C:\cygwin\bin\cygmenu-10.dll 21k 2009/03/01 C:\cygwin\bin\cygmenu-8.dll 25k 2010/01/02 C:\cygwin\bin\cygmenuw-10.dll 211k 2009/06/06 C:\cygwin\bin\cygmp-3.dll 64k 2009/11/09 C:\cygwin\bin\cygmpc-1.dll 269k 2009/06/07 C:\cygwin\bin\cygmpfr-1.dll 63k 2010/01/02 C:\cygwin\bin\cygncurses++-10.dll 66k 2009/03/01 C:\cygwin\bin\cygncurses++-8.dll 63k 2010/01/02 C:\cygwin\bin\cygncurses++w-10.dll 195k 2010/01/02 C:\cygwin\bin\cygncurses-10.dll 237k 2009/03/01 C:\cygwin\bin\cygncurses-8.dll 244k 2010/01/02 C:\cygwin\bin\cygncursesw-10.dll 13k 2010/01/02 C:\cygwin\bin\cygpanel-10.dll 11k 2009/03/01 C:\cygwin\bin\cygpanel-8.dll 13k 2010/01/02 C:\cygwin\bin\cygpanelw-10.dll 224k 2010/06/15 C:\cygwin\bin\cygpcre-0.dll 10k 2010/06/15 C:\cygwin\bin\cygpcreposix-0.dll 1627k 2010/08/29 C:\cygwin\bin\cygperl5_10.dll 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll 695k 2009/04/18 C:\cygwin\bin\cygppl-7.dll 2481k 2009/04/18 C:\cygwin\bin\cygppl_c-2.dll 18k 2009/04/18 C:\cygwin\bin\cygpwl-4.dll 164k 2011/01/26 C:\cygwin\bin\cygreadline7.dll 8k 2011/05/05 C:\cygwin\bin\cygsigsegv-2.dll 1613k 2010/12/01 C:\cygwin\bin\cygsqlite3-0.dll 263k 2011/03/16 C:\cygwin\bin\cygssl-0.9.8.dll 8k 2011/03/22 C:\cygwin\bin\cygssp-0.dll 771k 2011/03/22 C:\cygwin\bin\cygstdc++-6.dll 48k 2010/01/02 C:\cygwin\bin\cygtic-10.dll 48k 2010/01/02 C:\cygwin\bin\cygticw-10.dll 76k 2010/08/01 C:\cygwin\bin\cygz.dll 2604k 2011/03/29 C:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.7.9 DLL epoch: 19 DLL old termios: 5 DLL malloc env: 28 Cygwin conv: 181 API major: 0 API minor: 237 Shared data: 5 DLL identifier: cygwin1 Mount registry: 3 Cygwin registry name: Cygwin Program options name: Program Options Installations name: Installations Cygdrive default prefix: Build date: Shared id: cygwin1S5 Can't find the cygrunsrv utility, skipping services check. Cygwin Package Information Package Version Status _update-info-dir 00963-1 OK alternatives 1.3.30c-10 OK autoconf 10-1 OK autoconf2.1 2.13-10 OK autoconf2.5 2.68-1 OK automake 4-10 OK automake1.10 1.10.3-1 OK automake1.11 1.11.1-1 OK automake1.4 1.4p6-10 OK automake1.5 1.5-10 OK automake1.6 1.6.3-11 OK automake1.7 1.7.9-10 OK automake1.8 1.8.5-10 OK automake1.9 1.9.6-10 OK base-cygwin 3.0-1 OK base-files 4.0-6 OK bash 4.1.10-4 OK binutils 2.20.51-2 OK bzip2 1.0.6-2 OK cmake 2.8.4-1 OK coreutils 8.10-1 OK crypt 1.1-1 OK cygutils 1.4.6-1 OK cygwin 1.7.9-1 OK cygwin-doc 1.7-1 OK dash 0.5.6.1-2 OK diffutils 2.9-1 OK dmalloc 5.4.2-2 OK dos2unix 5.3-1 OK doxygen 1.6.1-2 OK editrights 1.01-2 OK emacs 23.3-2 OK file 5.05-1 OK findutils 4.5.9-2 OK gamin 0.1.10-11 OK gawk 3.1.8-1 OK gcc4 4.3.4-4 OK gcc4-core 4.3.4-4 OK gcc4-g++ 4.3.4-4 OK gettext 0.17-11 OK grep 2.6.3-1 OK groff 1.20.1-2 OK gzip 1.4-1 OK ipc-utils 1.0-1 OK joe 3.7-1 OK less 436-1 OK libattr1 2.4.43-1 OK libbz2_1 1.0.6-2 OK libcharset1 1.13.1-2 OK libcloog0 0.15.7-1 OK libdb4.5 4.5.20.2-2 OK libdbus1_3 1.2.24-1 OK libexpat1 2.0.1-1 OK libfam0 0.1.10-11 OK libffi4 4.3.4-4 OK libgcc1 4.3.4-4 OK libgdbm4 1.8.3-20 OK libglib2.0-devel 2.24.1-1 OK libglib2.0_0 2.24.1-1 OK libgmp3 4.3.1-3 OK libgmpxx4 4.3.1-3 OK libgomp1 4.3.4-4 OK libiconv 1.13.1-2 OK libiconv2 1.13.1-2 OK libidn11 1.18-1 OK libintl8 0.17-11 OK libltdl7 2.4-1 OK liblzma5 5.0.2_20110517-1 OK libmpc1 0.8-1 OK libmpfr1 2.4.1-4 OK libncurses10 5.7-18 OK libncurses8 5.5-10 OK libncursesw10 5.7-18 OK libopenssl098 0.9.8r-2 OK libpcre-devel 8.02-1 OK libpcre0 8.02-1 OK libpopt0 1.6.4-4 OK libppl 0.10.2-1 OK libreadline7 6.1.2-2 OK libsigsegv2 2.10-1 OK libsqlite3_0 3.7.3-1 OK libssp0 4.3.4-4 OK libstdc++6 4.3.4-4 OK libstdc++6-devel 4.3.4-4 OK libtool 2.4-1 OK login 1.10-10 OK m4 1.4.16-1 OK make 3.81-2 OK man 1.6f-1 OK openssl 0.9.8r-2 OK openssl-devel 0.9.8r-2 OK perl 5.10.1-5 OK pkg-config 0.23b-10 OK python 2.6.5-2 OK rebase 3.0.1-1 OK run 1.1.13-1 OK sed 4.2.1-1 OK tar 1.25-1 OK tcsh 6.17.00.1-1 OK terminfo 5.7_20091114-14 OK terminfo0 5.5_20061104-12 OK texinfo 4.13-3 OK tzcode 2010j-1 OK vim 7.3.003-1 OK w32api 3.17-2 OK wget 1.12-1 OK which 2.20-2 OK xemacs-emacs-common 21.4.22-1 OK xz 5.0.2_20110517-1 OK zlib 1.2.5-1 OK zlib-devel 1.2.5-1 OK zlib0 1.2.5-1 OK
_______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool