Hello All,
First post so please bear with me .
I have a compilation error (see below), on some but not all of our C programs.
The server is a T4-2 64b SPARC Solaris 11.1 server and we are using gcc 4.5.2. We are also using third-party Unify Dataserver C libraries. It's a new server which I'm failing badly to setup
I'm not sure what the error is referring to and I'm struggling to understand the small amounts of references to it on the internet when I do a search!
:!make -f makefile.gcc brsect
Linking Objects brsect.o reglib.o bsgdef.o bsglib.o
ld: fatal: relocation error: R_SPARC_GOTDATA_HIX22: file brsect.o: symbol sysdata: value 0x3cd2b5 does not fit
ld: fatal: relocation error: R_SPARC_GOTDATA_HIX22: file brsect.o: symbol sysdata: value 0x3cd2b5 does not fit
ld: fatal: relocation error: R_SPARC_GOTDATA_HIX22: file brsect.o: symbol strsecttots: value 0x3cd2b4 does not fit
ld: fatal: relocation error: R_SPARC_GOTDATA_HIX22: file brsect.o: symbol sysdata: value 0x3cd2b5 does not fit
.....
Can anyone point me in the right direction:
Is it a coding error?
gcc config error?
Missing gcc passed argument?
third-party software error?
OS error?
Any help would be appreciated, thanks in advance.
Regards
Adrian