Re: [xslt] Fwd: libxslt-1.1.26 compile error on Solaris SPARC



Good to hear!


Thomas Floodeen, Jr.
Mentor Graphics BSD
720.494.1133


-----Original Message-----
From: Gonzalez Roa Mauricio Alfonzo [mailto:MauricioA Gonzalez movilnet com ve] 
Sent: Monday, May 30, 2011 10:12 AM
To: Floodeenjr, Thomas; The Gnome XSLT library mailing-list
Subject: RE: [xslt] Fwd: libxslt-1.1.26 compile error on Solaris SPARC

Hi, Thomas

With only change the configure script to libxslt installation could do successfully.

Thank you very much!



Lic. Mauricio A. Gonzalez R.

Especialista en Mediacion y Aprovisionamiento

Coord. Mediacion y Aprovisionamiento

Gerencia Control Operativo

Telecomunicaciones Movilnet

Correo: MauricioA Gonzalez movilnet com ve

Cel: 0416-5430899

Tlf. 0212-7057528

-----Mensaje original-----
De: Floodeenjr, Thomas [mailto:thomas_floodeenjr mentor com] 
Enviado el: Jueves, 26 de Mayo de 2011 02:22 p.m.
Para: The Gnome XSLT library mailing-list
CC: Gonzalez Roa Mauricio Alfonzo
Asunto: RE: [xslt] Fwd: libxslt-1.1.26 compile error on Solaris SPARC

Hello,

I fixed this in my Solaris builds by removing the VERSION_SCRIPT_FLAGS from the configure script for Solaris in both the libxml2 and the libxslt builds:

libxml2:

VERSION_SCRIPT_FLAGS=
# lt_cv_prog_gnu_ld is from libtool 2.+
if test "$lt_cv_prog_gnu_ld" = yes; then
  VERSION_SCRIPT_FLAGS=-Wl,--version-script=
else
  case $host in
#  *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
  *-*-sunos*) VERSION_SCRIPT_FLAGS="";;
  esac
fi


libxslt:

VERSION_SCRIPT_FLAGS=
$(/usr/bin/ld --help 2>&1 | grep -- --version-script >/dev/null) && \
    VERSION_SCRIPT_FLAGS=-Wl,--version-script=
test "`uname`" == "SunOS" && \
    VERSION_SCRIPT_FLAGS=""
#    VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"


In addition, I modifed the libxml2.syms & libxslt.syms files. (Diff the attachments with the files from the dictribution.)

-Tom

Thomas Floodeen, Jr.
Mentor Graphics BSD
720.494.1133


-----Original Message-----
From: xslt-bounces gnome org [mailto:xslt-bounces gnome org] On Behalf Of Mauricio Gonzalez
Sent: Thursday, May 26, 2011 8:31 AM
To: xslt gnome org
Cc: MauricioA Gonzalez movilnet com ve
Subject: [xslt] Fwd: libxslt-1.1.26 compile error on Solaris SPARC

Hello,

I'm trying to compile libxslt-1.1.26 on a SPARC station (sparc-sun-solaris2.9).  I have already read the FAQ, the mail archives and the registered bugs.

command "make" produces the following error:

libtool: link: gcc -shared -Wl,-z -Wl,text -Wl,-h -Wl,libxslt.so.1 -o
.libs/libxslt.so.1.1.26  .libs/attrvt.o .libs/xslt.o .libs/xsltlocale.o .libs/xsltutils.o .libs/pattern.o .libs/templates.o .libs/variables.o .libs/keys.o .libs/numbers.o .libs/extensions.o .libs/extra.o .libs/functions.o .libs/namespaces.o .libs/imports.o .libs/attributes.o .libs/documents.o .libs/preproc.o .libs/transform.o .libs/security.o   -R/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib /usr/lib/libxml2.so -L/usr/local/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -ldl -lz -lpthread /usr/local/lib/libiconv.so -lsocket -lnsl -lm -lc  -Wl,-M -Wl,./libxslt.syms Undefined                       first referenced
 symbol                             in file _fini /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/crti.o  (symbol has no version assigned) _init /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/crti.o  (symbol has no version assigned) xsltPointerListFree                 ./libxslt.syms xsltCopyTree                        .libs/transform.o  (symbol has no version assigned) xsltTransStorageAdd                 ./libxslt.syms xsltPointerListCreate               ./libxslt.syms xsltPointerListAddSize              ./libxslt.syms xsltParseSequenceConstructor        ./libxslt.syms xsltComputingGlobalVarMarker        .libs/variables.o  (symbol has no version assigned) __dso_handle /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/crtbegin.o  (symbol has no version assigned) xsltPointerListClear                ./libxslt.syms xsltParseAnyXSLTElem                ./libxslt.syms xsltRestoreDocumentNamespaces       ./libxslt.syms xsltXSLTAttrMarker                  ./libxslt.syms xsltTransStorageRemove              ./libxslt.syms _lib_version                        /usr/ccs/lib/values-Xa.o  (symbol has no version assigned) xsltDefaultTrace                    .libs/transform.o  (symbol has no version assigned) xsltStyleStylesheetLevelGetExtData  ./libxslt.syms xsltConstNamespaceNameXSLT          ./libxslt.syms xsltMatchPattern                    ./libxslt.syms
ld: fatal: Symbol referencing errors. No output written to
.libs/libxslt.so.1.1.26
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libxslt.la'
Current working directory
/home/pproc/ZOE_SERVICE_ACTIVATOR/lib/libxslt-1.1.26/libxslt
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/pproc/ZOE_SERVICE_ACTIVATOR/lib/libxslt-1.1.26
*** Error code 1
make: Fatal error: Command failed for target `all'
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/ xslt gnome org http://mail.gnome.org/mailman/listinfo/xslt


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