Undefined References while linking with weak references

Prabhat Ranjan ranjan.prabhat@gmail.com
Fri Apr 21 09:55:00 GMT 2006


>
> Hi,
>
> I'm getting a problem while generating executable (suppose :binA). It is
> using a static lib (suppose : libX.a) now libX has some weak references fro=
> m
> another lib (libY.so) . libY.so is some 3rd party lib and libX.a is my
> library which i've generated using libtool.
> Now while compiling for binaries (binA) gcc throws error for all references
> of libY.so
> Please let me know if i'm doing anything wrong here.
>
> /-
>



More information about the Gcc-help mailing list