To prevent this situation, I usually double-link, that is put the list of libraries twice:
i.e. -lliba -llibb -lliba -llibb On 11/9/06, Jan Ciger <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 GMD GammerMaxyandex.ru wrote: > /usr/local/lib/libProducer.a \ > /usr/local/lib/libosgProducer.a \ Reverse the order of the two libs on the command line. GCC will not link in libProducer.a unless it is required by something that occurred on the command line before it. In your case libosgProducer.a appears after and thus some functions will be unresolved. This is rarely an issue with dynamic libraries where it resolved at runtime. Jan - -- Jan Ciger GPG public key: http://www.keyserver.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org iD8DBQFFUyfJn11XseNj94gRApd2AJ0fxtDy/QdAZjMVpUda/2+p9jdw8QCeLeV7 Oufv/YpbrHKqbay9ZvgFUUQ= =JW+H -----END PGP SIGNATURE----- _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
