Re: [xml] build fails on Solaris



On Mon, 2009-11-02 at 01:01 +0100, hajma wrote:
when trying to build libxml2-2.7.6 on Solaris10 with sun studio12u1,
I'm getting the below error. I did just plain ./configure && make.
any hints appreciated

Undefined                        first referenced
 symbol                              in file
.XAKAgAP83Y7K0HZ.align_attr         .libs/HTMLparser.o  (symbol has no
version assigned)
.XAKAgAP83Y7K0HZ.li_elt             .libs/HTMLparser.o  (symbol has no
version assigned)
.XAKAgAPf4Y7K0na.xmlSchemaTypeDateDef .libs/xmlschemastypes.o  (symbol
has no version assigned)
.XAKAgAPR4Y7K0Da.xmlDeregisterNodeDefaultValueThrDef .libs/globals.o
(symbol has no version assigned)
.XAKAgAP83Y7K0HZ.htmlStartCloseIndexinitialized .libs/HTMLparser.o
(symbol has no version assigned)
.XAKAgAPY4Y7K0ha.xmlNamespaceNs     .libs/xmlschemas.o  (symbol has no
...

The included mapfile (libxml2.syms) doesn't seem to work.
You can get past the build errors if you disable using the
mapfile in configure.in:

test "`uname`" == "SunOS" && \
-    VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"
+    VERSION_SCRIPT_FLAGS=""
AC_SUBST(VERSION_SCRIPT_FLAGS)

Don't forget to run autoconf to regenerate configure.

Laca






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