This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Undefined References while linking with weak references


Hi Eljay,

libY*.so is a 3rd party lib and it contains a lot of .so .if i have
added the path of these 3rd party libs in LD_LIBRARY_PATH wont this
work.
also i've tried adding libY.so as you suggested but still same error..
I've opened libY.so and  there also a lot of weak references but they
are defined and the same week refernces in my lib libX.a they are
undefined.
While building libX.a it is not throwing any error but all the errors
are coming while building binary.

/-
Prabhat

On 4/21/06, John Love-Jensen <eljay@adobe.com> wrote:
> Hi Prabhat,
>
> Link binA against both libX.a and libY.so (in that order).
>
> HTH,
> --Eljay
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]