Re: Dummy problem when linking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Daniel,

I believe the order in the command line is important.  The symbols are
"unresolved" because when the linker sees the symbol, nothing requires it so
it doesn't include it, then LATER a file needs the symbol... but it's not a
two-pass link, and the symbol isn't seen again.  Thus, unresolved.

Order is important.

Put the unresolved items BEFORE, and the thing that supplies the unresolved
items AFTER.

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux