Operating System - HP-UX
1754318 Members
3192 Online
108813 Solutions
New Discussion

Linking Problem in HP 11.11

 
Ajay Nair
Occasional Advisor

Linking Problem in HP 11.11

Hi,

I'm getting the following error when I'm trying to link my object files.
ld: Can't find library or mismatched ABI for -lASH
I'm executing the following command for linking:
cc -v -o storeImage +DA2.0W storeImage.o -L/fnsw/client/shobj -lASH, -lBES.....
Although these libraries exist in the /fnsw/client/shobj folder its giving me the error.

Any pointers to solving this problem will be appreciated.

Thanks,
Ajay

1 REPLY 1
Tracy_5
Advisor

Re: Linking Problem in HP 11.11

Could it be that some of the .o and .a files are 32-bit and some are 64-bit? They all must be of one mode or the other. Can you run 'file' on all the components of the link line and see if one is 32-bit?