{"action":"closed","issue":{"url":"https://api.github.com/repos/sbates130272/libcapi/issues/1","labels_url":"https://api.github.com/repos/sbates130272/libcapi/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/sbates130272/libcapi/issues/1/comments","events_url":"https://api.github.com/repos/sbates130272/libcapi/issues/1/events","html_url":"https://github.com/sbates130272/libcapi/issues/1","id":68133923,"number":1,"title":"Could not find misc/cxl.h, this is required by the PSLSE code.","user":{"login":"jameyhicks","id":2439091,"avatar_url":"https://avatars.githubusercontent.com/u/2439091?v=3","gravatar_id":"","url":"https://api.github.com/users/jameyhicks","html_url":"https://github.com/jameyhicks","followers_url":"https://api.github.com/users/jameyhicks/followers","following_url":"https://api.github.com/users/jameyhicks/following{/other_user}","gists_url":"https://api.github.com/users/jameyhicks/gists{/gist_id}","starred_url":"https://api.github.com/users/jameyhicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameyhicks/subscriptions","organizations_url":"https://api.github.com/users/jameyhicks/orgs","repos_url":"https://api.github.com/users/jameyhicks/repos","events_url":"https://api.github.com/users/jameyhicks/events{/privacy}","received_events_url":"https://api.github.com/users/jameyhicks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-13T16:05:30Z","updated_at":"2015-04-13T16:16:08Z","closed_at":"2015-04-13T16:16:08Z","body":"I copied linux/include/misc/cxl.h to my include path, as directed, but wscript still fails to configure the source tree.\r\n\r\nThe compiler is finding the file, but there are warnings during compilation and -Werror was added to the compiler flags, so it fails to configure:\r\n\r\n    err: In file included from ../test.c:1:0:\r\n    /home/ubuntu/capi-textswap/libs/capi/inc/misc/cxl.h:43:1: error: unknown type name ‘bool’\r\n     static inline bool cxl_ctx_in_use(void) { return false; }\r\n     ^\r\n    /home/ubuntu/capi-textswap/libs/capi/inc/misc/cxl.h: In function ‘cxl_ctx_in_use’:\r\n    /home/ubuntu/capi-textswap/libs/capi/inc/misc/cxl.h:43:50: error: ‘false’ undeclared (first use in this function)\r\n     static inline bool cxl_ctx_in_use(void) { return false; }\r\n                                                      ^\r\n    /home/ubuntu/capi-textswap/libs/capi/inc/misc/cxl.h:43:50: note: each undeclared identifier is reported only once for each function it appears in\r\n    /home/ubuntu/capi-textswap/libs/capi/inc/misc/cxl.h: At top level:\r\n    /home/ubuntu/capi-textswap/libs/capi/inc/misc/cxl.h:44:37: error: ‘struct mm_struct’ declared inside parameter list [-Werror]\r\n     static inline void cxl_slbia(struct mm_struct *mm) {}\r\n                                         ^\r\n    /home/ubuntu/capi-textswap/libs/capi/inc/misc/cxl.h:44:37: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]\r\n    cc1: all warnings being treated as errors\r\n"}}