Skip to content

mac os x don't work #3

@ltanme

Description

@ltanme

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions