Have you tried deleting the gen-cpp directory and rebuilding with "./buildall" ?
On Wed, Apr 4, 2018 at 11:33 AM, Yang Su <yang...@gmx.ch> wrote: > Dear all, > > I try to build impala on a Ubuntu box: 16.04.1-Ubuntu x86_64. > > I ran bin/bootstrap_development.sh. It failed with the following error > message: > > [ 17%] Building CXX object be/src/kudu/rpc/CMakeFiles/ > protoc-gen-krpc.dir/protoc-gen-krpc.cc.o > [ 17%] Building CXX object be/src/kudu/rpc/CMakeFiles/ > protoc-gen-krpc.dir/__/__/common/kudu_version.cc.o > In file included from /home/ysu/Impala/be/src/common/kudu_version.cc:20:0: > /home/ysu/Impala/be/src/common/status.h:28:50: fatal error: > gen-cpp/Status_types.h: No such file or directory > #include "gen-cpp/Status_types.h" // for TStatus > ^ > compilation terminated. > be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/build.make:86: recipe for > target > 'be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/__/__/common/kudu_version.cc.o' > failed > make[2]: *** > [be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/__/__/common/kudu_version.cc.o] > Error 1 > CMakeFiles/Makefile2:3261: recipe for target > 'be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/all' > failed > make[1]: *** [be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/all] Error 2 > Makefile:94: recipe for target 'all' failed > make: *** [all] Error 2 > Error in /home/ysu/Impala/bin/make_impala.sh at line 178: ${MAKE_CMD} > ${MAKE_ARGS} > > > It seems that gen-cpp directory is not properly populated. Has anyone > encountered the same problem and how did you solve it? > > Thank you and best regards, > Yang >