rendered paste bodycd src; make all
gcc -O -dynamiclib -fpic -L/usr/local/lib -llua5.1 -o socket.so.2.0.1 compat-5.1r5/compat-5.1.o luasocket.o timeout.o buffer.o io.o auxiliar.o options.o inet.o tcp.o udp.o except.o select.o usocket.o
ld: Undefined symbols:
_luaL_error
_lua_createtable
_lua_getfenv
_lua_gettable
_lua_gettop
_lua_insert
_lua_pushcclosure
_lua_pushlstring
_lua_pushstring
_lua_pushvalue
_lua_remove
_lua_settable
_lua_settop
_lua_type
_luaL_checkinteger
_luaL_openlib
_lua_error
_lua_pushboolean
_lua_rawset
_luaL_argerror
_luaL_checknumber
_luaL_optlstring
_luaL_optnumber
_lua_pushnumber
_luaL_addlstring
_luaL_buffinit
_luaL_checklstring
_luaL_prepbuffer
_luaL_pushresult
_lua_isnumber
_lua_pushnil
_lua_replace
_lua_tonumber
_luaL_checkudata
_luaL_newmetatable
_luaL_typerror
_lua_getfield
_lua_getmetatable
_lua_isstring
_lua_pushfstring
_lua_rawget
_lua_setmetatable
_lua_toboolean
_lua_tolstring
_lua_touserdata
_lua_typename
_lua_newuserdata
_lua_pcall
_lua_call
/usr/bin/libtool: internal link edit command failed
make[1]: *** [socket.so.2.0.1] Error 1
make: *** [all] Error 2