{"action":"closed","issue":{"url":"https://api.github.com/repos/hyrathb/mentohust/issues/285","repository_url":"https://api.github.com/repos/hyrathb/mentohust","labels_url":"https://api.github.com/repos/hyrathb/mentohust/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/hyrathb/mentohust/issues/285/comments","events_url":"https://api.github.com/repos/hyrathb/mentohust/issues/285/events","html_url":"https://github.com/hyrathb/mentohust/issues/285","id":182003067,"number":285,"title":"macOS 10.12 下无法编译","user":{"login":"balthild","id":2662758,"avatar_url":"https://avatars.githubusercontent.com/u/2662758?v=3","gravatar_id":"","url":"https://api.github.com/users/balthild","html_url":"https://github.com/balthild","followers_url":"https://api.github.com/users/balthild/followers","following_url":"https://api.github.com/users/balthild/following{/other_user}","gists_url":"https://api.github.com/users/balthild/gists{/gist_id}","starred_url":"https://api.github.com/users/balthild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balthild/subscriptions","organizations_url":"https://api.github.com/users/balthild/orgs","repos_url":"https://api.github.com/users/balthild/repos","events_url":"https://api.github.com/users/balthild/events{/privacy}","received_events_url":"https://api.github.com/users/balthild/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-10T12:31:12Z","updated_at":"2016-10-10T12:36:19Z","closed_at":"2016-10-10T12:36:19Z","body":"```\r\n$ make -j4\r\n/Library/Developer/CommandLineTools/usr/bin/make  all-recursive\r\nMaking all in src\r\n  CC       myini.o\r\n  CC       md5.o\r\n  CC       mycheck.o\r\n  CC       dlfunc.o\r\n  CC       myfunc.o\r\n  CC       mystate.o\r\nmystate.c:304:13: warning: assigning to 'unsigned char *' from 'const unsigned char [503]' discards\r\n      qualifiers [-Wincompatible-pointer-types-discards-qualifiers]\r\n                pkt_start = pkt1;\r\n                          ^ ~~~~\r\nmystate.c:305:16: warning: assigning to 'unsigned char *' from 'const unsigned char [503]' discards\r\n      qualifiers [-Wincompatible-pointer-types-discards-qualifiers]\r\n                pkt_identity = pkt2;\r\n                             ^ ~~~~\r\nmystate.c:306:11: warning: assigning to 'unsigned char *' from 'const unsigned char [519]' discards\r\n      qualifiers [-Wincompatible-pointer-types-discards-qualifiers]\r\n                pkt_md5 = pkt3;\r\n                        ^ ~~~~\r\n  CC       myconfig.o\r\n  CC       mentohust.o\r\n3 warnings generated.\r\n  CC       byte_order.o\r\n  CC       checkV4.o\r\nmyconfig.c:855:7: warning: 'daemon' is deprecated: first deprecated in macOS 10.5 - Use posix_spawn\r\n      APIs instead. [-Wdeprecated-declarations]\r\n                if (daemon(0, (daemonMode+1)%2))\r\n                    ^\r\n/usr/include/stdlib.h:285:6: note: 'daemon' has been explicitly marked deprecated here\r\nint      daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_...\r\n         ^\r\n  CC       rjmd5.o\r\n  CC       rjripemd128.o\r\n  CC       rjsha1.o\r\n  CC       rjtiger.o\r\n  CC       rjtiger_sbox.o\r\n1 warning generated.\r\n  CC       rjwhirlpool.o\r\n  CC       rjwhirlpool_sbox.o\r\n  CCLD     mentohust\r\nUndefined symbols for architecture x86_64:\r\n  \"_libintl_gettext\", referenced from:\r\n      _load_libpcap in dlfunc.o\r\n      _show_notify in dlfunc.o\r\n      _printSuConfig in myfunc.o\r\n      _newBuffer in myfunc.o\r\n      _fillHeader in myfunc.o\r\n      _readPacket in myfunc.o\r\n      _Check in myfunc.o\r\n      ...\r\n  \"_libintl_setlocale\", referenced from:\r\n      _main in mentohust.o\r\n  \"_libintl_textdomain\", referenced from:\r\n      _main in mentohust.o\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake[2]: *** [mentohust] Error 1\r\nmake[1]: *** [all-recursive] Error 1\r\nmake: *** [all] Error 2\r\n```"}}
{"actor":{"display_login":"balthild"}}