1837073 Members
2592 Online
110112 Solutions
New Discussion

Re: Error in aCC loader

 
Kalyan Abbaraju
New Member

Error in aCC loader

Hi,
I am using aCC 3.56 compiler. During compilation I am getting following error.
/opt/aCC/bin/aCC -DOSS3_ACC_VERSION=A_03_56 -c
mogvstoolbamx.cc +Z +inst_implicit_include -I. -I/vobs/src17/lmdoss +Z -I/opt/nokianms/include/coplib -I/opt/nokianms/include/coplib/Motif2.1 -I/opt/nokianms/include/coplib/X11R6 -I/opt/nokianms/include/coplib/SC -I/opt/nokiaoss/dbsc -I/opt/nokiaoss/dbsc/olib/src/orclib -I/vobs/src18/zdblib -I/vobs/src18/zmalib -I/vobs/src19/rdblib -I/vobs/src18/rwglib -I/vobs/src18/voplib -I/vobs/src19/zq3api -ext -AA -g0 -z -D__HPACC_USING_MULTIPLIES_IN_FUNCTIONAL -DHPUX -DSYSV -DOPVERSION=1111 +DA2.0N +DS2.0 +Oinitcheck -mt +W829 +W5012 -o mogvstoolbamx.o

Building shared library libmoglibmx.sl
/usr/ccs/bin/ld: Invalid loader fixup in text space needed in output file for symbol "C$3" in input file "mogcxbcftypmx.o"
*** Error code 1
clearmake: Error: Build script failed for "libmoglibmx.sl"

Could you please tell me what this error means.

Thanks in advance

Regards
Kalyan
3 REPLIES 3
Steve Steel
Honored Contributor

Re: Error in aCC loader

Hi


Go to www.webplaces.com

put
/usr/ccs/bin/ld: Invalid loader fixup text space needed in output file

In the goggle option

Will show that either code is not position independant or you have pieces of software compiled in different ways or with different compiler versions



Or something is corrupt

I am sure the answer is there

happy reading


Steve STeel
If you want truly to understand something, try to change it. (Kurt Lewin)
Ermin Borovac
Honored Contributor

Re: Error in aCC loader

Make sure that object file mogcxbcftypmx.o was compiled with '+Z'. You can export CXXOPTS environment variable to tell aCC to use '+Z'. Best to remove all object files, export CXXOPTS and recompile again.

$ export CXXOPTS='+Z'
Kalyan Abbaraju
New Member

Re: Error in aCC loader

Hi,

Thanks for the reply. It looks like patch PHSS_31222 needs to be installed to fix this problem. I will check this and contact again if it does not solve the problem.

Thanks & Regards
Kalyan