{"action":"created","issue":{"url":"https://api.github.com/repos/Bareflank/hypervisor/issues/79","repository_url":"https://api.github.com/repos/Bareflank/hypervisor","labels_url":"https://api.github.com/repos/Bareflank/hypervisor/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/Bareflank/hypervisor/issues/79/comments","events_url":"https://api.github.com/repos/Bareflank/hypervisor/issues/79/events","html_url":"https://github.com/Bareflank/hypervisor/issues/79","id":141960820,"number":79,"title":"Compilation issue","user":{"login":"tangabc","id":4540976,"avatar_url":"https://avatars.githubusercontent.com/u/4540976?v=3","gravatar_id":"","url":"https://api.github.com/users/tangabc","html_url":"https://github.com/tangabc","followers_url":"https://api.github.com/users/tangabc/followers","following_url":"https://api.github.com/users/tangabc/following{/other_user}","gists_url":"https://api.github.com/users/tangabc/gists{/gist_id}","starred_url":"https://api.github.com/users/tangabc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangabc/subscriptions","organizations_url":"https://api.github.com/users/tangabc/orgs","repos_url":"https://api.github.com/users/tangabc/repos","events_url":"https://api.github.com/users/tangabc/events{/privacy}","received_events_url":"https://api.github.com/users/tangabc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-18T19:42:09Z","updated_at":"2016-03-18T21:06:08Z","closed_at":null,"body":"After successfully building the cross-compiler with 'setup-debian.sh', I tried to build the hypervisor with make, but the compilation failed. \r\n\r\nWould appreciate any help in fixing this compilation problem. Thanks!\r\n\r\n========= [LOGS]\r\n\r\n~/Research/hypervisor > uname -a\r\nLinux desktop 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\n~/Research/hypervisor > gcc --version\r\ngcc (GCC) 5.3.0\r\n\r\n~/Research/hypervisor> ./tools/scripts/setup-debian.sh\r\n          ... (successful... truncated) ...\r\n  cp -Rf /home/jamint/opt/cross/x86_64-elf/lib/libc++.so.1.0 /home/jamint/Research/hypervisor/bfvmm/bin/cross/libc++.so\r\n  touch completed_install_libcxx\r\n  set +x\r\n\r\n~/Research/hypervisor> make\r\n          ... (truncated) ...\r\n/home/jamint/Research/hypervisor/bfvmm/src/vcpu/test\r\ng++ .build/native/test.o .build/native/test_vcpu.o .build/native/test_vcpu_factory.o -o ../bin/native/test -L../bin/native -L../../vmxon/bin/native -L../../vmcs/bin/native -L../../debug_ring/bin/native -L../../intrinsics/bin/native -L../../exit_handler/bin/native -lvcpu -lvmxon -lvmcs -ldebug_ring -lintrinsics -lexit_handler\r\n../../vmxon/bin/native/libvmxon.so: undefined reference to `memory_manager::instance()'\r\n../bin/native/libvcpu.so: undefined reference to `serial_port_x86::~serial_port_x86()'\r\n../bin/native/libvcpu.so: undefined reference to `serial_port_x86::serial_port_x86(unsigned char, unsigned int, unsigned char, PARITY_MODE, unsigned char)'\r\n../bin/native/libvcpu.so: undefined reference to `serial_port_x86::write(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'\r\ncollect2: error: ld returned 1 exit status\r\nmake[4]: *** [../bin/native/test] Error 1\r\nmake[3]: *** [test] Error 2\r\nmake[2]: *** [vcpu] Error 2\r\nmake[1]: *** [src] Error 2\r\nmake: *** [bfvmm] Error 2\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Bareflank/hypervisor/issues/comments/198542213","html_url":"https://github.com/Bareflank/hypervisor/issues/79#issuecomment-198542213","issue_url":"https://api.github.com/repos/Bareflank/hypervisor/issues/79","id":198542213,"user":{"login":"rianquinn","id":5932003,"avatar_url":"https://avatars.githubusercontent.com/u/5932003?v=3","gravatar_id":"","url":"https://api.github.com/users/rianquinn","html_url":"https://github.com/rianquinn","followers_url":"https://api.github.com/users/rianquinn/followers","following_url":"https://api.github.com/users/rianquinn/following{/other_user}","gists_url":"https://api.github.com/users/rianquinn/gists{/gist_id}","starred_url":"https://api.github.com/users/rianquinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rianquinn/subscriptions","organizations_url":"https://api.github.com/users/rianquinn/orgs","repos_url":"https://api.github.com/users/rianquinn/repos","events_url":"https://api.github.com/users/rianquinn/events{/privacy}","received_events_url":"https://api.github.com/users/rianquinn/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T21:06:08Z","updated_at":"2016-03-18T21:06:08Z","body":"Ok, yeah I'll try to repro this. Likely I'll setup a brand new Ubuntu 14.04 VMWare VM, and give it a shot. "}}