{"action":"created","issue":{"url":"https://api.github.com/repos/eteran/edb-debugger/issues/213","labels_url":"https://api.github.com/repos/eteran/edb-debugger/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/eteran/edb-debugger/issues/213/comments","events_url":"https://api.github.com/repos/eteran/edb-debugger/issues/213/events","html_url":"https://github.com/eteran/edb-debugger/issues/213","id":105128887,"number":213,"title":"Build on Ubuntu 15.04 issue.","user":{"login":"losywee","id":11990999,"avatar_url":"https://avatars.githubusercontent.com/u/11990999?v=3","gravatar_id":"","url":"https://api.github.com/users/losywee","html_url":"https://github.com/losywee","followers_url":"https://api.github.com/users/losywee/followers","following_url":"https://api.github.com/users/losywee/following{/other_user}","gists_url":"https://api.github.com/users/losywee/gists{/gist_id}","starred_url":"https://api.github.com/users/losywee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/losywee/subscriptions","organizations_url":"https://api.github.com/users/losywee/orgs","repos_url":"https://api.github.com/users/losywee/repos","events_url":"https://api.github.com/users/losywee/events{/privacy}","received_events_url":"https://api.github.com/users/losywee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-09-07T01:21:58Z","updated_at":"2015-09-26T19:07:06Z","closed_at":"2015-09-26T19:07:06Z","body":"1. System environment:\r\ngcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13)\r\nQMake version 3.0\r\nUsing Qt version 5.5.0 in /opt/Qt/5.5/gcc_64/lib\r\n\r\n2. Error output:\r\n```bash\r\ncapstone-edb/Instruction.cpp: In member function ‘void CapstoneEDB::Instruction::fillPrefix()’:\r\ncapstone-edb/Instruction.cpp:71:18: error: ‘X86_PREFIX_LOCK’ is not a member of ‘CapstoneEDB::Capstone’\r\n  if(prefixes[0]==Capstone::X86_PREFIX_LOCK)\r\n                  ^\r\ncapstone-edb/Instruction.cpp:73:18: error: ‘X86_PREFIX_REP’ is not a member of ‘CapstoneEDB::Capstone’\r\n  if(prefixes[0]==Capstone::X86_PREFIX_REP)\r\n                  ^\r\ncapstone-edb/Instruction.cpp:75:18: error: ‘X86_PREFIX_REPNE’ is not a member of ‘CapstoneEDB::Capstone’\r\n  if(prefixes[0]==Capstone::X86_PREFIX_REPNE)\r\n                  ^\r\ncapstone-edb/Instruction.cpp:78:18: error: ‘X86_PREFIX_ES’ is not a member of ‘CapstoneEDB::Capstone’\r\n  if(prefixes[1]==Capstone::X86_PREFIX_ES)\r\n                  ^\r\ncapstone-edb/Instruction.cpp:80:18: error: ‘X86_PREFIX_CS’ is not a member of ‘CapstoneEDB::Capstone’\r\n  if(prefixes[1]==Capstone::X86_PREFIX_CS)\r\n                  ^\r\ncapstone-edb/Instruction.cpp:82:18: error: ‘X86_PREFIX_SS’ is not a member of ‘CapstoneEDB::Capstone’\r\n  if(prefixes[1]==Capstone::X86_PREFIX_SS)\r\n                  ^\r\ncapstone-edb/Instruction.cpp:84:18: error: ‘X86_PREFIX_DS’ is not a member of ‘CapstoneEDB::Capstone’\r\n  if(prefixes[1]==Capstone::X86_PREFIX_DS)\r\n                  ^\r\ncapstone-edb/Instruction.cpp:86:18: error: ‘X86_PREFIX_FS’ is not a member of ‘CapstoneEDB::Capstone’\r\n  if(prefixes[1]==Capstone::X86_PREFIX_FS)\r\n                  ^\r\ncapstone-edb/Instruction.cpp:88:18: error: ‘X86_PREFIX_GS’ is not a member of ‘CapstoneEDB::Capstone’\r\n  if(prefixes[1]==Capstone::X86_PREFIX_GS)\r\n                  ^\r\ncapstone-edb/Instruction.cpp:91:18: error: ‘X86_PREFIX_OPSIZE’ is not a member of ‘CapstoneEDB::Capstone’\r\n  if(prefixes[2]==Capstone::X86_PREFIX_OPSIZE)\r\n                  ^\r\ncapstone-edb/Instruction.cpp:93:18: error: ‘X86_PREFIX_ADDRSIZE’ is not a member of ‘CapstoneEDB::Capstone’\r\n  if(prefixes[3]==Capstone::X86_PREFIX_ADDRSIZE)\r\n                  ^\r\ncapstone-edb/Instruction.cpp: In constructor ‘CapstoneEDB::Instruction::Instruction(const void*, const void*, uint64_t, const std::nothrow_t&)’:\r\ncapstone-edb/Instruction.cpp:150:22: error: ‘cs_disasm’ is not a member of ‘CapstoneEDB::Capstone’\r\n     if(first<last && Capstone::cs_disasm(csh, codeBegin, codeEnd-codeBegin-1, rva, 1, &insn))\r\n                      ^\r\ncapstone-edb/Instruction.cpp:176:17: error: invalid conversion from ‘unsigned int’ to ‘CapstoneEDB::Operand::Register {aka CapstoneEDB::Capstone::x86_reg}’ [-fpermissive]\r\n     operand.reg_=ops[i].reg;\r\n                 ^\r\ncapstone-edb/Instruction.cpp:201:19: error: ‘CapstoneEDB::Capstone::cs_x86_op’ has no member named ‘size’\r\n     switch(ops[i].size)\r\n                   ^\r\ncapstone-edb/Instruction.cpp:211:19: error: ‘CapstoneEDB::Capstone::cs_x86_op’ has no member named ‘size’\r\n     switch(ops[i].size)\r\n                   ^\r\ncapstone-edb/Instruction.cpp: In member function ‘bool CapstoneEDB::Instruction::is_return() const’:\r\ncapstone-edb/Instruction.cpp:454:46: error: ‘X86_GRP_RET’ is not a member of ‘CapstoneEDB::Capstone’\r\n  return Capstone::cs_insn_group(csh, &insn_, Capstone::X86_GRP_RET);\r\n                                              ^\r\ncapstone-edb/Instruction.cpp: In member function ‘bool CapstoneEDB::Instruction::is_jump() const’:\r\ncapstone-edb/Instruction.cpp:480:68: error: invalid conversion from ‘const cs_insn* {aka const CapstoneEDB::Capstone::cs_insn*}’ to ‘CapstoneEDB::Capstone::cs_insn*’ [-fpermissive]\r\n  return Capstone::cs_insn_group(csh, &insn_, Capstone::X86_GRP_JUMP);\r\n                                                                    ^\r\nIn file included from ../src/capstone-edb/include/Instruction.h:31:0,\r\n                 from capstone-edb/Instruction.cpp:18:\r\n/usr/include/capstone/capstone.h:358:6: note: initializing argument 2 of ‘bool CapstoneEDB::Capstone::cs_insn_group(CapstoneEDB::Capstone::csh, CapstoneEDB::Capstone::cs_insn*, unsigned int)’\r\n bool cs_insn_group(csh handle, cs_insn *insn, unsigned int group_id);\r\n      ^\r\ncapstone-edb/Instruction.cpp: In member function ‘bool CapstoneEDB::Instruction::is_return() const’:\r\ncapstone-edb/Instruction.cpp:455:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n }\r\n ^\r\nMakefile:6821: recipe for target '.release-shared/obj/Instruction.o' failed\r\nmake[1]: *** [.release-shared/obj/Instruction.o] Error 1\r\nmake[1]: Leaving directory '/tmp/edb-debugger/src'\r\nMakefile:43: recipe for target 'sub-src-make_first' failed\r\nmake: *** [sub-src-make_first] Error 2\r\n```"},"comment":{"url":"https://api.github.com/repos/eteran/edb-debugger/issues/comments/143479982","html_url":"https://github.com/eteran/edb-debugger/issues/213#issuecomment-143479982","issue_url":"https://api.github.com/repos/eteran/edb-debugger/issues/213","id":143479982,"user":{"login":"eteran","id":571477,"avatar_url":"https://avatars.githubusercontent.com/u/571477?v=3","gravatar_id":"","url":"https://api.github.com/users/eteran","html_url":"https://github.com/eteran","followers_url":"https://api.github.com/users/eteran/followers","following_url":"https://api.github.com/users/eteran/following{/other_user}","gists_url":"https://api.github.com/users/eteran/gists{/gist_id}","starred_url":"https://api.github.com/users/eteran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteran/subscriptions","organizations_url":"https://api.github.com/users/eteran/orgs","repos_url":"https://api.github.com/users/eteran/repos","events_url":"https://api.github.com/users/eteran/events{/privacy}","received_events_url":"https://api.github.com/users/eteran/received_events","type":"User","site_admin":false},"created_at":"2015-09-26T19:07:06Z","updated_at":"2015-09-26T19:07:06Z","body":"Great, I will close this issue then.\r\n\r\nThanks!"}}