-
Notifications
You must be signed in to change notification settings - Fork 87
Description
Trying to build this under Ubuntu 11.10 with Python 2.7 and Lua 5.1, I get:
building 'lua-python' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/pythoninlua.c -o build/temp.linux-x86_64-2.7/src/pythoninlua.o -rdynamic -I/usr/include/lua5.1 src/pythoninlua.c: In function ‘py_convert’: src/pythoninlua.c:74:3: warning: passing argument 3 of ‘PyString_AsStringAndSize’ from incompatible pointer type [enabled by default] /usr/include/python2.7/stringobject.h:172:17: note: expected ‘Py_ssize_t *’ but argument is of type ‘int *’ src/pythoninlua.c: In function ‘py_object_tostring’: src/pythoninlua.c:335:4: warning: passing argument 3 of ‘PyString_AsStringAndSize’ from incompatible pointer type [enabled by default] /usr/include/python2.7/stringobject.h:172:17: note: expected ‘Py_ssize_t *’ but argument is of type ‘int *’ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/luainpython.c -o build/temp.linux-x86_64-2.7/src/luainpython.o -rdynamic -I/usr/include/lua5.1 src/luainpython.c:345:2: warning: initialization from incompatible pointer type [enabled by default] src/luainpython.c:345:2: warning: (near initialization for ‘LuaObject_as_mapping.mp_length’) [enabled by default] src/luainpython.c: In function ‘initlua’: src/luainpython.c:496:3: warning: implicit declaration of function ‘luaopen_loadlib’ [-Wimplicit-function-declaration] src/luainpython.c:486:12: warning: variable ‘m’ set but not used [-Wunused-but-set-variable] creating build/lib.linux-x86_64-2.7 gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.7/src/pythoninlua.o build/temp.linux-x86_64-2.7/src/luainpython.o -L/usr/lib/python2.7/config -lpython2.7 -lpthread -lutil -o build/lib.linux-x86_64-2.7/lua-python.so -rdynamic -I/usr/include/lua5.1 building 'lua' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/pythoninlua.c -o build/temp.linux-x86_64-2.7/src/pythoninlua.o -rdynamic -I/usr/include/lua5.1 src/pythoninlua.c: In function ‘py_convert’: src/pythoninlua.c:74:3: warning: passing argument 3 of ‘PyString_AsStringAndSize’ from incompatible pointer type [enabled by default] /usr/include/python2.7/stringobject.h:172:17: note: expected ‘Py_ssize_t *’ but argument is of type ‘int *’ src/pythoninlua.c: In function ‘py_object_tostring’: src/pythoninlua.c:335:4: warning: passing argument 3 of ‘PyString_AsStringAndSize’ from incompatible pointer type [enabled by default] /usr/include/python2.7/stringobject.h:172:17: note: expected ‘Py_ssize_t *’ but argument is of type ‘int *’ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/luainpython.c -o build/temp.linux-x86_64-2.7/src/luainpython.o -rdynamic -I/usr/include/lua5.1 src/luainpython.c:345:2: warning: initialization from incompatible pointer type [enabled by default] src/luainpython.c:345:2: warning: (near initialization for ‘LuaObject_as_mapping.mp_length’) [enabled by default] src/luainpython.c: In function ‘initlua’: src/luainpython.c:496:3: warning: implicit declaration of function ‘luaopen_loadlib’ [-Wimplicit-function-declaration] src/luainpython.c:486:12: warning: variable ‘m’ set but not used [-Wunused-but-set-variable] gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.7/src/pythoninlua.o build/temp.linux-x86_64-2.7/src/luainpython.o -llua -llualib -o build/lib.linux-x86_64-2.7/lua.so -rdynamic -I/usr/include/lua5.1 /usr/bin/ld: cannot find -llua /usr/bin/ld: cannot find -llualib collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1