lua-users home
lua-l archive

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


On Mon, Nov 26, 2012 at 2:35 PM, chuang <lichuang1982@gmail.com> wrote:
> I try to compile it under debian,but get errors:
> /usr/bin/ld: /usr/local/lib/liblua.a(lapi.o): relocation R_X86_64_32 against
> `luaO_nilobject_' can not be used when making a shared object; recompile
> with -fPIC

There you go - all you have to do is make sure that everything is
compiled with -fPIC gcc compile flag, and it will work fine on 64-bit
systems.

steve d.