[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: how to transfer Lua Function and function params between different Lua state?
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 26 Nov 2012 14:43:05 +0200
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.