{"action":"created","issue":{"url":"https://api.github.com/repos/greensea/mptunnel/issues/6","repository_url":"https://api.github.com/repos/greensea/mptunnel","labels_url":"https://api.github.com/repos/greensea/mptunnel/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/greensea/mptunnel/issues/6/comments","events_url":"https://api.github.com/repos/greensea/mptunnel/issues/6/events","html_url":"https://github.com/greensea/mptunnel/issues/6","id":143206849,"number":6,"title":"在mac上，make失败，如何解决？","user":{"login":"luckypoem","id":1657864,"avatar_url":"https://avatars.githubusercontent.com/u/1657864?v=3","gravatar_id":"","url":"https://api.github.com/users/luckypoem","html_url":"https://github.com/luckypoem","followers_url":"https://api.github.com/users/luckypoem/followers","following_url":"https://api.github.com/users/luckypoem/following{/other_user}","gists_url":"https://api.github.com/users/luckypoem/gists{/gist_id}","starred_url":"https://api.github.com/users/luckypoem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckypoem/subscriptions","organizations_url":"https://api.github.com/users/luckypoem/orgs","repos_url":"https://api.github.com/users/luckypoem/repos","events_url":"https://api.github.com/users/luckypoem/events{/privacy}","received_events_url":"https://api.github.com/users/luckypoem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-24T10:13:16Z","updated_at":"2016-03-25T13:23:59Z","closed_at":null,"body":"hi.\r\n我之前已用brew install libev安装了libev.\r\n\r\nyudeMacBook-Air:mptunnel brite$ ls\r\nLICENSE\t\t\tclient.sample.conf\trbtree.c\r\nMakefile\t\tlinklist.h\t\trbtree.d\r\nREADME.md\t\tmptunnel.c\t\trbtree.h\r\nREADME.zh_CN.md\t\tmptunnel.d\t\tserver.c\r\nbuffer.h\t\tmptunnel.h\t\tserver.d\r\nclient.c\t\tnet.c\t\t\tserver.h\r\nclient.d\t\tnet.d\r\nclient.h\t\tnet.h\r\nyudeMacBook-Air:mptunnel brite$ make\r\ngcc -g -Wall -I/usr/include/libev   -c -o client.o client.c\r\nIn file included from client.c:17:\r\n./mptunnel.h:114:6: error: conflicting types for 'encrypt'\r\nvoid encrypt(char* _buf, int _size, uint32_t*);\r\n     ^\r\n/usr/include/unistd.h:544:7: note: previous declaration is here\r\nvoid     encrypt(char *, int) __DARWIN_ALIAS(encrypt);\r\n         ^\r\n1 error generated.\r\nmake: *** [client.o] Error 1\r\nyudeMacBook-Air:mptunnel brite$\r\n\r\ntks"},"comment":{"url":"https://api.github.com/repos/greensea/mptunnel/issues/comments/201274815","html_url":"https://github.com/greensea/mptunnel/issues/6#issuecomment-201274815","issue_url":"https://api.github.com/repos/greensea/mptunnel/issues/6","id":201274815,"user":{"login":"luckypoem","id":1657864,"avatar_url":"https://avatars.githubusercontent.com/u/1657864?v=3","gravatar_id":"","url":"https://api.github.com/users/luckypoem","html_url":"https://github.com/luckypoem","followers_url":"https://api.github.com/users/luckypoem/followers","following_url":"https://api.github.com/users/luckypoem/following{/other_user}","gists_url":"https://api.github.com/users/luckypoem/gists{/gist_id}","starred_url":"https://api.github.com/users/luckypoem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckypoem/subscriptions","organizations_url":"https://api.github.com/users/luckypoem/orgs","repos_url":"https://api.github.com/users/luckypoem/repos","events_url":"https://api.github.com/users/luckypoem/events{/privacy}","received_events_url":"https://api.github.com/users/luckypoem/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T13:23:59Z","updated_at":"2016-03-25T13:23:59Z","body":"很奇怪，我之前在vps上可以make成功，为何在mac上却 make失败呢？"}}