lua-users home
lua-l archive

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

On Sun, Nov 6, 2011 at 8:22 PM, Benoit Germain <> wrote:

You can grab a snapshot at I don't
know where to access it when it is retrieved by LuaRocks though.

I tried compiling manually and I don't see anything weird but it keeps linking to the same libraries. I added -lpthread but that didn't make a difference.

$ make LUAROCKS=1 CFLAGS="-O2 -fPIC -lpthread -I/home/me/sandbox/include" LIBFLAG="-shared" LUA=/home/me/sandbox/bin/lua LUAC=/home/me/sandbox/bin/luac
/home/me/sandbox/bin/lua ../tools/bin2c.lua keeper.lua -o keeper.lch
cc -O2 -fPIC -lpthread -I/home/me/sandbox/include   -c -o lanes.o lanes.c
cc -O2 -fPIC -lpthread -I/home/me/sandbox/include   -c -o threading.o threading.c
cc -O2 -fPIC -lpthread -I/home/me/sandbox/include   -c -o tools.o tools.c
cc -O2 -fPIC -lpthread -I/home/me/sandbox/include   -c -o keeper.o keeper.c
cc -shared -lpthread lanes.o threading.o tools.o keeper.o  -o

$ ldd =>  (0xb78d2000) => /lib/i386-linux-gnu/ (0xb7729000)
/lib/ (0xb78d3000)