1833137 Members
3609 Online
110051 Solutions
New Discussion

c++ complier error

 
SOLVED
Go to solution
ambika_1
Frequent Advisor

c++ complier error

Hi ,
I am trying to build xerces in hpux 11.11. But i getting following error.

PROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DX
ML_USE_NETACCESSOR_SOCKET -AA ) works
configure:801: aCC -o conftest -AA -w +O3 -DNDEBUG -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -
DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCK
ET -AA conftest.C -lpthread -lnsl 1>&5
/usr/ccs/bin/ld: Can't open /opt/langtools/lib/crt0.o
/usr/ccs/bin/ld: No such file or directory

So how to resolve this error
6 REPLIES 6
Arunvijai_4
Honored Contributor

Re: c++ complier error

Hi Ambika,

Try to look into Internet Express Xerces's Readme.hp, it contains the files to be modified and Makefile changes.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
ambika_1
Frequent Advisor

Re: c++ complier error

Hi,
There are no changes to as such. I installed aCC also.
What is this error?
usr/ccs/bin/ld: Can't open /opt/langtools/lib/crt0.o
/usr/ccs/bin/ld: No such file or directory
Arunvijai_4
Honored Contributor
Solution

Re: c++ complier error

Hi Ambika,

There is a problem with your aCC and (or) HP AnsiC compiler installations. Try to do a # swverify and make sure everything went well.

May be this thread can help you,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=726957&admit=-682735245+1141190091194+28353475

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
ambika_1
Frequent Advisor

Re: c++ complier error

Hi ,

I got solution to this problem. We have to install Auxiliary-Opt product.

Thanks and Regards,
Ambika
Arunvijai_4
Honored Contributor

Re: c++ complier error

You can close this thread and take your time to read http://forums1.itrc.hp.com/service/forums/helptips.do?#28


-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
ambika_1
Frequent Advisor

Re: c++ complier error


Thanks for giving me useful answers