Hello David,

Thanks for the mail.
I'm not using debug option now. I tired as

export LDFLAGS="-Wl,+nodefaultrpath -AA"
export CFLAGS="-AA"
env CC=cc CXX=aCC ./configure

and edited Makefile as
1)
CXX = aCC
to
CXX = aCC +DA1.1
2)
#=============== HPUX SPECIFIC OPTIONS =========================

ifeq ($(PLATFORM), HPUX)

#  PLATFORM_CXX_COMPILE_OPTIONS = +p -mt -Aa
# to
  PLATFORM_CXX_COMPILE_OPTIONS = +p -mt -AA
  ALLLIBS = ${LIBS}


Same pbl, those 2 files(XPathEnvSupportDefault.cpp & KeyTable.cpp) won't
compile with -AA, so i did -Aa for those 2 , so it leads to runtime error as

# ../../bin/Xalan
/usr/lib/dld.sl: Unresolved symbol: [Vtable]key:__dt__9exceptionFv (data)
from /Source/xml-xalan/c/lib/libxalan-c.sl.16
/usr/lib/dld.sl: Unresolved symbol: __tcerr (data)  from
/Source/xml-xalan/c/lib/libxalan-c.sl.16
/usr/lib/dld.sl: Unresolved symbol: typeid__XT9exception_ (data)  from
/Source/xml-xalan/c/lib/libxalan-c.sl.16

I'm using Xalan  1.6.

Plz help me to solve this problem.

Thanks and Regards,
-kanchana
>
>
>
>
> Hi,
>
> Our version of aCC is:
>
>    aCC: HP ANSI C++ B3910B A.03.37
>
> I just built the latest CVS code without any problems using the AA option,
> but I'm not using the debug flag.  This might be a compiler bug, or just a
> limitation on the symbol length of the compiler when debug is enabled.
You
> might try building those two files without debug to see what happens.
>
> I'm not sure why you need debug symbols for the entire library, but that
> can result in a _very_ large library.  I usually build a select group of
> modules with symbols, if I'm going to debug something.
>
> Dave
>
>
>
>
>                       "[EMAIL PROTECTED]"
>                       <pkkanchana              To:
<[email protected]>
>                                                cc:
>                       10/09/2003 09:30         Subject: Reg Xalan
compilation error with -AA switch in hpux
>                       PM
>
>
>
>
> 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...
>
> ..
>
> 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
>
>
>


---
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