Hello all,

Xerces is built with -AA switch with aCC as
./runConfigure -p hp-11 -c cc -x aCC -r pthread -d -b 32 -l -AA -z -AA
(Because -AA is not default for PA-aCC)

FYI, aCC - 3.37.01 on HP-UX 11.11

Stastus -> build & test - success

While trying Xalan, with
# ./runConfigure -p hp-11 -c cc -x aCC -r pthread -d -b 32 -l -AA -z -AA
Note: i passed -l & -z as -AA (as xerces build with -AA switch, need to
link )
#gmake
:
:
while compiling "XPathEnvSupportDefault.cpp" .....and "KeyTable.cpp"
Error occurs as

Error 849: Exact position unknown; near

["/disk1/release2/xalanc/1.6/Source/xml-xalan/c/src/xalanc/XPath/XPathEnvSup
portDefault.cpp", line 115]. # External
    symbol too long, truncated from 4012 to 4000 bytes,

__ne__4__rwXTQ2_3std4pairXTCQ2_10xalanc_1_614XalanDOMStringTQ2_3std3mapXTQ2_
10xalanc_1_614XalanDOMStringTPCQ2_10xalanc_1
    _68Funct...

So what i did is removed -AA from the compilation line

aCC +DA1.1 -AA -g      +DAportable   +Z -DHPUX -D_THREAD_SAFE
+p -mt -Aa  -c -I/disk1/release2/xalanc/1.6/Source/xml-xalan/c/src -
:
xalan/c/obj/XPathEnvSupportDefault.o
/disk1/release2/xalanc/1.6/Source/xml-xalan/c/src/xalanc/XPath/XPathEnvSuppo
rtDefault.cpp

to

aCC +DA1.1 -g      +DAportable   +Z -DHPUX -D_THREAD_SAFE
+p -mt -Aa  -c -I/disk1/release2/xalanc/1.6/Source/xml-xalan/c/src -
:
xalan/c/obj/XPathEnvSupportDefault.o
/disk1/release2/xalanc/1.6/Source/xml-xalan/c/src/xalanc/XPath/XPathEnvSuppo
rtDefault.cpp


same thing fro other .cpp file.

then
#gmake

But i know all .o files are required to build xalan library. As i expected
run time error occurs as
# ../../bin/Xalan
/usr/lib/dld.sl: Unresolved symbol: [Vtable]key:__dt__9exceptionFv (data)
from /disk1/release2/xalanc/1.6/Source/xml-xalan/c/lib/libxalan-c.sl.16
/usr/lib/dld.sl: Unresolved symbol: __tcerr (data)  from
/disk1/release2/xalanc/1.6/Source/xml-xalan/c/lib/libxalan-c.sl.16
/usr/lib/dld.sl: Unresolved symbol: typeid__XT9exception_ (data)  from
/disk1/release2/xalanc/1.6/Source/xml-xalan/c/lib/libxalan-c.sl.16
Abort(coredump)
# ll ../../bin/

I want to make Xalan(those 2 files ) with -AA.

How to do? any idea?

Thanks and Regards,
-kanchana


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.522 / Virus Database: 320 - Release Date: 9/29/2003

Reply via email to