1830224 Members
2026 Online
109999 Solutions
New Discussion

Compiler Issue

 
SOLVED
Go to solution
Aneesh Mohan
Honored Contributor

Compiler Issue

Hi ,

Could you please advice me on the below error ( application team cannot able to do compile , I just noticed this below error)

# cc -version
(Bundled) cc: warning 922: "-ersion" is unsupported in the bundled compiler, ignored.
#

This is error has started just today only ,as per application team they can compile well before .


# swlist -l product |grep -i ac++
ACXX C.06.10 HP aC++
PHSS_35055 1.0 aC++ Runtime (IA: A.06.10, PA: A.03.71)
#


# model;uname -a
ia64 hp server rx2620
HP-UX tserv2 B.11.23 U ia64 0780028204 unlimited-user license
#



Thanks ,

Aneesh
2 REPLIES 2
Dennis Handly
Acclaimed Contributor
Solution

Re: Compiler Issue

This indicates you likely do NOT have a C compiler on your system, just the bundled C compiler. Check /opt/ansic/bin/cc.

># cc -version

This is not a valid option, try -V.

>ACXX C.06.10 HP aC++

You have a aC++ compiler and perhaps no C compiler.
Instead of using cc, you can use "aCC -Ae".
Aneesh Mohan
Honored Contributor

Re: Compiler Issue

Thanks alot Dennis .....


Got it ...thanks again.



Regards,

Aneesh