1830241 Members
4001 Online
109999 Solutions
New Discussion

error while compile

 
Sunil Somani
New Member

error while compile

Hi,
I am working with aCC: HP ANSI C++ B3910B A.03.31 compiler.and I when I compile my program using aCC then it results with errors like:
__________________________________
/usr/ccs/bin/ld: Duplicate symbol "XIMIsPrimary" in files ../lib/libinflight.a(main.o) and ../lib/libinflight.a(report.o)
_______________________________________
But when I do compile the same program using gcc or other compiler , it succeeds normally.
Please let me know whether there is some options for aCC or I am missing something.

Thanks
Sunil
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: error while compile

Shalom Sunil,

Obviously I'm missing something.

If it compiles correctly with gcc, why are you trying to compile it with aCC ??

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Peter Godron
Honored Contributor

Re: error while compile

Sunil Somani
New Member

Re: error while compile

Well,
I have just test using gcc. But I have to compile it with aCC. Will you please look in to the matter for solving it.
Thanks
Sunil
Arunvijai_4
Honored Contributor

Re: error while compile

Hi Sunil,

Upgrade to latest version of aCC available, it should solve your problem.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
sysadm_1
Valued Contributor

Re: error while compile

There is a free 6 months trial version of aC++ available in HP site.Install it and try.THis will solve your problem.

https://h20293.www2.hp.com/portal/swdepot/try.do?productNumber=B9007AAEVAL

-sysadm
Peter Godron
Honored Contributor

Re: error while compile

Sunil,
if you are happy with the replies, can you please see:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
and close the thread (with solution)