Re: symbol has no version assigned

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ian,

Thanks for the suggestion.  Rebuilt gcc 4.3.4 and configured it
to use GNU ld.

The symbol versioning errors are resolved, but now libxml2 compilation
is failing with the following error:

  ./libxml2.syms: file not recognized: File format not recognized
  collect2: ld returned 1 exit status

libxml2.syms is the file which contains the "officially exported
symbols".

Anyone have thoughts on how to handle "File format not recognized"
errors?

Thanks again for any suggestions.



Stanley E. Laufer
Network Administrator
School of Library and Information Science
San Jose State University


On Tue, 22 Sep 2009, Ian Lance Taylor wrote:

> Stanley Laufer <slaufer@xxxxxxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux