build issue ubuntu.
I see this when trying to build bcc on ubuntu , I followed Brendan's steps here "https://gist.github.com/brendangregg/cfa482acb71aa577789c#file-gistfile1-txt" which have worked ok before. This however is a new build on my own machine.
Some details
clang version 3.9.0 4.4.0-2-generic
root@henky:/var/tmp/bcc/build# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Xenial Xerus (development branch) Release: 16.04 Codename: xenial
root@henky:/var/tmp/bcc/build# make [ 5%] [FLEX][Lexer] Building scanner with flex 2.6.0 lexer.ll:110: warning, -s option given but default rule can be matched [ 10%] [BISON][Parser] Building parser with bison 3.0.4 parser.yy:19.9-17: warning: deprecated directive, use ‘%define api.namespace ebpf::cc’ [-Wdeprecated] %define namespace "ebpf::cc" ^^^^^^^^^ parser.yy:19.9-17: warning: %define variable 'api.namespace' requires '{...}' values [-Wdeprecated] %define namespace "ebpf::cc" ^^^^^^^^^ parser.yy:20.9-25: warning: %define variable 'parser_class_name' requires '{...}' values [-Wdeprecated] %define parser_class_name "BisonParser" ^^^^^^^^^^^^^^^^^ Scanning dependencies of target b_frontend [ 15%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/loader.cc.o [ 21%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/codegen_llvm.cc.o In file included from /var/tmp/bcc/src/cc/frontends/b/codegen_llvm.cc:40:0: /var/tmp/bcc/src/cc/frontends/b/type_helper.h: In function ‘size_t ebpf::cc::enum_to_size(ebpf::cc::FieldType)’: /var/tmp/bcc/src/cc/frontends/b/type_helper.h:39:35: error: ‘__uint128_t’ was not declared in this scope case UINT128_T: return sizeof(__uint128_t); ^ src/cc/frontends/b/CMakeFiles/b_frontend.dir/build.make:90: recipe for target 'src/cc/frontends/b/CMakeFiles/b_frontend.dir/codegen_llvm.cc.o' failed make[2]: *** [src/cc/frontends/b/CMakeFiles/b_frontend.dir/codegen_llvm.cc.o] Error 1 CMakeFiles/Makefile2:293: recipe for target 'src/cc/frontends/b/CMakeFiles/b_frontend.dir/all' failed make[1]: *** [src/cc/frontends/b/CMakeFiles/b_frontend.dir/all] Error 2 Makefile:126: recipe for target 'all' failed make: *** [all] Error 2
ah looks like I have the 32bit OS installed.