{"action":"created","issue":{"url":"https://api.github.com/repos/cnplab/blockmon/issues/6","repository_url":"https://api.github.com/repos/cnplab/blockmon","labels_url":"https://api.github.com/repos/cnplab/blockmon/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/cnplab/blockmon/issues/6/comments","events_url":"https://api.github.com/repos/cnplab/blockmon/issues/6/events","html_url":"https://github.com/cnplab/blockmon/issues/6","id":170388889,"number":6,"title":"Undefined reference when Linking CXX executable blockmon","user":{"login":"10186937","id":16422239,"avatar_url":"https://avatars.githubusercontent.com/u/16422239?v=3","gravatar_id":"","url":"https://api.github.com/users/10186937","html_url":"https://github.com/10186937","followers_url":"https://api.github.com/users/10186937/followers","following_url":"https://api.github.com/users/10186937/following{/other_user}","gists_url":"https://api.github.com/users/10186937/gists{/gist_id}","starred_url":"https://api.github.com/users/10186937/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/10186937/subscriptions","organizations_url":"https://api.github.com/users/10186937/orgs","repos_url":"https://api.github.com/users/10186937/repos","events_url":"https://api.github.com/users/10186937/events{/privacy}","received_events_url":"https://api.github.com/users/10186937/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-10T10:54:40Z","updated_at":"2016-08-10T11:54:55Z","closed_at":null,"body":"Sorry to bother you again, jmmlmendes.\r\nThis time , I chose the release v1.1 .\r\nSince I was forbidden to access http://pugixml.googlecode.com/files/pugixml-1.2.tar.gz(in china.)\r\nI download pugixml-1.2.tar.gz from https://github.com/zeux/pugixml/releases,  put it in lib/external and  tar  xzf pugixml-1.2.tar.gz .\r\nThen do cmake -DWITH_DAEMON=ON . & make in base dir.\r\nThe error I get is:\r\nScanning dependencies of target blockmon\r\n[ 98%] Building CXX object CMakeFiles/blockmon.dir/core/blockmon.cpp.o\r\nLinking CXX executable blockmon\r\nCMakeFiles/blockmon.dir/core/blockmon.cpp.o：In func ‘blockmon::PoolManager::create_pool(pugi::xml_node)’：\r\n/home/qlq/latest_blockmon/blockmon-1.1/core/scheduler/PoolManager.hpp:101：对‘pugi::xml_node::attribute(char const*) const’ Undefined reference\r\n/home/qlq/latest_blockmon/blockmon-1.1/core/scheduler/PoolManager.hpp:101：对‘pugi::xml_attribute::value() const’Undefined reference\r\n/home/qlq/latest_blockmon/blockmon-1.1/core/scheduler/PoolManager.hpp:102：对‘pugi::xml_node::attribute(char const*) const’Undefined reference\r\n..............\r\nlibblockmoncore.so：对‘pugi::xml_attribute::set_value(char const*)’Undefined reference\r\nlibblockmoncore.so：对‘vtable for IPFIX::CollectorOffsetCache’Undefined reference\r\ncollect2: Error：ld return1\r\nmake[2]: *** [blockmon] Error 1\r\nmake[1]: *** [CMakeFiles/blockmon.dir/all] Error 2\r\nmake: *** [all] Error 2\r\nwhat's wrong?\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/cnplab/blockmon/issues/comments/238844637","html_url":"https://github.com/cnplab/blockmon/issues/6#issuecomment-238844637","issue_url":"https://api.github.com/repos/cnplab/blockmon/issues/6","id":238844637,"user":{"login":"jmmlmendes","id":3319433,"avatar_url":"https://avatars.githubusercontent.com/u/3319433?v=3","gravatar_id":"","url":"https://api.github.com/users/jmmlmendes","html_url":"https://github.com/jmmlmendes","followers_url":"https://api.github.com/users/jmmlmendes/followers","following_url":"https://api.github.com/users/jmmlmendes/following{/other_user}","gists_url":"https://api.github.com/users/jmmlmendes/gists{/gist_id}","starred_url":"https://api.github.com/users/jmmlmendes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmmlmendes/subscriptions","organizations_url":"https://api.github.com/users/jmmlmendes/orgs","repos_url":"https://api.github.com/users/jmmlmendes/repos","events_url":"https://api.github.com/users/jmmlmendes/events{/privacy}","received_events_url":"https://api.github.com/users/jmmlmendes/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T11:54:55Z","updated_at":"2016-08-10T11:54:55Z","body":"Can you make sure that the extracted files are under lib/external/pugixml?\r\nThe same as in INSTALL.md but changing only the URL:\r\n```\r\nmkdir lib/external/pugixml\r\ncd lib/external/pugixml\r\nwget https://github.com/zeux/pugixml/releases/download/v1.2/pugixml-1.2.tar.gz\r\ntar xzf pugixml-1.2.tar.gz\r\ncd ../../..\r\n```"}}
{"actor":{"display_login":"jmmlmendes"}}