Re: linking libraries by gcc

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

 



Hi Kevin,

> The functions (that gcc said undefined reference to) are defined in lib2.a.
> They are called by lib1.a.

Hmmm.  Then the linker should be able to find them.  Very strange.

Can you do a nm on lib1.a and lib2.a to verify that the missing symbols are
'U' in lib1.a and 'T' in lib2.a.

Thanks,
--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