{"action":"created","issue":{"url":"https://api.github.com/repos/BVLC/caffe/issues/3396","repository_url":"https://api.github.com/repos/BVLC/caffe","labels_url":"https://api.github.com/repos/BVLC/caffe/issues/3396/labels{/name}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/3396/comments","events_url":"https://api.github.com/repos/BVLC/caffe/issues/3396/events","html_url":"https://github.com/BVLC/caffe/issues/3396","id":119345322,"number":3396,"title":"Problem when build Caffe on Ubuntu 14.04","user":{"login":"JamesKnowton","id":16066374,"avatar_url":"https://avatars.githubusercontent.com/u/16066374?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesKnowton","html_url":"https://github.com/JamesKnowton","followers_url":"https://api.github.com/users/JamesKnowton/followers","following_url":"https://api.github.com/users/JamesKnowton/following{/other_user}","gists_url":"https://api.github.com/users/JamesKnowton/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesKnowton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesKnowton/subscriptions","organizations_url":"https://api.github.com/users/JamesKnowton/orgs","repos_url":"https://api.github.com/users/JamesKnowton/repos","events_url":"https://api.github.com/users/JamesKnowton/events{/privacy}","received_events_url":"https://api.github.com/users/JamesKnowton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2015-11-29T07:52:11Z","updated_at":"2016-12-09T01:11:01Z","closed_at":"2015-11-29T14:16:12Z","body":"Hi, all. I met a problem when I was building newest caffe on Ubuntu 14.04. I have successfully build a older version of caffe on the same environment. There is the log output. I don't know how to solve this problem? Can anyone give some suggestions?\n\n```\nLD -o .build_release/lib/libcaffe.so\nCXX/LD -o .build_release/tools/convert_imageset.bin\nCXX/LD -o .build_release/tools/upgrade_net_proto_binary.bin\nCXX/LD -o .build_release/tools/net_speed_benchmark.bin\nCXX/LD -o .build_release/tools/caffe.bin\nCXX/LD -o .build_release/tools/upgrade_net_proto_text.bin\nCXX/LD -o .build_release/tools/test_net.bin\nCXX/LD -o .build_release/tools/extract_features.bin\nCXX/LD -o .build_release/tools/compute_image_mean.bin\nCXX/LD -o .build_release/tools/train_net.bin\nCXX/LD -o .build_release/tools/finetune_net.bin\nCXX/LD -o .build_release/tools/device_query.bin\nCXX/LD -o .build_release/tools/upgrade_solver_proto_text.bin\n.build_release/tools/caffe.o: In function `test()':\ncaffe.cpp:(.text+0xd21): undefined reference to `caffe::Net<float>::Net(std::string const&, caffe::Phase, caffe::Net<float> const*)'\n.build_release/tools/caffe.o: In function `train()':\ncaffe.cpp:(.text+0x1830): undefined reference to `caffe::ReadSolverParamsFromTextFileOrDie(std::string const&, caffe::SolverParameter*)'\ncaffe.cpp:(.text+0x191f): undefined reference to `caffe::SignalHandler::SignalHandler(caffe::SolverAction::Enum, caffe::SolverAction::Enum)'\ncaffe.cpp:(.text+0x196b): undefined reference to `caffe::SignalHandler::GetActionFunction()'\ncaffe.cpp:(.text+0x1976): undefined reference to `caffe::Solver<float>::SetActionFunction(boost::function<caffe::SolverAction::Enum ()>)'\ncaffe.cpp:(.text+0x1a00): undefined reference to `caffe::P2PSync<float>::P2PSync(boost::shared_ptr<caffe::Solver<float> >, caffe::P2PSync<float>*, caffe::SolverParameter const&)'\ncaffe.cpp:(.text+0x1a1d): undefined reference to `caffe::P2PSync<float>::run(std::vector<int, std::allocator<int> > const&)'\ncaffe.cpp:(.text+0x1a25): undefined reference to `caffe::P2PSync<float>::~P2PSync()'\ncaffe.cpp:(.text+0x1a71): undefined reference to `caffe::SignalHandler::~SignalHandler()'\ncaffe.cpp:(.text+0x1e53): undefined reference to `caffe::SignalHandler::~SignalHandler()'\ncaffe.cpp:(.text+0x1ec4): undefined reference to `caffe::P2PSync<float>::~P2PSync()'\ncaffe.cpp:(.text+0x1f93): undefined reference to `caffe::P2PSync<float>::~P2PSync()'\n.build_release/tools/caffe.o: In function `time()':\ncaffe.cpp:(.text+0x214e): undefined reference to `caffe::Net<float>::Net(std::string const&, caffe::Phase, caffe::Net<float> const*)'\ncaffe.cpp:(.text+0x245c): undefined reference to `caffe::Layer<float>::Lock()'\ncaffe.cpp:(.text+0x2561): undefined reference to `caffe::Layer<float>::Unlock()'\ncollect2: error: ld returned 1 exit status\nmake: *** [.build_release/tools/caffe.bin] Error 1\nmake: *** Waiting for unfinished jobs....\n.build_release/tools/extract_features.o: In function `int feature_extraction_pipeline<float>(int, char**)':\nextract_features.cpp:(.text._Z27feature_extraction_pipelineIfEiiPPc[_Z27feature_extraction_pipelineIfEiiPPc]+0xf9): undefined reference to `caffe::Net<float>::Net(std::string const&, caffe::Phase, caffe::Net<float> const*)'\ncollect2: error: ld returned 1 exit status\nmake: *** [.build_release/tools/extract_features.bin] Error 1\n.build_release/tools/upgrade_solver_proto_text.o: In function `main':\nupgrade_solver_proto_text.cpp:(.text.startup+0x191): undefined reference to `caffe::SolverNeedsTypeUpgrade(caffe::SolverParameter const&)'\nupgrade_solver_proto_text.cpp:(.text.startup+0x1a0): undefined reference to `caffe::UpgradeSolverAsNeeded(std::string const&, caffe::SolverParameter*)'\ncollect2: error: ld returned 1 exit status\nmake: *** [.build_release/tools/upgrade_solver_proto_text.bin] Error 1\n```\n"},"comment":{"url":"https://api.github.com/repos/BVLC/caffe/issues/comments/265904721","html_url":"https://github.com/BVLC/caffe/issues/3396#issuecomment-265904721","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/3396","id":265904721,"user":{"login":"mrasyid","id":1209717,"avatar_url":"https://avatars.githubusercontent.com/u/1209717?v=3","gravatar_id":"","url":"https://api.github.com/users/mrasyid","html_url":"https://github.com/mrasyid","followers_url":"https://api.github.com/users/mrasyid/followers","following_url":"https://api.github.com/users/mrasyid/following{/other_user}","gists_url":"https://api.github.com/users/mrasyid/gists{/gist_id}","starred_url":"https://api.github.com/users/mrasyid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrasyid/subscriptions","organizations_url":"https://api.github.com/users/mrasyid/orgs","repos_url":"https://api.github.com/users/mrasyid/repos","events_url":"https://api.github.com/users/mrasyid/events{/privacy}","received_events_url":"https://api.github.com/users/mrasyid/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T01:11:01Z","updated_at":"2016-12-09T01:11:01Z","body":" @mittlin, how do you solve it based on  @minghuam clue? thanks."}}
{"actor":{"display_login":"mrasyid"}}