{"action":"created","issue":{"url":"https://api.github.com/repos/utsushi/utsushi/issues/18","repository_url":"https://api.github.com/repos/utsushi/utsushi","labels_url":"https://api.github.com/repos/utsushi/utsushi/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/utsushi/utsushi/issues/18/comments","events_url":"https://api.github.com/repos/utsushi/utsushi/issues/18/events","html_url":"https://github.com/utsushi/utsushi/issues/18","id":131335782,"number":18,"title":"building fails with undefined reference to utsushi::pump::connect","user":{"login":"pniederlag","id":85458,"avatar_url":"https://avatars.githubusercontent.com/u/85458?v=3","gravatar_id":"","url":"https://api.github.com/users/pniederlag","html_url":"https://github.com/pniederlag","followers_url":"https://api.github.com/users/pniederlag/followers","following_url":"https://api.github.com/users/pniederlag/following{/other_user}","gists_url":"https://api.github.com/users/pniederlag/gists{/gist_id}","starred_url":"https://api.github.com/users/pniederlag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pniederlag/subscriptions","organizations_url":"https://api.github.com/users/pniederlag/orgs","repos_url":"https://api.github.com/users/pniederlag/repos","events_url":"https://api.github.com/users/pniederlag/events{/privacy}","received_events_url":"https://api.github.com/users/pniederlag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-04T12:45:16Z","updated_at":"2016-02-06T00:57:08Z","closed_at":null,"body":"Does anyne have an advice on my problem during \"sudo make install\"?\r\n\r\n```c\r\nmake[3]: Verzeichnis „/fileserver/usr-local-src/utsushi/src“ wird betreten\r\n  CXX      main.o\r\n  CXXLD    main\r\n  CXX      version.o\r\n  CXXLD    version\r\n  CXX      help.o\r\n  CXXLD    help\r\n  CXX      list.o\r\n  CXXLD    list\r\n  CXX      scan.o\r\n  CXXLD    scan\r\n  CXX      scan-cli.o\r\n  CXXLD    scan-cli\r\n  CXX      scan_gtkmm-scan-gtkmm.o\r\n  CXXLD    scan-gtkmm\r\n../gtkmm/.libs/libutsushi-gtkmm.so: undefined reference to `utsushi::pump::connect(boost::signals2::slot<void (utsushi::log::priority, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >), boost::function<void (utsushi::log::priority, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)> > const&) const'\r\n../gtkmm/.libs/libutsushi-gtkmm.so: undefined reference to `utsushi::pump::pump(std::shared_ptr<utsushi::idevice>)'\r\n../gtkmm/.libs/libutsushi-gtkmm.so: undefined reference to `utsushi::pump::start(std::shared_ptr<utsushi::odevice>)'\r\n../gtkmm/.libs/libutsushi-gtkmm.so: undefined reference to `utsushi::pump::start(std::shared_ptr<utsushi::stream>)'\r\n../gtkmm/.libs/libutsushi-gtkmm.so: undefined reference to `utsushi::option::map::builder::operator()(utsushi::key const&, std::shared_ptr<utsushi::option::map>) const'\r\n../gtkmm/.libs/libutsushi-gtkmm.so: undefined reference to `utsushi::stream::push(std::shared_ptr<utsushi::odevice>)'\r\n../gtkmm/.libs/libutsushi-gtkmm.so: undefined reference to `utsushi::stream::push(std::shared_ptr<utsushi::filter>)'\r\n../gtkmm/.libs/libutsushi-gtkmm.so: undefined reference to `utsushi::scanner::create(std::shared_ptr<utsushi::connexion>, utsushi::scanner::info const&)'\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:622: die Regel für Ziel „scan-gtkmm“ scheiterte\r\nmake[3]: *** [scan-gtkmm] Fehler 1\r\n```"},"comment":{"url":"https://api.github.com/repos/utsushi/utsushi/issues/comments/180640188","html_url":"https://github.com/utsushi/utsushi/issues/18#issuecomment-180640188","issue_url":"https://api.github.com/repos/utsushi/utsushi/issues/18","id":180640188,"user":{"login":"paddy-hack","id":6804372,"avatar_url":"https://avatars.githubusercontent.com/u/6804372?v=3","gravatar_id":"","url":"https://api.github.com/users/paddy-hack","html_url":"https://github.com/paddy-hack","followers_url":"https://api.github.com/users/paddy-hack/followers","following_url":"https://api.github.com/users/paddy-hack/following{/other_user}","gists_url":"https://api.github.com/users/paddy-hack/gists{/gist_id}","starred_url":"https://api.github.com/users/paddy-hack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paddy-hack/subscriptions","organizations_url":"https://api.github.com/users/paddy-hack/orgs","repos_url":"https://api.github.com/users/paddy-hack/repos","events_url":"https://api.github.com/users/paddy-hack/events{/privacy}","received_events_url":"https://api.github.com/users/paddy-hack/received_events","type":"User","site_admin":false},"created_at":"2016-02-06T00:57:08Z","updated_at":"2016-02-06T00:57:08Z","body":"It might be helpful if you can tell how you ran `configure` and what that produced.  I am assuming you ran `sudo make install` from the top-level source directory.  From #17, I also assume you are trying to build on Debian's `stretch`.  If your installation is reasonably up-to-date, you probably should\r\n```\r\n./configure CXXFLAGS=\"-std=c++11\"\r\n```\r\nas some of the files included by the `gtkmm/` code require that.  When you build part of the code at C++11, you need to build *all* of the code at C++11.  You may need to run a `make clean` to make sure everything is recompiled.  There is some more info on the C++11 issue in #16.\r\n\r\nThe errors you show above hint at the code in `lib/` (at the very least) having been compiled to use the Boost versions of `shared_ptr` whereas the `gtkmm/` want `std::shared_ptr`."}}