* Frederic Goudal wrote on Fri, Jan 19, 2007 at 09:56:01AM CET: > * Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > >* [EMAIL PROTECTED] wrote on Thu, Jan 18, 2007 at 11:45:51AM CET: > > > >> When building a dynamic library out of archives (.a) files the -z > >> allextract > >> -z defaultextract flags are given to gcc. > >> The dynamic library build with theese argument is empty (no code is added). > >> Giving only the -z allextract build the correct library with all the code > >> inside. > > > >Probably a Libtool bug, as Paul already noted. Please report to the > >bug-libtool mailing list with the following information: > >./libtool --config > > Ok. I don't really understand how autoconf and libtool are working togather. > Effectivelly the ./libtool --config gives a line with :
Look, Frederic. We may be able to explain what's going wrong, or whether you will need to upgrade Libtool, and if you need to, how to achieve this. But before I can do that, I need to know more information. And I need *exactly* the information that I asked for, at least; possibly more, but I will ask for that later then. Also I ask you not to try to upgrade the Libtool files in your package *just yet*, because then your bug will be a moving target for me. I cannot help you if all you tell me is your guesswork. Here's a good text to read: <http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>. So please do exactly as I asked. Post the complete output, and please post to the bug-libtool list; this topic is not the right one for the bug-autoconf list. This is so that both I will be able to find this discussion again two years from now, and that other users that have the same problem but know that it's about Libtool, will be able to search for it efficiently. Here's what I asked last time, again: >>Please report to the bug-libtool mailing list with the following >>information: >> ./libtool --config >> >>Please also post the libtool link command that caused this output: >> >>> gcc -shared -Wl,-h -Wl,libjasper.so.1 -o .libs/libjasper.so.1.0.0 >>> .libs/dummy.o -z allextract base/.libs/libbase.a bmp/.libs/libbmp.a >>> jp2/.libs/libjp2.a jpc/.libs/libjpc.a jpg/.libs/libjpg.a mif/.libs/libmif.a >>> pgx/.libs/libpgx.a pnm/.libs/libpnm.a ras/.libs/libras.a -lm -ljpeg -lc If you do not understand the above, don't hesitate to ask. Hope that helps. Cheers, Ralf