libraryopt

Jon-Erling Dahl jon-erling.dahl at its4mobility.com
Sat Mar 9 02:07:04 EST 2002


<snip>

> How did you link your app and the various libraries involved?  If you
> used ld and did not specify the required libs, then the information
> would not have gotten embedded into the elf information for each
> required object.  If the elf information isn't there (or correct) the
> library optimizer will be unable to correctly discover the link chain.
> (You can use ldd or cross-ldd w/ hardhat linux to identify the required
> libraries as listed in the elf information.)

Thanks a lot. Had missed a -lsomelib in one of my Makefiles.
Works like a charm.

Regards,
Jon-Erling

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list