{"action":"opened","issue":{"url":"https://api.github.com/repos/iovisor/bcc/issues/597","repository_url":"https://api.github.com/repos/iovisor/bcc","labels_url":"https://api.github.com/repos/iovisor/bcc/issues/597/labels{/name}","comments_url":"https://api.github.com/repos/iovisor/bcc/issues/597/comments","events_url":"https://api.github.com/repos/iovisor/bcc/issues/597/events","html_url":"https://github.com/iovisor/bcc/issues/597","id":163499541,"number":597,"title":"compile error /bcc/src/cc/frontends/clang/b_frontend_action.cc:268:24: error: ‘class clang::FunctionDecl’ has no member named ‘params’","user":{"login":"liubogithub","id":1333762,"avatar_url":"https://avatars.githubusercontent.com/u/1333762?v=3","gravatar_id":"","url":"https://api.github.com/users/liubogithub","html_url":"https://github.com/liubogithub","followers_url":"https://api.github.com/users/liubogithub/followers","following_url":"https://api.github.com/users/liubogithub/following{/other_user}","gists_url":"https://api.github.com/users/liubogithub/gists{/gist_id}","starred_url":"https://api.github.com/users/liubogithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liubogithub/subscriptions","organizations_url":"https://api.github.com/users/liubogithub/orgs","repos_url":"https://api.github.com/users/liubogithub/repos","events_url":"https://api.github.com/users/liubogithub/events{/privacy}","received_events_url":"https://api.github.com/users/liubogithub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-02T03:21:15Z","updated_at":"2016-07-02T03:21:15Z","closed_at":null,"body":"[root@localhost build]# make\r\nScanning dependencies of target clang_frontend\r\n[  2%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/loader.cc.o\r\n[  4%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o\r\n/home/bcc/src/cc/frontends/clang/b_frontend_action.cc: In member function ‘bool ebpf::BTypeVisitor::VisitFunctionDecl(clang::FunctionDecl*)’:\r\n/home/bcc/src/cc/frontends/clang/b_frontend_action.cc:268:24: error: ‘class clang::FunctionDecl’ has no member named ‘params’\r\n     for (auto arg : D->params()) {\r\n                        ^\r\nmake[2]: *** [src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o] Error 1\r\nmake[1]: *** [src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n\r\n----------\r\nI compiled llvm and clang by following INSTALL.md and I checked that there is no '->params' in the definition of FunctionDecl (in llvm/tools/clang/include/clang/AST/).\r\n\r\nAm I missing anything important?"}}
{"actor":{"display_login":"liubogithub"}}