The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 08-29-2006
houdini_1 houdini_1 is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 1
relocation truncated to fit errors

I have 2 directories: a1 and b1
Directory b1 depends on directory a1
Using directory a1, I create a1.lib
Using directory b1, I create b1.lib


Now, using a1 and b1, I create a shared object ab1.so
I've been able to build ab1.so just fine. I made an update to file b1.c
and am now getting a ton of relocation truncated to fit: R_SPARC_GOT13
errors and don't know why. The change I made is nothing out of the
ordinary, just a few more if statements to a function.


I'm building on Solaris 7, gcc 2.95.2
This same code compiles just fine under RedHat9 and Suse9.3.


Anyone have any suggestions as to how to fix this?


Thank you.