1834018 Members
2081 Online
110063 Solutions
New Discussion

linker error with aC++

 
SOLVED
Go to solution
David Parsons_1
New Member

linker error with aC++

Here is the error:

/usr/ccs/bin/ld: s_main.o: Unsupported symbol type (17) for UNIVERSAL symbol

I am using the A.10.21 version of the HP aC++ compiler with these patches installed.
PHSS_17225 - B.10.00.00.AA dld.sl(5) cumulative patch
PHSS_18298 - B.10.00.00.AA HP C++ runtime libraries (CC A.10.45)
PHSS_22354 - B.10.00.00.AA HP aC++ -AA runtime libraries (aCC A.01.30)
PHSS_22867 - B.10.00.00.AA HP aC++ -AA header files (aCC A.01.30)

Have I missed a patch or installed incompatible patches? Any information would be greatly appreciated.

David Parsons
2 REPLIES 2
Greg Royle
Advisor
Solution

Re: linker error with aC++

Hello David,
I'm no expert at this but I have seen an old call about this. The error indicates:

"This is usually due to improper mixing shared and archive libraries, or
corrupted archive libraries or mixing C++ and aC++." The solution in this instance was to load the latest linker (ld) patch since this is what is complaining. I'm not sure what version of the OS you have. But I found an ld(1) and linker cumulative patch PHSS_22514 for HPUX 11.00

It's not clear also whether you are compiling with shared libraries, archive libraries etc.?
David Parsons_1
New Member

Re: linker error with aC++

Many thanks to you, Greg. I'm using v10.20, but I looked at PHSS_22514 for identifying info and used it to find PHSS_21110, which is the 10.20 equivalent linker patch. Installed it, and the error is now gone. Thanks again.