You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Son, G.J. van" <va...@WT.TNO.NL> on 2004/01/13 13:51:07 UTC
Building 64-bit on Irix64 6.5
Hello people on the Xerces newsgroup,
I'm trying to build a 64 bit build of xerces-c-src1_3_0 on Irix64 6.5. to make a
static libxerces.
And running into a problem trying to build this, with the following output:
"C++ prelinker: error:
XMLDeleterFor<XMLMutex>::XMLDeleterFor<XMLMutex>(XMLMutex*) assigned to
/usr1/people/madymo/sgi64r10k/lib/ext/xml/xerces-c-src1_3_0/obj/IRIX/XMLScanner.
o and
/usr1/people/madymo/sgi64r10k/lib/ext/xml/xerces-c-src1_3_0/obj/IRIX/XMLExceptio
n.o
C++ prelinker: error: bad instantiation request file -- instantiation assigned
to more than one file
make[1]: ***
[/usr1/people/madymo/sgi64r10k/lib/ext/xml/xerces-c-src1_3_0/lib/libxerces-c1_3.
so] Error 2
make[1]: Target `ALL' not remade because of errors."
Is it possible for you to help me out on this?
Thanks in advance,
Annemieke den Teuling
Talking about xerces-c-src1_3_0 on IRIX 6.5 64 bit.
I use the following flags with runConfigure:
"runConfigure -c cc -x CC -p irix -l -64 -z -64"
Changed a line in the /src/util/HashPtr.cpp
line :70 to:
return (unsigned int)((long)key % mod);
to make it usefull for 64 bit.
And this are the other changes:
--- $XERCESCROOT/src/Makefile.incl
:259
ifeq (${PLATFORM}, IRIX)
PLATFORM_COMPILE_OPTIONS = -LANG:pch -LANG:std -O2 \
-D${PLATFORM} -D_REENTRANT \
-I/usr/local/include -DAPP_NO_THREADS
--- $XERCESCROOT/src/util/Platforms/IRIX/IRIXPlatformUtils.cpp
:191
#if !defined(APP_NO_THREADS) //{
void XMLPlatformUtils::platformInit()
{
//
// The atomicOps mutex needs to be created early.
// Normally, mutexes are created on first use, but there is a
// circular dependency between compareAndExchange() and
// mutex creation that must be broken.
atomicOpsMutex.fHandle = XMLPlatformUtils::makeMutex();
}
#endif //}
--
-
"Life is like an exploded clown. It's really funny until you figure out what
just happened."
---------------------------------------------------------------
Annemieke den Teuling TNO Automotive
Crash Safety Centre
Phone: +31 15 269 7409 P.O. Box 6033, 2600 JA, DELFT
Fax: +31 15 262 43 21 The Netherlands
E-Mail: denTeuling@wt.tno.nl URL: http://www.automotive.tno.nl
----------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org