lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Julio José Mora Salido wrote:
> Then when I put all the shared libraries in the arm target, I've got the
> following error: R_ARM_PC24 relocation out of range.

You get this error if you mix position indepentent code (PIC)
with non-PIC code inside a shared library. x86 tolerates this,
ARM doesn't.

You need to recompile _all_ code that ever needs to go into a
shared library with -fPIC. This includes _all_ dependent

It's very likely that you're trying to link a copy of the static
Lua library (liblua.a) to one of your modules. Carefully check
your Makefiles.