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: symbol has no version assigned


Stanley Laufer <slaufer@slis.sjsu.edu> writes:

> I've been trying to compile Libxml2 2.7.4 under Solaris 10.
>
> I've tried both gcc 3.4.6 and gcc 4.3.4.  Both are using Solaris ld
> (/usr/ccs/bin/ld).  3.4.6 is using Sun as (/usr/ccs/bin/as). 4.3.4 is
> using GNU as from binutils 2.19.
>
> The Libxml2 developers added "symbol versioning" in 2.7.4, and I suspect
> that is somehow related to the issues I've been seeing (since 2.7.3
> compiles just fine in the same environment).

I would guess that libxml2 is using GNU style symbol versioning which is
an extension of Solaris symbol versioning.  If there is no way to
disable symbol versioning for libxml2, then you probably need to use the
GNU linker here.

Ian


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