{"action":"created","issue":{"url":"https://api.github.com/repos/wandoulabs/codis/issues/132","labels_url":"https://api.github.com/repos/wandoulabs/codis/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/wandoulabs/codis/issues/132/comments","events_url":"https://api.github.com/repos/wandoulabs/codis/issues/132/events","html_url":"https://github.com/wandoulabs/codis/issues/132","id":59926327,"number":132,"title":"编译 codis出现编译错误","user":{"login":"anywhy","id":3348959,"avatar_url":"https://avatars.githubusercontent.com/u/3348959?v=3","gravatar_id":"","url":"https://api.github.com/users/anywhy","html_url":"https://github.com/anywhy","followers_url":"https://api.github.com/users/anywhy/followers","following_url":"https://api.github.com/users/anywhy/following{/other_user}","gists_url":"https://api.github.com/users/anywhy/gists{/gist_id}","starred_url":"https://api.github.com/users/anywhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anywhy/subscriptions","organizations_url":"https://api.github.com/users/anywhy/orgs","repos_url":"https://api.github.com/users/anywhy/repos","events_url":"https://api.github.com/users/anywhy/events{/privacy}","received_events_url":"https://api.github.com/users/anywhy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-05T09:32:53Z","updated_at":"2015-03-06T05:45:24Z","closed_at":null,"body":"go build -o bin/codis-proxy ./cmd/proxy\r\ngo build -o bin/codis-config ./cmd/cconfig\r\nmake -j4 -C extern/redis-2.8.13/\r\nmake[1]: Entering directory `/test/codis-redis/src/github.com/wandoulabs/codis/extern/redis-2.8.13'\r\ncd src && make all\r\nmake[2]: Entering directory `/test/codis-redis/src/github.com/wandoulabs/codis/extern/redis-2.8.13/src'\r\n    LINK redis-server\r\n    LINK redis-cli\r\n/usr/bin/ld: Dwarf Error: found dwarf version '3', this reader only handles version 2 information.\r\n../deps/linenoise/linenoise.o: In function `getCursorPosition.clone.2':\r\nlinenoise.c:(.text+0xbc0): undefined reference to `__isoc99_sscanf'\r\ncollect2: ld returned 1 exit status\r\nmake[2]: *** [redis-cli] Error 1\r\nmake[2]: *** Waiting for unfinished jobs....\r\n/usr/bin/ld: Dwarf Error: found dwarf version '3', this reader only handles version 2 information.\r\nreplication.o: In function `readSyncBulkPayload':\r\nreplication.c:(.text+0x189a): undefined reference to `sync_file_range'\r\ncollect2: ld returned 1 exit status\r\nmake[2]: *** [redis-server] Error 1\r\nmake[2]: Leaving directory `/bonc/codis-redis/src/github.com/wandoulabs/codis/extern/redis-2.8.13/src'\r\nmake[1]: *** [all] Error 2\r\nmake[1]: Leaving directory `/bonc/codis-redis/src/github.com/wandoulabs/codis/extern/redis-2.8.13'\r\nmake: *** [build-server] Error 2\r\n\r\n系统信息：\r\nLSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch\r\nDistributor ID: RedHatEnterpriseServer\r\nDescription:    Red Hat Enterprise Linux Server release 5.5 (Tikanga)\r\nRelease:        5.5\r\nCodename:       Tikanga\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wandoulabs/codis/issues/comments/77510063","html_url":"https://github.com/wandoulabs/codis/issues/132#issuecomment-77510063","issue_url":"https://api.github.com/repos/wandoulabs/codis/issues/132","id":77510063,"user":{"login":"ngaut","id":878009,"avatar_url":"https://avatars.githubusercontent.com/u/878009?v=3","gravatar_id":"","url":"https://api.github.com/users/ngaut","html_url":"https://github.com/ngaut","followers_url":"https://api.github.com/users/ngaut/followers","following_url":"https://api.github.com/users/ngaut/following{/other_user}","gists_url":"https://api.github.com/users/ngaut/gists{/gist_id}","starred_url":"https://api.github.com/users/ngaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngaut/subscriptions","organizations_url":"https://api.github.com/users/ngaut/orgs","repos_url":"https://api.github.com/users/ngaut/repos","events_url":"https://api.github.com/users/ngaut/events{/privacy}","received_events_url":"https://api.github.com/users/ngaut/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T05:45:24Z","updated_at":"2015-03-06T05:45:24Z","body":"Try using original redis-2.8.13/deps to replace codis/extern/redis-2.8.13/deps, then build"}}