[ 0%] Built target fastlz [ 0%] Built target afdt [ 5%] Built target mbfl [ 6%] Built target sqlite3 [ 6%] Built target timelib [ 6%] Built target lz4 [ 6%] Built target double-conversion [ 9%] Built target folly [ 15%] Built target zip_static [ 16%] Built target hphp_thrift [ 17%] Built target hphp_proxygen Linking CXX executable gen-class-map /usr/lib/gcc/x86_64-linux-gnu/4.8/libstdc++.a(functexcept.o): In function `std::__throw_logic_error(char const*)': (.text._ZSt19__throw_logic_errorPKc+0x0): multiple definition of `std::__throw_logic_error(char const*)' ../../../third-party/folly/libfolly.a(FunctionalExcept.cpp.o):FunctionalExcept.cpp:(.text+0x90): first defined here /usr/lib/gcc/x86_64-linux-gnu/4.8/libstdc++.a(functexcept.o): In function `std::__throw_length_error(char const*)': (.text._ZSt20__throw_length_errorPKc+0x0): multiple definition of `std::__throw_length_error(char const*)' ../../../third-party/folly/libfolly.a(FunctionalExcept.cpp.o):FunctionalExcept.cpp:(.text+0x0): first defined here /usr/lib/gcc/x86_64-linux-gnu/4.8/libstdc++.a(functexcept.o): In function `std::__throw_out_of_range(char const*)': (.text._ZSt20__throw_out_of_rangePKc+0x0): multiple definition of `std::__throw_out_of_range(char const*)' ../../../third-party/folly/libfolly.a(FunctionalExcept.cpp.o):FunctionalExcept.cpp:(.text+0x120): first defined here collect2: error: ld returned 1 exit status make[2]: *** [hphp/tools/bootstrap/gen-class-map] Error 1 make[1]: *** [hphp/tools/bootstrap/CMakeFiles/gen-class-map.dir/all] Error 2 make: *** [all] Error 2