benchmarks icon indicating copy to clipboard operation
benchmarks copied to clipboard

Fix for missing symbol errors

Open beached opened this issue 2 years ago • 1 comments

was getting errors Undefined symbols for architecture x86_64: "_luaL_checklstring", referenced from: _lua_notify in lua.o _lua_notify_with_pid in lua.o "_luaL_checkversion_", referenced from: _luaopen_lua_libnotify in lua.o "_luaL_setfuncs", referenced from: _luaopen_lua_libnotify in lua.o "_lua_createtable", referenced from: _luaopen_lua_libnotify in lua.o This fixed them. Tested on macos and linux

beached avatar Oct 09 '21 03:10 beached

Again, can't reproduce. However, I guess it could depend on the environment and the Lua installation, so could you please clarify those? Also, please note that for C++ tests you don't need that target at all, and could build the static library only using make target/libnotify.a.

nuald avatar Oct 09 '21 15:10 nuald