Operating System - HP-UX
1833325 Members
2802 Online
110051 Solutions
New Discussion

Re: cc: error 1412: Unrecognized argument "A" to option -A.

 
ambika_1
Frequent Advisor

cc: error 1412: Unrecognized argument "A" to option -A.

Hi ,
I am building Xalan-C product on hpux 11.11 ans 11.23 PA machine. Following are the configure option.
./runConfigure -p hp-11 -c cc -x aCC -r pthread \
-b 32 -l -AA -P /opt/iexpress/xalanc
When i configure with this option its giving the error,
configure:1623: cc -O -DNDEBUG +DAportable -AA conftest.c -lpthread >&5
cc: error 1412: Unrecognized argument "A" to option -A.
configure:1626: $? = 1

Since cc doesnot have -AA option, i tried to work with -Aa option, configuration didnt had any error, but while doing gmake i am getting following error.
/usr/lib/dld.sl: Unresolved symbol: typeid__XTQ2_3std9exception_ (data) from /opt/iexpress/xercesc/lib/libxerces-c.sl.27
gmake[2]: *** [../../../nls/include/LocalMsgData.hpp] IOT trap (core dumped)

To reslove this error we need to pass the -AA option to while linking. But if i use that then CC will error, how to resolve this problem?


Thanks and Regards,
ambika
4 REPLIES 4
Peter Godron
Honored Contributor

Re: cc: error 1412: Unrecognized argument "A" to option -A.

Hi,
do you require a different compiler.
The HP supplied cc compiler, is an elemental compiler, used to build a new kernel.
ambika_1
Frequent Advisor

Re: cc: error 1412: Unrecognized argument "A" to option -A.

Hi,
We are using the cc compiler which is shipped with OE. For cpp compilation we are using aCC compiler.
We are not using any other compiler.
Peter Godron
Honored Contributor

Re: cc: error 1412: Unrecognized argument "A" to option -A.

Hi (again),
also, where did you get the source code from ?
Seems HP provide the depot you need:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123 (see web1 section)
ambika_1
Frequent Advisor

Re: cc: error 1412: Unrecognized argument "A" to option -A.

Hi,
We only ship Xalan-C on hpux. We are rebuilding with new OE. So we are getting this problem.

Regards,
Ambika