{"action":"opened","issue":{"url":"https://api.github.com/repos/jvm-profiling-tools/async-profiler/issues/86","repository_url":"https://api.github.com/repos/jvm-profiling-tools/async-profiler","labels_url":"https://api.github.com/repos/jvm-profiling-tools/async-profiler/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/jvm-profiling-tools/async-profiler/issues/86/comments","events_url":"https://api.github.com/repos/jvm-profiling-tools/async-profiler/issues/86/events","html_url":"https://github.com/jvm-profiling-tools/async-profiler/issues/86","id":298216622,"number":86,"title":"Compile error on alpine linux","user":{"login":"jeroentervoorde","id":3625507,"avatar_url":"https://avatars0.githubusercontent.com/u/3625507?v=4","gravatar_id":"","url":"https://api.github.com/users/jeroentervoorde","html_url":"https://github.com/jeroentervoorde","followers_url":"https://api.github.com/users/jeroentervoorde/followers","following_url":"https://api.github.com/users/jeroentervoorde/following{/other_user}","gists_url":"https://api.github.com/users/jeroentervoorde/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroentervoorde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroentervoorde/subscriptions","organizations_url":"https://api.github.com/users/jeroentervoorde/orgs","repos_url":"https://api.github.com/users/jeroentervoorde/repos","events_url":"https://api.github.com/users/jeroentervoorde/events{/privacy}","received_events_url":"https://api.github.com/users/jeroentervoorde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-19T09:57:50Z","updated_at":"2018-02-19T09:57:50Z","closed_at":null,"author_association":"NONE","body":"Compilation fails with this error:\r\n\r\ng++ -O2 -I/opt/jdk/include -I/opt/jdk/include/linux -fPIC -shared -o build/libasyncProfiler.so src/*.cpp -ldl -lpthread\r\nIn file included from /usr/include/limits.h:8:0,\r\n                 from /usr/include/sys/param.h:33,\r\n                 from src/profiler.cpp:23:\r\nsrc/arch.h:23:21: error: expected unqualified-id before numeric constant\r\n const unsigned long PAGE_SIZE = 4096;\r\n                     ^\r\nmake: *** [Makefile:34: build/libasyncProfiler.so] Error 1\r\n\r\nPage size is defined in /usr/include/bits/limits.h and set to 4096.\r\n\r\nThis fixes it:\r\nhttps://github.com/jvm-profiling-tools/async-profiler/pull/85"}}
{"actor":{"display_login":"jeroentervoorde"}}