You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Sven Havemann <s....@tu-bs.de> on 2000/04/06 15:18:24 UTC
Xerces/Irix
Hi!
===
I've tried to build Xerces on Irix 6.5. - I know it's still beta, but obviously
it worked very well using
cd /tmp/xerces-c-src_1_1_0/src
setenv
./runConfigure -p irix -c cc -x CC -t native
Now, trying to build the most useful example DOMPrint didn't work so well.
1. samples/runConfigure
=======================
The runConfigure script for the sample doesn't know the -p irix switch. I think
that's just some beta issue.
2. unresolved external
======================
Then I figured I might just take the compiler switches that were used for
building the library and built the executable DOMPrint by hand:
------------------------ SNIP START ----------------------------
nurbs 78>CC -DEFAULT:abi=n32:isa=mips4:proc=r5k -LANG:pch -LANG:std -O2 -DIRIX
-D_REENTRANT -I/usr/local/include -c -O -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -I/tmp/xml/xml4csrc3_1_0/include -n32 DOMPrint.cpp
"DOMPrint.cpp": using precompiled header file "DOMPrint.pch".
nurbs 79>CC -DEFAULT:abi=n32:isa=mips4:proc=r5k -LANG:pch -LANG:std -O2 -DIRIX
-D_REENTRANT -I/usr/local/include -c -O -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -I/tmp/xml/xml4csrc3_1_0/include -n32
DOMTreeErrorReporter.cpp
"DOMTreeErrorReporter.cpp": using precompiled header file
"DOMTreeErrorReporter.pch".
nurbs 80>CC -DEFAULT:abi=n32:isa=mips4:proc=r5k -LANG:pch -LANG:std -O2 -DIRIX
-D_REENTRANT -I/usr/local/include -O -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -I/tmp/xml/xml4csrc3_1_0/include -n32 DOMPrint.o
DOMTreeErrorReporter.o -o DOMPrint -L../../lib -lxerces-c1_1
nurbs 81>./DOMPrint
37705:./DOMPrint: rld: Fatal Error: attempted access to unresolvable symbol in
./libxerces-c1_1.so: makeMutex__16XMLPlatformUtilsSGv
------------------------ SNIP STOP -----------------------------
What can I do? I don't need any threads in the parser!
3. Static library
=================
What's more, I need to build a standalone-executable because I can't assume
everybody's got installed libxerces-c1_1.so somewhere on his or her system.
Maybe somebody else has got the same problem? Then, it would make sense to build
two versions of the library, say
libxerces-c1_1-dynamic.so
libxerces-c1_1-static.a
It would also be _very_ useful if there was an extremely minimalitic version of
the parser, something that doesn't introduce much overhead. The shared lib is
1.5 MB on my system. That's much for a parser. I don't need validation...
I hope someone's got time to answer,
TIA for any advice,
Greetings, Sven.
--
__________________________________________________________________
dipl-inform. Sven Havemann Institut für ComputerGraphik
Odastrasse 6 Rebenring 18
38122 Braunschweig - Germany 38106 Braunschweig - Germany
Tel. 0531/2808955 Tel. 0531/391-2108, Fax: -2103
mailto:s.havemann@tu-bs.de http://www.cg.cs.tu-bs.de
Re: Xerces/Irix
Posted by David Nickerson <d....@auckland.ac.nz>.
If you can, get the latest source from the Apache CVS repository - it all
works fine under Irix 6.5
Otherwise, follow the instructions at
http://www.esc.auckland.ac.nz/People/Students/Nickerso/Xerces-C/index.html
to get version 1.1.0 working under Irix.
David.
----- Original Message -----
From: "Sven Havemann" <s....@tu-bs.de>
To: <xe...@xml.apache.org>
Sent: Friday, April 07, 2000 1:18 AM
Subject: Xerces/Irix
Hi!
===
I've tried to build Xerces on Irix 6.5. - I know it's still beta, but
obviously
it worked very well using
cd /tmp/xerces-c-src_1_1_0/src
setenv
./runConfigure -p irix -c cc -x CC -t native
Now, trying to build the most useful example DOMPrint didn't work so well.
1. samples/runConfigure
=======================
The runConfigure script for the sample doesn't know the -p irix switch. I
think
that's just some beta issue.
2. unresolved external
======================
Then I figured I might just take the compiler switches that were used for
building the library and built the executable DOMPrint by hand:
------------------------ SNIP START ----------------------------
nurbs
78>CC -DEFAULT:abi=n32:isa=mips4:proc=r5k -LANG:pch -LANG:std -O2 -DIRIX
-D_REENTRANT -I/usr/local/include -c -O -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -I/tmp/xml/xml4csrc3_1_0/include -n32
DOMPrint.cpp
"DOMPrint.cpp": using precompiled header file "DOMPrint.pch".
nurbs
79>CC -DEFAULT:abi=n32:isa=mips4:proc=r5k -LANG:pch -LANG:std -O2 -DIRIX
-D_REENTRANT -I/usr/local/include -c -O -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -I/tmp/xml/xml4csrc3_1_0/include -n32
DOMTreeErrorReporter.cpp
"DOMTreeErrorReporter.cpp": using precompiled header file
"DOMTreeErrorReporter.pch".
nurbs
80>CC -DEFAULT:abi=n32:isa=mips4:proc=r5k -LANG:pch -LANG:std -O2 -DIRIX
-D_REENTRANT -I/usr/local/include -O -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -I/tmp/xml/xml4csrc3_1_0/include -n32
DOMPrint.o
DOMTreeErrorReporter.o -o DOMPrint -L../../lib -lxerces-c1_1
nurbs 81>./DOMPrint
37705:./DOMPrint: rld: Fatal Error: attempted access to unresolvable symbol
in
./libxerces-c1_1.so: makeMutex__16XMLPlatformUtilsSGv
------------------------ SNIP STOP -----------------------------
What can I do? I don't need any threads in the parser!
3. Static library
=================
What's more, I need to build a standalone-executable because I can't assume
everybody's got installed libxerces-c1_1.so somewhere on his or her system.
Maybe somebody else has got the same problem? Then, it would make sense to
build
two versions of the library, say
libxerces-c1_1-dynamic.so
libxerces-c1_1-static.a
It would also be _very_ useful if there was an extremely minimalitic version
of
the parser, something that doesn't introduce much overhead. The shared lib
is
1.5 MB on my system. That's much for a parser. I don't need validation...
I hope someone's got time to answer,
TIA for any advice,
Greetings, Sven.
--
__________________________________________________________________
dipl-inform. Sven Havemann Institut für ComputerGraphik
Odastrasse 6 Rebenring 18
38122 Braunschweig - Germany 38106 Braunschweig - Germany
Tel. 0531/2808955 Tel. 0531/391-2108, Fax: -2103
mailto:s.havemann@tu-bs.de http://www.cg.cs.tu-bs.de