{"action":"created","issue":{"url":"https://api.github.com/repos/babelouest/ulfius/issues/56","repository_url":"https://api.github.com/repos/babelouest/ulfius","labels_url":"https://api.github.com/repos/babelouest/ulfius/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/babelouest/ulfius/issues/56/comments","events_url":"https://api.github.com/repos/babelouest/ulfius/issues/56/events","html_url":"https://github.com/babelouest/ulfius/issues/56","id":343572052,"node_id":"MDU6SXNzdWUzNDM1NzIwNTI=","number":56,"title":"FreeBSD: Error while building caused by Linux Poll ","user":{"login":"bluecub","id":26637441,"node_id":"MDQ6VXNlcjI2NjM3NDQx","avatar_url":"https://avatars2.githubusercontent.com/u/26637441?v=4","gravatar_id":"","url":"https://api.github.com/users/bluecub","html_url":"https://github.com/bluecub","followers_url":"https://api.github.com/users/bluecub/followers","following_url":"https://api.github.com/users/bluecub/following{/other_user}","gists_url":"https://api.github.com/users/bluecub/gists{/gist_id}","starred_url":"https://api.github.com/users/bluecub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluecub/subscriptions","organizations_url":"https://api.github.com/users/bluecub/orgs","repos_url":"https://api.github.com/users/bluecub/repos","events_url":"https://api.github.com/users/bluecub/events{/privacy}","received_events_url":"https://api.github.com/users/bluecub/received_events","type":"User","site_admin":false},"labels":[{"id":280865958,"node_id":"MDU6TGFiZWwyODA4NjU5NTg=","url":"https://api.github.com/repos/babelouest/ulfius/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":988251961,"node_id":"MDU6TGFiZWw5ODgyNTE5NjE=","url":"https://api.github.com/repos/babelouest/ulfius/labels/need%20info","name":"need info","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-07-23T10:16:51Z","updated_at":"2018-07-26T12:31:07Z","closed_at":null,"author_association":"NONE","body":"Hi again,\r\nI asked you sometime ago about building ulfius on FreeBSD and we got the cmake working yet I have been super busy since then.\r\nNow I’m looking at the library again so returned to the code and all seems fine, I decided to use the normal make (not cmake and just updated the clags and lib to include /usr/local/lib and /usr/local/include - would be easier for me in the future to port to FreeBSD port system).\r\n\r\nBoth orcania and yder were built fine (and created symbolic links for the libs will add that to make later)\r\nyet when I arrived to last make command, it threw an error (last time I had the same issue when I was working on cmake as well).\r\n\r\nThanks so much...\r\n\r\n> /home/code/app/lib/ulfius >gmake && sudo gmake install\r\ncd ./src && gmake   \r\ngmake[1]: Entering directory '/usr/home/code/app/lib/ulfius/src'\r\ncc -c -pedantic -std=gnu99 -fPIC -Wall -D_REENTRANT -I/usr/local/include -I../include -I../lib/orcania/src -I../lib/yder/src -O3     -I/usr/local/include ulfius.c\r\ncc -c -pedantic -std=gnu99 -fPIC -Wall -D_REENTRANT -I/usr/local/include -I../include -I../lib/orcania/src -I../lib/yder/src -O3     -I/usr/local/include u_map.c\r\ncc -c -pedantic -std=gnu99 -fPIC -Wall -D_REENTRANT -I/usr/local/include -I../include -I../lib/orcania/src -I../lib/yder/src -O3     -I/usr/local/include u_request.c\r\ncc -c -pedantic -std=gnu99 -fPIC -Wall -D_REENTRANT -I/usr/local/include -I../include -I../lib/orcania/src -I../lib/yder/src -O3     -I/usr/local/include u_response.c\r\ncc -c -pedantic -std=gnu99 -fPIC -Wall -D_REENTRANT -I/usr/local/include -I../include -I../lib/orcania/src -I../lib/yder/src -O3     -I/usr/local/include u_send_request.c\r\ncc -c -pedantic -std=gnu99 -fPIC -Wall -D_REENTRANT -I/usr/local/include -I../include -I../lib/orcania/src -I../lib/yder/src -O3     -I/usr/local/include u_websocket.c\r\nu_websocket.c:151:67: error: use of undeclared identifier 'POLLRDHUP'\r\n          } else if (websocket->websocket_manager->fds.revents & (POLLRDHUP|POLLERR|POLLHUP|POLLNVAL)) {\r\n                                                                  ^\r\nu_websocket.c:224:59: error: use of undeclared identifier 'POLLRDHUP'\r\n      websocket->websocket_manager->fds.events = POLLIN | POLLRDHUP;\r\n                                                          ^\r\nu_websocket.c:516:54: error: use of undeclared identifier 'POLLRDHUP'\r\n      } else if (!(websocket_manager->fds.revents & (POLLRDHUP|POLLERR|POLLHUP|POLLNVAL)) && poll_ret > 0) {\r\n                                                     ^\r\n3 errors generated.\r\ngmake[1]: *** [Makefile:66: u_websocket.o] Error 1\r\ngmake[1]: Leaving directory '/usr/home/code/app/lib/ulfius/src'\r\ngmake: *** [Makefile:53: libulfius.so] Error 2\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/babelouest/ulfius/issues/comments/408081282","html_url":"https://github.com/babelouest/ulfius/issues/56#issuecomment-408081282","issue_url":"https://api.github.com/repos/babelouest/ulfius/issues/56","id":408081282,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODA4MTI4Mg==","user":{"login":"bluecub","id":26637441,"node_id":"MDQ6VXNlcjI2NjM3NDQx","avatar_url":"https://avatars2.githubusercontent.com/u/26637441?v=4","gravatar_id":"","url":"https://api.github.com/users/bluecub","html_url":"https://github.com/bluecub","followers_url":"https://api.github.com/users/bluecub/followers","following_url":"https://api.github.com/users/bluecub/following{/other_user}","gists_url":"https://api.github.com/users/bluecub/gists{/gist_id}","starred_url":"https://api.github.com/users/bluecub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluecub/subscriptions","organizations_url":"https://api.github.com/users/bluecub/orgs","repos_url":"https://api.github.com/users/bluecub/repos","events_url":"https://api.github.com/users/bluecub/events{/privacy}","received_events_url":"https://api.github.com/users/bluecub/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T12:31:07Z","updated_at":"2018-07-26T12:31:07Z","author_association":"NONE","body":"Sure, Will work on it tomorrow and confirm. Almost there.."}}
{"actor":{"display_login":"bluecub"}}