This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Undefined References while linking with weak references
- From: "Prabhat Ranjan" <ranjan dot prabhat at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 21 Apr 2006 15:25:13 +0530
- Subject: Re: Undefined References while linking with weak references
- References: <10b9bf330604210241h2dca1d1cnfb9dd50c257a0c48@mail.gmail.com>
>
> 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.
>
> /-
>