R_PPC_REL24 RELOCATION out of range
Joseph E. Sacco, Ph.D.
joseph_sacco at comcast.net
Sun Jan 23 07:14:56 MST 2005
Your system is having difficulties mixing PIC [position indepedent code]
with non-PIC code. Recompile with "-fPIC" to force the creation of
position independent code.
-Joseph
=======================================================================
On Sun, 2005-01-23 at 02:08, Stijn Blancke wrote:
> While trying to run a program that works fine on x86 architecture I get
> the following error.
>
> error while loading shared libraries: /home/fang/rc/lib/libWindows.so:
> R_PPC_REL24 relocation at 0x0f04f0d8 for symbol `fwrite' out of range
>
>
> When I try
>
> #readelf -a /home/fang/rc/lib/libWindows.so | grepfwrite
>
> I get :
>
> 000020d8 0000a70a R_PPC_REL24 00000000 fwrite + 0
> 00002114 0000a70a R_PPC_REL24 00000000 fwrite + 0
> 00002238 0000a70a R_PPC_REL24 00000000 fwrite + 0
> 00002274 0000a70a R_PPC_REL24 00000000 fwrite + 0
> 167: 00000000 408 FUNC GLOBAL DEFAULT UND fwrite at GLIBC_2.0 (2)
> 198: 00000000 408 FUNC GLOBAL DEFAULT UND fwrite@@GLIBC_2.0
>
> Is there anybody with the same problem or has a solution how to fix
> this.
--
joseph_sacco[at]comcast[dot]net
More information about the yellowdog-general
mailing list