[ 0%] Running C++/Python protocol buffer compiler on /home/fei/mor0146/caffe/caffe/src/caffe/proto/caffe.proto Scanning dependencies of target caffeproto [ 1%] Building CXX object src/caffe/CMakeFiles/caffeproto.dir/__/__/include/caffe/proto/caffe.pb.cc.o [ 1%] Linking CXX static library ../../lib/libcaffeproto.a [ 1%] Built target caffeproto [ 2%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/util/cuda_compile_1_generated_math_functions.cu.o [ 4%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_base_data_layer.cu.o [ 4%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_bnll_layer.cu.o [ 4%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_conv_layer.cu.o [ 4%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_batch_norm_layer.cu.o [ 5%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_crop_layer.cu.o [ 5%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_absval_layer.cu.o [ 5%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_accuracy_layer.cu.o [ 6%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_bias_layer.cu.o [ 6%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_concat_layer.cu.o [ 8%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_contrastive_loss_layer.cu.o [ 9%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_tanh_layer.cu.o [ 11%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_sigmoid_layer.cu.o [ 12%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_lrn_layer.cu.o [ 12%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_relu_layer.cu.o [ 12%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_pooling_layer.cu.o [ 12%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_batch_reindex_layer.cu.o [ 12%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_conv_layer.cu.o [ 12%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_lcn_layer.cu.o [ 12%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_softmax_layer.cu.o [ 12%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_deconv_layer.cu.o [ 12%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_dropout_layer.cu.o [ 13%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_eltwise_layer.cu.o [ 13%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_elu_layer.cu.o [ 13%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_embed_layer.cu.o [ 15%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_euclidean_loss_layer.cu.o [ 15%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_exp_layer.cu.o [ 16%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_filter_layer.cu.o [ 16%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_hdf5_data_layer.cu.o [ 16%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_hdf5_output_layer.cu.o [ 18%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_im2col_layer.cu.o [ 18%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_inner_product_layer.cu.o [ 18%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_log_layer.cu.o [ 19%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_lrn_layer.cu.o [ 19%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_lstm_unit_layer.cu.o [ 20%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_mvn_layer.cu.o [ 20%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_pooling_layer.cu.o [ 20%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_power_layer.cu.o [ 22%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_prelu_layer.cu.o [ 22%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_recurrent_layer.cu.o [ 22%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_reduction_layer.cu.o [ 23%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_relu_layer.cu.o [ 23%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_scale_layer.cu.o [ 23%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_sigmoid_cross_entropy_loss_layer.cu.o [ 25%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_sigmoid_layer.cu.o [ 25%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_silence_layer.cu.o [ 26%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_slice_layer.cu.o [ 26%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_softmax_layer.cu.o [ 26%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_softmax_loss_layer.cu.o [ 27%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_split_layer.cu.o [ 27%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_tanh_layer.cu.o [ 27%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_threshold_layer.cu.o [ 29%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_tile_layer.cu.o [ 29%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adadelta_solver.cu.o [ 30%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adagrad_solver.cu.o [ 30%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adam_solver.cu.o [ 30%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_nesterov_solver.cu.o [ 31%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_rmsprop_solver.cu.o [ 31%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_sgd_solver.cu.o [ 31%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/util/cuda_compile_1_generated_im2col.cu.o Scanning dependencies of target caffe [ 31%] Building CXX object src/caffe/CMakeFiles/caffe.dir/internal_thread.cpp.o [ 31%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/absval_layer.cpp.o [ 31%] Building CXX object src/caffe/CMakeFiles/caffe.dir/data_transformer.cpp.o [ 33%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/argmax_layer.cpp.o [ 33%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/base_conv_layer.cpp.o [ 34%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layer_factory.cpp.o [ 34%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/accuracy_layer.cpp.o [ 34%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_conv_layer.cpp.o [ 36%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/batch_norm_layer.cpp.o [ 36%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/batch_reindex_layer.cpp.o [ 36%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/conv_layer.cpp.o [ 36%] Building CXX object src/caffe/CMakeFiles/caffe.dir/blob.cpp.o [ 38%] Building CXX object src/caffe/CMakeFiles/caffe.dir/common.cpp.o [ 38%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layer.cpp.o [ 38%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/contrastive_loss_layer.cpp.o [ 38%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/bias_layer.cpp.o [ 38%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/base_data_layer.cpp.o [ 40%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/concat_layer.cpp.o [ 41%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/crop_layer.cpp.o [ 41%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/bnll_layer.cpp.o [ 43%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_lcn_layer.cpp.o [ 43%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_lrn_layer.cpp.o [ 43%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_pooling_layer.cpp.o [ 44%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_relu_layer.cpp.o [ 44%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_sigmoid_layer.cpp.o [ 44%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_softmax_layer.cpp.o [ 45%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_tanh_layer.cpp.o [ 45%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/data_layer.cpp.o [ 47%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/deconv_layer.cpp.o [ 47%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/dropout_layer.cpp.o [ 47%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/dummy_data_layer.cpp.o [ 48%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/eltwise_layer.cpp.o [ 48%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/elu_layer.cpp.o [ 48%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/embed_layer.cpp.o [ 50%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/euclidean_loss_layer.cpp.o [ 50%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/exp_layer.cpp.o [ 51%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/filter_layer.cpp.o [ 51%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/flatten_layer.cpp.o [ 51%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/hdf5_data_layer.cpp.o [ 52%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/hdf5_output_layer.cpp.o [ 52%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/hinge_loss_layer.cpp.o [ 52%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/im2col_layer.cpp.o [ 54%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/image_data_layer.cpp.o [ 54%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/infogain_loss_layer.cpp.o [ 55%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/inner_product_layer.cpp.o [ 55%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/input_layer.cpp.o [ 55%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/log_layer.cpp.o [ 56%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/loss_layer.cpp.o [ 56%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/lstm_layer.cpp.o [ 56%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/lrn_layer.cpp.o [ 58%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/lstm_unit_layer.cpp.o [ 58%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/memory_data_layer.cpp.o [ 59%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/multinomial_logistic_loss_layer.cpp.o [ 59%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/mvn_layer.cpp.o [ 59%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/neuron_layer.cpp.o [ 61%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/parameter_layer.cpp.o [ 61%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/pooling_layer.cpp.o [ 61%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/power_layer.cpp.o [ 62%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/prelu_layer.cpp.o [ 62%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/recurrent_layer.cpp.o [ 62%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/reduction_layer.cpp.o [ 63%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/relu_layer.cpp.o [ 63%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/reshape_layer.cpp.o [ 65%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/rnn_layer.cpp.o [ 65%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/scale_layer.cpp.o [ 65%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/sigmoid_cross_entropy_loss_layer.cpp.o [ 66%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/sigmoid_layer.cpp.o [ 66%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/silence_layer.cpp.o [ 66%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/slice_layer.cpp.o [ 68%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/softmax_layer.cpp.o [ 68%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/softmax_loss_layer.cpp.o [ 69%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/split_layer.cpp.o [ 69%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/spp_layer.cpp.o [ 69%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/tanh_layer.cpp.o [ 70%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/threshold_layer.cpp.o [ 70%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/tile_layer.cpp.o [ 70%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/window_data_layer.cpp.o [ 72%] Building CXX object src/caffe/CMakeFiles/caffe.dir/net.cpp.o [ 72%] Building CXX object src/caffe/CMakeFiles/caffe.dir/parallel.cpp.o [ 73%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solver.cpp.o [ 73%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/adadelta_solver.cpp.o [ 73%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/adagrad_solver.cpp.o [ 75%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/adam_solver.cpp.o [ 75%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/nesterov_solver.cpp.o [ 75%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/rmsprop_solver.cpp.o [ 76%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/sgd_solver.cpp.o [ 76%] Building CXX object src/caffe/CMakeFiles/caffe.dir/syncedmem.cpp.o [ 77%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/benchmark.cpp.o [ 77%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/blocking_queue.cpp.o [ 77%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/cudnn.cpp.o [ 79%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/db.cpp.o [ 79%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/db_leveldb.cpp.o [ 79%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/db_lmdb.cpp.o [ 80%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/hdf5.cpp.o [ 80%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/im2col.cpp.o [ 80%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/insert_splits.cpp.o [ 81%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/io.cpp.o [ 81%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/math_functions.cpp.o [ 83%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/signal_handler.cpp.o [ 83%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/upgrade_proto.cpp.o [ 83%] Linking CXX shared library ../../lib/libcaffe.so [ 83%] Built target caffe Scanning dependencies of target test_net Scanning dependencies of target caffe.bin Scanning dependencies of target upgrade_net_proto_binary Scanning dependencies of target extract_features Scanning dependencies of target finetune_net Scanning dependencies of target train_net Scanning dependencies of target upgrade_solver_proto_text Scanning dependencies of target convert_mnist_data Scanning dependencies of target convert_imageset Scanning dependencies of target upgrade_net_proto_text Scanning dependencies of target device_query Scanning dependencies of target convert_cifar_data Scanning dependencies of target classification Scanning dependencies of target convert_mnist_siamese_data Scanning dependencies of target compute_image_mean Scanning dependencies of target net_speed_benchmark [ 86%] Building CXX object tools/CMakeFiles/extract_features.dir/extract_features.cpp.o [ 86%] Building CXX object tools/CMakeFiles/finetune_net.dir/finetune_net.cpp.o [ 87%] Building CXX object tools/CMakeFiles/caffe.bin.dir/caffe.cpp.o [ 87%] Building CXX object tools/CMakeFiles/train_net.dir/train_net.cpp.o [ 87%] Building CXX object tools/CMakeFiles/test_net.dir/test_net.cpp.o [ 88%] Building CXX object tools/CMakeFiles/upgrade_net_proto_binary.dir/upgrade_net_proto_binary.cpp.o [ 88%] Building CXX object tools/CMakeFiles/upgrade_net_proto_text.dir/upgrade_net_proto_text.cpp.o [ 88%] Building CXX object tools/CMakeFiles/upgrade_solver_proto_text.dir/upgrade_solver_proto_text.cpp.o [ 90%] Building CXX object tools/CMakeFiles/convert_imageset.dir/convert_imageset.cpp.o [ 90%] Building CXX object examples/CMakeFiles/convert_cifar_data.dir/cifar10/convert_cifar_data.cpp.o [ 91%] Building CXX object examples/CMakeFiles/convert_mnist_data.dir/mnist/convert_mnist_data.cpp.o [ 91%] Building CXX object tools/CMakeFiles/device_query.dir/device_query.cpp.o [ 91%] Building CXX object tools/CMakeFiles/net_speed_benchmark.dir/net_speed_benchmark.cpp.o [ 91%] Building CXX object tools/CMakeFiles/compute_image_mean.dir/compute_image_mean.cpp.o [ 91%] Building CXX object examples/CMakeFiles/convert_mnist_siamese_data.dir/siamese/convert_mnist_siamese_data.cpp.o [ 93%] Building CXX object examples/CMakeFiles/classification.dir/cpp_classification/classification.cpp.o [ 93%] Linking CXX executable device_query [ 93%] Linking CXX executable mnist/convert_mnist_data [ 94%] Linking CXX executable siamese/convert_mnist_siamese_data [ 94%] Linking CXX executable cifar10/convert_cifar_data ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::base::CheckOpMessageBuilder::NewString()' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::empty_string_' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status tools/CMakeFiles/device_query.dir/build.make:136: recipe for target 'tools/device_query' failed make[2]: *** [tools/device_query] Error 1 CMakeFiles/Makefile2:505: recipe for target 'tools/CMakeFiles/device_query.dir/all' failed make[1]: *** [tools/CMakeFiles/device_query.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 95%] Linking CXX executable compute_image_mean CMakeFiles/convert_mnist_data.dir/mnist/convert_mnist_data.cpp.o: In function `convert_dataset(char const*, char const*, char const*, std::string const&)': convert_mnist_data.cpp:(.text+0x6a9): undefined reference to `google::protobuf::internal::empty_string_' convert_mnist_data.cpp:(.text+0xa47): undefined reference to `google::protobuf::MessageLite::SerializeToString(std::string*) const' CMakeFiles/convert_mnist_data.dir/mnist/convert_mnist_data.cpp.o: In function `std::string* google::MakeCheckOpString(unsigned int const&, int const&, char const*)': convert_mnist_data.cpp:(.text._ZN6google17MakeCheckOpStringIjiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringIjiEEPSsRKT_RKT0_PKc]+0x40): undefined reference to `google::base::CheckOpMessageBuilder::NewString()' CMakeFiles/convert_mnist_data.dir/mnist/convert_mnist_data.cpp.o: In function `std::string* google::MakeCheckOpString(unsigned int const&, unsigned int const&, char const*)': convert_mnist_data.cpp:(.text._ZN6google17MakeCheckOpStringIjjEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringIjjEEPSsRKT_RKT0_PKc]+0x40): undefined reference to `google::base::CheckOpMessageBuilder::NewString()' CMakeFiles/convert_mnist_data.dir/mnist/convert_mnist_data.cpp.o: In function `main': convert_mnist_data.cpp:(.text.startup+0xe4): undefined reference to `google::SetUsageMessage(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status CMakeFiles/convert_mnist_siamese_data.dir/siamese/convert_mnist_siamese_data.cpp.o: In function `convert_dataset(char const*, char const*, char const*)': convert_mnist_siamese_data.cpp:(.text+0x4a0): undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' convert_mnist_siamese_data.cpp:(.text+0x72d): undefined reference to `google::protobuf::internal::empty_string_' convert_mnist_siamese_data.cpp:(.text+0x79a): undefined reference to `google::protobuf::MessageLite::SerializeToString(std::string*) const' CMakeFiles/convert_mnist_siamese_data.dir/siamese/convert_mnist_siamese_data.cpp.o: In function `std::string* google::MakeCheckOpString(unsigned int const&, int const&, char const*)': convert_mnist_siamese_data.cpp:(.text._ZN6google17MakeCheckOpStringIjiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringIjiEEPSsRKT_RKT0_PKc]+0x40): undefined reference to `google::base::CheckOpMessageBuilder::NewString()' CMakeFiles/convert_mnist_siamese_data.dir/siamese/convert_mnist_siamese_data.cpp.o: In function `std::string* google::MakeCheckOpString(unsigned int const&, unsigned int const&, char const*)': convert_mnist_siamese_data.cpp:(.text._ZN6google17MakeCheckOpStringIjjEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringIjjEEPSsRKT_RKT0_PKc]+0x40): undefined reference to `google::base::CheckOpMessageBuilder::NewString()' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' examples/CMakeFiles/convert_mnist_data.dir/build.make:136: recipe for target 'examples/mnist/convert_mnist_data' failed make[2]: *** [examples/mnist/convert_mnist_data] Error 1 collect2: error: ld returned 1 exit status CMakeFiles/Makefile2:985: recipe for target 'examples/CMakeFiles/convert_mnist_data.dir/all' failed make[1]: *** [examples/CMakeFiles/convert_mnist_data.dir/all] Error 2 examples/CMakeFiles/convert_mnist_siamese_data.dir/build.make:136: recipe for target 'examples/siamese/convert_mnist_siamese_data' failed make[2]: *** [examples/siamese/convert_mnist_siamese_data] Error 1 CMakeFiles/Makefile2:1061: recipe for target 'examples/CMakeFiles/convert_mnist_siamese_data.dir/all' failed make[1]: *** [examples/CMakeFiles/convert_mnist_siamese_data.dir/all] Error 2 CMakeFiles/convert_cifar_data.dir/cifar10/convert_cifar_data.cpp.o: In function `convert_dataset(std::string const&, std::string const&, std::string const&)': convert_cifar_data.cpp:(.text+0x848): undefined reference to `google::protobuf::internal::empty_string_' convert_cifar_data.cpp:(.text+0x893): undefined reference to `google::protobuf::MessageLite::SerializeToString(std::string*) const' convert_cifar_data.cpp:(.text+0x1030): undefined reference to `google::protobuf::internal::empty_string_' convert_cifar_data.cpp:(.text+0x107b): undefined reference to `google::protobuf::MessageLite::SerializeToString(std::string*) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::base::CheckOpMessageBuilder::NewString()' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status examples/CMakeFiles/convert_cifar_data.dir/build.make:136: recipe for target 'examples/cifar10/convert_cifar_data' failed make[2]: *** [examples/cifar10/convert_cifar_data] Error 1 CMakeFiles/Makefile2:947: recipe for target 'examples/CMakeFiles/convert_cifar_data.dir/all' failed make[1]: *** [examples/CMakeFiles/convert_cifar_data.dir/all] Error 2 CMakeFiles/compute_image_mean.dir/compute_image_mean.cpp.o: In function `std::string* google::MakeCheckOpString(int const&, int const&, char const*)': compute_image_mean.cpp:(.text._ZN6google17MakeCheckOpStringIiiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringIiiEEPSsRKT_RKT0_PKc]+0x40): undefined reference to `google::base::CheckOpMessageBuilder::NewString()' CMakeFiles/compute_image_mean.dir/compute_image_mean.cpp.o: In function `std::string* google::MakeCheckOpString(unsigned long const&, int const&, char const*)': compute_image_mean.cpp:(.text._ZN6google17MakeCheckOpStringImiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringImiEEPSsRKT_RKT0_PKc]+0x40): undefined reference to `google::base::CheckOpMessageBuilder::NewString()' CMakeFiles/compute_image_mean.dir/compute_image_mean.cpp.o: In function `main': compute_image_mean.cpp:(.text.startup+0x13f): undefined reference to `google::SetUsageMessage(std::string const&)' compute_image_mean.cpp:(.text.startup+0x243): undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' compute_image_mean.cpp:(.text.startup+0x3de): undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::empty_string_' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status tools/CMakeFiles/compute_image_mean.dir/build.make:136: recipe for target 'tools/compute_image_mean' failed make[2]: *** [tools/compute_image_mean] Error 1 CMakeFiles/Makefile2:657: recipe for target 'tools/CMakeFiles/compute_image_mean.dir/all' failed make[1]: *** [tools/CMakeFiles/compute_image_mean.dir/all] Error 2 [ 95%] Linking CXX executable convert_imageset CMakeFiles/convert_imageset.dir/convert_imageset.cpp.o: In function `std::string* google::MakeCheckOpString(unsigned long const&, int const&, char const*)': convert_imageset.cpp:(.text._ZN6google17MakeCheckOpStringImiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringImiEEPSsRKT_RKT0_PKc]+0x40): undefined reference to `google::base::CheckOpMessageBuilder::NewString()' CMakeFiles/convert_imageset.dir/convert_imageset.cpp.o: In function `main': convert_imageset.cpp:(.text.startup+0x318): undefined reference to `google::SetUsageMessage(std::string const&)' convert_imageset.cpp:(.text.startup+0xd9d): undefined reference to `google::protobuf::MessageLite::SerializeToString(std::string*) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::empty_string_' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status tools/CMakeFiles/convert_imageset.dir/build.make:136: recipe for target 'tools/convert_imageset' failed make[2]: *** [tools/convert_imageset] Error 1 CMakeFiles/Makefile2:695: recipe for target 'tools/CMakeFiles/convert_imageset.dir/all' failed make[1]: *** [tools/CMakeFiles/convert_imageset.dir/all] Error 2 [ 95%] Linking CXX executable finetune_net [ 97%] Linking CXX executable upgrade_net_proto_text [ 98%] Linking CXX executable upgrade_solver_proto_text [ 98%] Linking CXX executable train_net [100%] Linking CXX executable test_net [100%] Linking CXX executable net_speed_benchmark [100%] Linking CXX executable upgrade_net_proto_binary ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::base::CheckOpMessageBuilder::NewString()' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::empty_string_' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status tools/CMakeFiles/finetune_net.dir/build.make:136: recipe for target 'tools/finetune_net' failed make[2]: *** [tools/finetune_net] Error 1 CMakeFiles/Makefile2:847: recipe for target 'tools/CMakeFiles/finetune_net.dir/all' failed make[1]: *** [tools/CMakeFiles/finetune_net.dir/all] Error 2 ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::base::CheckOpMessageBuilder::NewString()' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf:.:internal:.:/empty_string_lib'/ libcaffe.so.1.0.0.:. /undefinedlib /referencelibcaffe.so.1.0.0 :to undefined` googlereference: :to protobuf`:google::Message::protobuf::InitializationErrorString:(MessageLite): :constParseFromString'( std.:.:/stringlib /constlibcaffe.so.1.0.0&:) 'undefined .reference. /tolib /`libcaffe.so.1.0.0google:: :undefinedprotobuf :reference: internalto: :`WireFormatLitegoogle::::WriteStringMaybeAliasedprotobuf(:int:,internal :std::NameOfEnum:(googlestring: :constprotobuf&:,: EnumDescriptorgoogle :const:*protobuf,: :intio):': .CodedOutputStream.*/)lib'/ libcaffe.so.1.0.0.:. /undefinedlib /referencelibcaffe.so.1.0.0 :to undefined` googlereference: :toprotobuf :`:googleinternal::::protobufArenaStringPtr::::ioAssignWithDefault:(:stdCodedOutputStream::::stringWriteStringWithSizeToArray (conststd*:,: googlestring: :constprotobuf&:,: internalunsigned: :charArenaStringPtr*))'' ....//liblib//libcaffe.so.1.0.0libcaffe.so.1.0.0:: undefined undefinedreference reference toto ``googlegoogle::::protobufprotobuf::::MessageDescriptorPool::::FindFileByNameGetTypeName((std): :stringconst 'const &.). /constlib'/ libcaffe.so.1.0.0.:. /libundefined/ libcaffe.so.1.0.0reference: toundefined `referencegoogle :to: `basegoogle::::CheckOpMessageBuilderprotobuf::::NewStringinternal(:):'WireFormatLite :.:.ReadBytes/(libgoogle/:libcaffe.so.1.0.0::protobuf :undefined: ioreference: :toCodedInputStream *`,google :std::protobuf::string:*Message):': DebugString.(.)/ lib/constlibcaffe.so.1.0.0': .undefined. /referencelib /to libcaffe.so.1.0.0`:google: :undefinedprotobuf :reference: MessageFactoryto: :`InternalRegisterGeneratedFilegoogle(:char: protobufconst:*:,internal :void: empty_string_('* )(.std.:/:libstring/ libcaffe.so.1.0.0const:& )undefined) 'reference .to. /`libgoogle/:libcaffe.so.1.0.0::protobuf :undefined: MessageLitereference: :toParseFromString (`stdleveldb::::stringDB :const:&Open)('leveldb :.:.Options/ libconst/&libcaffe.so.1.0.0,: stdundefined: :referencestring toconst &`,google :leveldb::protobuf::DB:*internal*:):'NameOfEnum (.google.:/:libprotobuf/:libcaffe.so.1.0.0::EnumDescriptor undefinedconst *reference, toint )`'google :.:.protobuf/:lib:/internallibcaffe.so.1.0.0::: WireFormatLiteundefined: :referenceWriteBytesMaybeAliased (toint ,` googlestd::::protobufstring: :constinternal&:,: ArenaStringPtrgoogle::::AssignWithDefaultprotobuf(:std::io::string: CodedOutputStreamconst**),' google.:.:/libprotobuf/:libcaffe.so.1.0.0::internal :undefined: ArenaStringPtrreference) 'to .`.leveldb/:lib:/Statuslibcaffe.so.1.0.0::: ToStringundefined( )reference constto' `.google.:/:libprotobuf/:libcaffe.so.1.0.0::DescriptorPool :undefined: FindFileByNamereference (tostd :`:googlestring: :constprotobuf&:): internalconst:': WireFormatLite.:.:/WriteStringlib(/intlibcaffe.so.1.0.0,: std:undefined: stringreference constto& ,` googlegoogle::::protobufprotobuf::::internalio::::WireFormatLiteCodedOutputStream:*:)ReadBytes'( google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `collect2: error: ld returned 1 exit status google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status tools/CMakeFiles/upgrade_net_proto_text.dir/build.make:136: recipe for target 'tools/upgrade_net_proto_text' failed make[2]: *** [tools/upgrade_net_proto_text] Error 1 tools/CMakeFiles/upgrade_solver_proto_text.dir/build.make:136: recipe for target 'tools/upgrade_solver_proto_text' failed make[2]: *** [tools/upgrade_solver_proto_text] Error 1 CMakeFiles/Makefile2:771: recipe for target 'tools/CMakeFiles/upgrade_net_proto_text.dir/all' failed make[1]: *** [tools/CMakeFiles/upgrade_net_proto_text.dir/all] Error 2 CMakeFiles/Makefile2:467: recipe for target 'tools/CMakeFiles/upgrade_solver_proto_text.dir/all' failed make[1]: *** [tools/CMakeFiles/upgrade_solver_proto_text.dir/all] Error 2 ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::base::CheckOpMessageBuilder::NewString()' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::empty_string_' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status tools/CMakeFiles/train_net.dir/build.make:136: recipe for target 'tools/train_net' failed make[2]: *** [tools/train_net] Error 1 CMakeFiles/Makefile2:619: recipe for target 'tools/CMakeFiles/train_net.dir/all' failed make[1]: *** [tools/CMakeFiles/train_net.dir/all] Error 2 ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::base::CheckOpMessageBuilder::NewString()' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::empty_string_' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status tools/CMakeFiles/test_net.dir/build.make:136: recipe for target 'tools/test_net' failed make[2]: *** [tools/test_net] Error 1 CMakeFiles/Makefile2:581: recipe for target 'tools/CMakeFiles/test_net.dir/all' failed make[1]: *** [tools/CMakeFiles/test_net.dir/all] Error 2 ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::base::CheckOpMessageBuilder::NewString()' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::empty_string_' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status tools/CMakeFiles/net_speed_benchmark.dir/build.make:136: recipe for target 'tools/net_speed_benchmark' failed make[2]: *** [tools/net_speed_benchmark] Error 1 CMakeFiles/Makefile2:885: recipe for target 'tools/CMakeFiles/net_speed_benchmark.dir/all' failed make[1]: *** [tools/CMakeFiles/net_speed_benchmark.dir/all] Error 2 ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::base::CheckOpMessageBuilder::NewString()' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::empty_string_' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status tools/CMakeFiles/upgrade_net_proto_binary.dir/build.make:136: recipe for target 'tools/upgrade_net_proto_binary' failed make[2]: *** [tools/upgrade_net_proto_binary] Error 1 CMakeFiles/Makefile2:733: recipe for target 'tools/CMakeFiles/upgrade_net_proto_binary.dir/all' failed make[1]: *** [tools/CMakeFiles/upgrade_net_proto_binary.dir/all] Error 2 [100%] Linking CXX executable extract_features CMakeFiles/extract_features.dir/extract_features.cpp.o: In function `std::string* google::MakeCheckOpString(int const&, int const&, char const*)': extract_features.cpp:(.text._ZN6google17MakeCheckOpStringIiiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringIiiEEPSsRKT_RKT0_PKc]+0x40): undefined reference to `google::base::CheckOpMessageBuilder::NewString()' CMakeFiles/extract_features.dir/extract_features.cpp.o: In function `std::string* google::MakeCheckOpString(unsigned long const&, unsigned long const&, char const*)': extract_features.cpp:(.text._ZN6google17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc]+0x41): undefined reference to `google::base::CheckOpMessageBuilder::NewString()' CMakeFiles/extract_features.dir/extract_features.cpp.o: In function `int feature_extraction_pipeline(int, char**)': extract_features.cpp:(.text._Z27feature_extraction_pipelineIfEiiPPc[_Z27feature_extraction_pipelineIfEiiPPc]+0xc51): undefined reference to `google::protobuf::internal::empty_string_' extract_features.cpp:(.text._Z27feature_extraction_pipelineIfEiiPPc[_Z27feature_extraction_pipelineIfEiiPPc]+0x1b79): undefined reference to `google::protobuf::MessageLite::SerializeToString(std::string*) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status tools/CMakeFiles/extract_features.dir/build.make:136: recipe for target 'tools/extract_features' failed make[2]: *** [tools/extract_features] Error 1 CMakeFiles/Makefile2:809: recipe for target 'tools/CMakeFiles/extract_features.dir/all' failed make[1]: *** [tools/CMakeFiles/extract_features.dir/all] Error 2 [100%] Linking CXX executable cpp_classification/classification CMakeFiles/classification.dir/cpp_classification/classification.cpp.o: In function `std::string* google::MakeCheckOpString(int const&, int const&, char const*)': classification.cpp:(.text._ZN6google17MakeCheckOpStringIiiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringIiiEEPSsRKT_RKT0_PKc]+0x40): undefined reference to `google::base::CheckOpMessageBuilder::NewString()' CMakeFiles/classification.dir/cpp_classification/classification.cpp.o: In function `std::string* google::MakeCheckOpString(unsigned long const&, int const&, char const*)': classification.cpp:(.text._ZN6google17MakeCheckOpStringImiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringImiEEPSsRKT_RKT0_PKc]+0x40): undefined reference to `google::base::CheckOpMessageBuilder::NewString()' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::empty_string_' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status examples/CMakeFiles/classification.dir/build.make:136: recipe for target 'examples/cpp_classification/classification' failed make[2]: *** [examples/cpp_classification/classification] Error 1 CMakeFiles/Makefile2:1023: recipe for target 'examples/CMakeFiles/classification.dir/all' failed make[1]: *** [examples/CMakeFiles/classification.dir/all] Error 2 [100%] Linking CXX executable caffe CMakeFiles/caffe.bin.dir/caffe.cpp.o: In function `std::string* google::MakeCheckOpString(cudaError const&, cudaError const&, char const*)': caffe.cpp:(.text._ZN6google17MakeCheckOpStringI9cudaErrorS1_EEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringI9cudaErrorS1_EEPSsRKT_RKT0_PKc]+0x40): undefined reference to `google::base::CheckOpMessageBuilder::NewString()' CMakeFiles/caffe.bin.dir/caffe.cpp.o: In function `std::string* google::MakeCheckOpString(unsigned long const&, int const&, char const*)': caffe.cpp:(.text._ZN6google17MakeCheckOpStringImiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringImiEEPSsRKT_RKT0_PKc]+0x40): undefined reference to `google::base::CheckOpMessageBuilder::NewString()' CMakeFiles/caffe.bin.dir/caffe.cpp.o: In function `main': caffe.cpp:(.text.startup+0x40): undefined reference to `google::SetVersionString(std::string const&)' caffe.cpp:(.text.startup+0x73): undefined reference to `google::SetUsageMessage(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::InitializationErrorString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::GetTypeName() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::Message::DebugString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::empty_string_' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0: undefined reference to `leveldb::Status::ToString() const' ../lib/libcaffe.so.1.0.0: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' collect2: error: ld returned 1 exit status tools/CMakeFiles/caffe.bin.dir/build.make:136: recipe for target 'tools/caffe' failed make[2]: *** [tools/caffe] Error 1 CMakeFiles/Makefile2:543: recipe for target 'tools/CMakeFiles/caffe.bin.dir/all' failed make[1]: *** [tools/CMakeFiles/caffe.bin.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2