WARNING: [license.mk] Every package should define a LICENSE.
===> Building for lua52-slnunicode-1.1apl1nb2
gcc -I. -pipe -Os -I/opt/pkg/include/lua-5.2 -I/opt/pkg/include/ncurses -shared -Wall -Os -fpic -o unicode.so slnunico.c
slnunico.c:1342:2: warning: implicit declaration of function 'luaL_openlib' is invalid in C99 [-Wimplicit-function-declaration]
        luaL_register(L, SLN_UNICODENAME,
        ^
slnunico.c:110:31: note: expanded from macro 'luaL_register'
#define luaL_register(L,n,l)    (luaL_openlib(L,(n),(l),0))
                                 ^
1 warning generated.
Undefined symbols for architecture x86_64:
  "_luaL_addlstring", referenced from:
      _str_format in slnunico-489744.o
      _unic_gsub in slnunico-489744.o
      _str_rep in slnunico-489744.o
      _str_reverse in slnunico-489744.o
      _writer in slnunico-489744.o
  "_luaL_addvalue", referenced from:
      _str_format in slnunico-489744.o
      _unic_gsub in slnunico-489744.o
  "_luaL_argerror", referenced from:
      _unic_char in slnunico-489744.o
      _unic_gsub in slnunico-489744.o
  "_luaL_buffinit", referenced from:
      _unic_char in slnunico-489744.o
      _str_dump in slnunico-489744.o
      _str_format in slnunico-489744.o
      _unic_gsub in slnunico-489744.o
      _unic_lower in slnunico-489744.o
      _str_rep in slnunico-489744.o
      _str_reverse in slnunico-489744.o
      ...
  "_luaL_checkinteger", referenced from:
      _unic_char in slnunico-489744.o
      _str_rep in slnunico-489744.o
      _unic_sub in slnunico-489744.o
  "_luaL_checklstring", referenced from:
      _unic_byte in slnunico-489744.o
      _str_format in slnunico-489744.o
      _gmatch in slnunico-489744.o
      _unic_gsub in slnunico-489744.o
      _unic_len in slnunico-489744.o
      _unic_lower in slnunico-489744.o
      _str_rep in slnunico-489744.o
      ...
  "_luaL_checknumber", referenced from:
      _str_format in slnunico-489744.o
  "_luaL_checkstack", referenced from:
      _unic_byte in slnunico-489744.o
      _push_captures in slnunico-489744.o
  "_luaL_checktype", referenced from:
      _str_dump in slnunico-489744.o
  "_luaL_error", referenced from:
      _str_dump in slnunico-489744.o
      _str_format in slnunico-489744.o
      _gfind_nodef in slnunico-489744.o
      _unic_gsub in slnunico-489744.o
      _match in slnunico-489744.o
      _start_capture in slnunico-489744.o
      _push_onecapture in slnunico-489744.o
      ...
  "_luaL_openlib", referenced from:
      _luaopen_unicode in slnunico-489744.o
  "_luaL_optinteger", referenced from:
      _unic_byte in slnunico-489744.o
      _unic_gsub in slnunico-489744.o
      _unic_sub in slnunico-489744.o
      _unic_find_aux in slnunico-489744.o
  "_luaL_prepbuffsize", referenced from:
      _unic_char in slnunico-489744.o
      _str_format in slnunico-489744.o
      _unic_gsub in slnunico-489744.o
      _unic_lower in slnunico-489744.o
      _str_reverse in slnunico-489744.o
      _unic_upper in slnunico-489744.o
      _utf8_enco in slnunico-489744.o
      ...
  "_luaL_pushresult", referenced from:
      _unic_char in slnunico-489744.o
      _str_dump in slnunico-489744.o
      _str_format in slnunico-489744.o
      _unic_gsub in slnunico-489744.o
      _unic_lower in slnunico-489744.o
      _str_rep in slnunico-489744.o
      _str_reverse in slnunico-489744.o
      ...
  "_luaL_setfuncs", referenced from:
      _luaopen_unicode in slnunico-489744.o
  "_lua_callk", referenced from:
      _unic_gsub in slnunico-489744.o
  "_lua_createtable", referenced from:
      _luaopen_unicode in slnunico-489744.o
  "_lua_dump", referenced from:
      _str_dump in slnunico-489744.o
  "_lua_getglobal", referenced from:
      _luaopen_unicode in slnunico-489744.o
  "_lua_gettable", referenced from:
      _unic_gsub in slnunico-489744.o
  "_lua_gettop", referenced from:
      _unic_char in slnunico-489744.o
  "_lua_isstring", referenced from:
      _unic_gsub in slnunico-489744.o
  "_lua_pushcclosure", referenced from:
      _gmatch in slnunico-489744.o
  "_lua_pushinteger", referenced from:
      _luaopen_unicode in slnunico-489744.o
      _unic_byte in slnunico-489744.o
      _gmatch in slnunico-489744.o
      _unic_gsub in slnunico-489744.o
      _unic_len in slnunico-489744.o
      _unic_find_aux in slnunico-489744.o
      _push_onecapture in slnunico-489744.o
      ...
  "_lua_pushlstring", referenced from:
      _unic_gsub in slnunico-489744.o
      _unic_sub in slnunico-489744.o
      _push_onecapture in slnunico-489744.o
  "_lua_pushnil", referenced from:
      _unic_find_aux in slnunico-489744.o
  "_lua_pushvalue", referenced from:
      _str_format in slnunico-489744.o
      _unic_gsub in slnunico-489744.o
  "_lua_replace", referenced from:
      _gmatch_aux in slnunico-489744.o
  "_lua_setfield", referenced from:
      _luaopen_unicode in slnunico-489744.o
  "_lua_settop", referenced from:
      _luaopen_unicode in slnunico-489744.o
      _str_dump in slnunico-489744.o
      _gmatch in slnunico-489744.o
      _unic_gsub in slnunico-489744.o
  "_lua_toboolean", referenced from:
      _unic_gsub in slnunico-489744.o
      _unic_find_aux in slnunico-489744.o
  "_lua_tointegerx", referenced from:
      _unic_byte in slnunico-489744.o
      _unic_char in slnunico-489744.o
      _unic_gsub in slnunico-489744.o
      _unic_len in slnunico-489744.o
      _unic_lower in slnunico-489744.o
      _str_reverse in slnunico-489744.o
      _unic_sub in slnunico-489744.o
      ...
  "_lua_tolstring", referenced from:
      _unic_gsub in slnunico-489744.o
      _gmatch_aux in slnunico-489744.o
  "_lua_type", referenced from:
      _unic_gsub in slnunico-489744.o
  "_lua_typename", referenced from:
      _unic_gsub in slnunico-489744.o
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [unicode.so] Error code 1

bmake: stopped making "unicode.so" in /Users/pbulk/build/textproc/lua-slnunicode/work/slnunicode-1.1apl1
bmake: 1 error

bmake: stopped making "unicode.so" in /Users/pbulk/build/textproc/lua-slnunicode/work/slnunicode-1.1apl1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/textproc/lua-slnunicode
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/textproc/lua-slnunicode