Transitive Linking fails

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

 



Hi all,

I want to do the following:
dir1/*.o dir2/libx.so -> dir3/liby.so where dir2/libx.so is statically linked (using -static in the linker command).
It seems to work until the liby.so is linked against other code:
dir4/*.o dir3/liby.so -> dir5/app
There, the linker complains that it doesn't know anything about dir2/libx.so, but I want this lib to be statically linked into the liby.so so that no application needs to care about where the object code from libx.so comes from.

What is my fault here? Any ideas?

Best regards,

Erik

[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