Operating System - HP-UX
1830354 Members
2102 Online
110001 Solutions
New Discussion

HP ANSIC compiler problem

 
Praveen Sharma_3
Occasional Contributor

HP ANSIC compiler problem

Dear Friends,

I came across a very strange problem might be this one is similar to anybody. If possible then please suggest me the relevant things to recover from this problem.
My problem is that i am having the HP Model 9000/778/B180L machine with me. I had installed the HP/ANSI/C (for series 800) bundled compiler on this machine. Now i want to install the HP/ANSI/C (for series 700) bundled compiler on this machine. For this i had remove the HP/ANSI/C bundled compiler of series 800 from this machine and try to load the series 700 HP ANSIC compiler on this. I installed the series 700 compiler on this machine. Now i try to run the /usr/bin/cc it gives error like this
$/usr/bin/cc
/usr/ccs/bin/ld: Unsatisfied symbols:
main
/usr/ccs/bin/ld: Invalid fixup: 0x3e in file /opt/langtools/lib/crt0.o

Can anyone suggest me why this problem is occuring and the possible solution to comeout from this.

Praveen
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: HP ANSIC compiler problem


Make sure you have the latest patch bundle installed.

If it still doesn't work, do a forced install.

live free or die
harry
Live Free or Die
Jeff Billman
Frequent Advisor

Re: HP ANSIC compiler problem

I am confused. Are you trying to use the C compiler that comes with HP-UX or did you load the HP ANSI C Developers Bundle from an Application CD. The bundled C compiler is stored in /usr/bin and the ANSI C compiler is stored in /opt/ansic/bin.

Why did you install the S800 version of the compiler on your workstation? To do that you would have had to do a force install. I would recommend swremoving the old S800 compiler and install the S700 version.

Also, check your SD-UX logs to see if there was anyt problem with the original install.