On 11/7/07, Renaud Detry <[EMAIL PROTECTED]> wrote: > > On 07 Nov 2007, at 09:59, Salvatore Iovene wrote: > > > On 11/7/07, Brandon Van Every <[EMAIL PROTECTED]> wrote: > >> On Nov 7, 2007 2:12 AM, Salvatore Iovene > >> <[EMAIL PROTECTED]> wrote: > >>> Hi, > >>> I'm not 100% sure this is really a CMake related question, but I'll > >>> fire it up anyway: > >>> > >>> I'm building a series of static libraries, name them liba.a, libb.a > >>> and libc.a, and linking them into a shared library libfoo.so. > >>> > >>> Then I'm building libx.a liby.a and libz.a and linking them into the > >>> shared libbar.so. > >>> > >>> Then I have an executable whatever.exe that's linked to to libfoo.so > >>> and libbar.so. The linking of the executable fails complaining of > >>> certain missing simbols. Some symbols from liba.a are missing in > >>> libbar.so. > > Let's say that there's a symbol S in liba.a, that S is the only symbol > in its object, and that S is not used by libfoo. In Darwin, S will not > be included in libfoo, and the result you get is expectable. I don't > know if this simple explanation translates to Linux.
I don't know either, but that seems to be the case. Any ideas on how to fix it? -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20 16D8 _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake