On Thu, Dec 13, 2001 at 10:24:30PM +0100, Robert Bihlmeyer wrote: > Michael Moerz <aon.912411198@aon.at> writes: > [snip] > > I think the problem is that -lXxf86vm occurs on the commandline > *before* libSDL is linked in. c++ does not yet know that these symbols > are needed later, and therefore they are not included. > > If this hypothesis is correct, reordering the -l switches (or > duplicating some of them) should work. > It's correct, but I am rather puzzled still. To make things even worse the ordering of libraries is actually not mine to choose - it has been partly created by automake. Actually the piece that's causing problems is done by the dependency tracking. static .so libraries seem to have something that helps finding symbols. That mechanism somehow fails for .a librarries. So the question is if this is a real 'bug' in automake/libtool library dependency tracking or not. Actually I am not quite sure, but adding -lXxf86vm to the end of *_LDADD (where it is needed) seems to work for me. At least I have got a fix now ... but still I want to see that problem solved completely since all autoconf/automake/libtool projects utilizing libsdl have to face that problem. Anyway thanks for your answere it helped a lot ;). -- kind regards, Michael Moerz pub 1024D/B651C436 2000-09-17 Michael Moerz <e9625136@stud3.tuwien.ac.at> Key fingerprint = 55DB 2F1A BF45 DBAB F542 4128 2173 8753 B651 C436 http://idc19.itm.tuwien.ac.at/~mike/private/mike.public.gpg.key
Attachment:
pgpExBR7J7VD_.pgp
Description: PGP signature