-
Notifications
You must be signed in to change notification settings - Fork 3
Description
gcc -shared -fPIC -I/usr/local/include -I/usr/local/openresty/luajit/include/luajit-2.1/ lmurmurhash3.c -o murmurhash3.so
Undefined symbols for architecture x86_64:
"_luaL_checklstring", referenced from:
_l_hash_x86_32 in lmurmurhash3-509065.o
"_luaL_checknumber", referenced from:
_l_hash_x86_32 in lmurmurhash3-509065.o
"_luaL_register", referenced from:
_luaopen_murmurhash3 in lmurmurhash3-509065.o
"_lua_error", referenced from:
_l_hash_x86_32 in lmurmurhash3-509065.o
"_lua_gettop", referenced from:
_l_hash_x86_32 in lmurmurhash3-509065.o
"_lua_pushlstring", referenced from:
_luaopen_murmurhash3 in lmurmurhash3-509065.o
"_lua_pushnumber", referenced from:
_l_hash_x86_32 in lmurmurhash3-509065.o
"_lua_pushstring", referenced from:
_l_hash_x86_32 in lmurmurhash3-509065.o
"_lua_settable", referenced from:
_luaopen_murmurhash3 in lmurmurhash3-509065.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)