{"action":"created","issue":{"url":"https://api.github.com/repos/swoole/swoole-src/issues/317","labels_url":"https://api.github.com/repos/swoole/swoole-src/issues/317/labels{/name}","comments_url":"https://api.github.com/repos/swoole/swoole-src/issues/317/comments","events_url":"https://api.github.com/repos/swoole/swoole-src/issues/317/events","html_url":"https://github.com/swoole/swoole-src/issues/317","id":96737600,"number":317,"title":"CPU_SET doesn't always exists","user":{"login":"remicollet","id":270445,"avatar_url":"https://avatars.githubusercontent.com/u/270445?v=3","gravatar_id":"","url":"https://api.github.com/users/remicollet","html_url":"https://github.com/remicollet","followers_url":"https://api.github.com/users/remicollet/followers","following_url":"https://api.github.com/users/remicollet/following{/other_user}","gists_url":"https://api.github.com/users/remicollet/gists{/gist_id}","starred_url":"https://api.github.com/users/remicollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remicollet/subscriptions","organizations_url":"https://api.github.com/users/remicollet/orgs","repos_url":"https://api.github.com/users/remicollet/repos","events_url":"https://api.github.com/users/remicollet/events{/privacy}","received_events_url":"https://api.github.com/users/remicollet/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-23T05:51:16Z","updated_at":"2015-07-28T11:46:08Z","closed_at":"2015-07-28T11:46:08Z","body":"Hi,\r\n\r\nBuilding RPM packages of swoole 1.7.18, I notice this issue in RHEL/CentOS 5\r\n\r\nBuildtime:\r\n\r\n    swoole_process.c:737: warning: implicit declaration of function 'CPU_ZERO'\r\n    swoole_process.c:746: warning: implicit declaration of function 'CPU_SET'\r\n    swoole_process.c:749: warning: implicit declaration of function 'sched_setaffinity'\r\n    swoole_server.c:1330: warning: implicit declaration of function 'strndup'\r\n\r\nRuntime:\r\n\r\n    PHP Warning:  PHP Startup: Unable to load dynamic library 'modules/swoole.so' - modules/swoole.so: undefined symbol: CPU_SET in Unknown on line 0\r\n\r\n(in previous versions, arch need to be set to i686, as i386 was also broken)\r\n\r\nI understand RHEL/CentOS 5 is really old.. more recent version (6 and 7) are ok.\r\nSo mostly, only for your information."},"comment":{"url":"https://api.github.com/repos/swoole/swoole-src/issues/comments/125571283","html_url":"https://github.com/swoole/swoole-src/issues/317#issuecomment-125571283","issue_url":"https://api.github.com/repos/swoole/swoole-src/issues/317","id":125571283,"user":{"login":"matyhtf","id":2017766,"avatar_url":"https://avatars.githubusercontent.com/u/2017766?v=3","gravatar_id":"","url":"https://api.github.com/users/matyhtf","html_url":"https://github.com/matyhtf","followers_url":"https://api.github.com/users/matyhtf/followers","following_url":"https://api.github.com/users/matyhtf/following{/other_user}","gists_url":"https://api.github.com/users/matyhtf/gists{/gist_id}","starred_url":"https://api.github.com/users/matyhtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matyhtf/subscriptions","organizations_url":"https://api.github.com/users/matyhtf/orgs","repos_url":"https://api.github.com/users/matyhtf/repos","events_url":"https://api.github.com/users/matyhtf/events{/privacy}","received_events_url":"https://api.github.com/users/matyhtf/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T11:46:08Z","updated_at":"2015-07-28T11:46:08Z","body":"Ok, I will update the readme at later. Thank you. \r\n:)"}}