Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for missing symbol errors #375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

beached
Copy link
Contributor

@beached beached commented Oct 9, 2021

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

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
@nuald
Copy link
Collaborator

nuald commented Oct 9, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants