[ http://thread.gmane.org/gmane.comp.gnu.libtool.general/10586 ]
Hello Alon, * Alon Bar-Lev wrote on Mon, Mar 22, 2010 at 08:00:19PM CET: > It is find if you don't want to solve this, but please acknowledge > that you don't. > So far I did not get any response regarding this issue. I'm really sorry I dropped the ball on this for so long. > >> /bin/sh ./libtool --tag=CC --mode=link i686-w64-mingw32-gcc > >> -prefer-pic -g -O2 -rpath /usr/local/lib -static -o liba.la > >> liba_la-a.lo > >> libtool: link: warning: undefined symbols not allowed in > >> i686-w64-mingw32 shared libraries > >> libtool: link: i686-w64-mingw32-ar cru .libs/liba.a liba_la-a.o > >> libtool: link: i686-w64-mingw32-ranlib .libs/liba.a > >> libtool: link: ( cd ".libs" && rm -f "liba.la" && ln -s "../liba.la" > >> "liba.la" ) > >> /bin/sh ./libtool --tag=CC --mode=link i686-w64-mingw32-gcc -g -O2 > >> -module -shared -avoid-version -no-undefined -export-symbols > >> ./libb.exports -o libb.la -rpath /usr/local/lib b.lo liba.la > >> > >> *** Warning: This system can not link to static lib archive liba.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. > >> *** But as you try to build a module library, libtool will still create > >> *** a static module, that should work as long as the dlopening application > >> *** is linked with the -dlopen flag to resolve symbols at runtime. > >> libtool: link: i686-w64-mingw32-ar cru .libs/libb.a .libs/b.o > >> libtool: link: i686-w64-mingw32-ranlib .libs/libb.a > >> libtool: link: ( cd ".libs" && rm -f "libb.la" && ln -s "../libb.la" > >> "libb.la" ) > >> make[1]: Leaving directory `/home/alonbl/tmp/xx/libtool' I can reproduce this issue with your example tarball, thanks. At a glance it looks like a libtool bug to me, but I'm not sure what would be the right thing to do (without setting deplib check to pass_all for mingw). Thanks, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool