Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sheneos doesn't link on Linux #147

Closed
brycelelbach opened this issue Jul 10, 2012 · 6 comments
Closed

sheneos doesn't link on Linux #147

brycelelbach opened this issue Jul 10, 2012 · 6 comments

Comments

@brycelelbach
Copy link
Member

[reported by maciek] [Trac time Mon Sep 26 00:13:24 2011] As of 8e186d2 "make examples.sheneos" fails while linking with boost-1.47.0 and gcc-4.6.1:

../../bin/libhpx_init.a(hpx_init.cpp.o): In function `hpx::init(int (*)(boost::program_options::variables_map&), boost::program_options::options_description&, int, char**, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, boost::function<void ()>, boost::function<void ()>, hpx::runtime_mode)':
hpx_init.cpp:(.text+0x7db0): undefined reference to `hpx::util::pbs_environment::init_from_file(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
hpx_init.cpp:(.text+0x7e98): undefined reference to `hpx::util::pbs_environment::agas_host_name(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
hpx_init.cpp:(.text+0x7efb): undefined reference to `hpx::util::pbs_environment::host_name(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
hpx_init.cpp:(.text+0x7f15): undefined reference to `hpx::util::pbs_environment::retrieve_number_of_threads() const'
hpx_init.cpp:(.text+0x7f66): undefined reference to `hpx::util::pbs_environment::retrieve_number_of_localities() const'
hpx_init.cpp:(.text+0x8008): undefined reference to `hpx::util::pbs_environment::retrieve_node_number() const'
hpx_init.cpp:(.text+0x8630): undefined reference to `hpx::util::map_hostnames::map(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned short) const'
hpx_init.cpp:(.text+0x866d): undefined reference to `hpx::util::map_hostnames::map(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned short) const'
hpx_init.cpp:(.text+0x9260): undefined reference to `hpx::util::pbs_environment::init_from_nodelist(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: ld returned 1 exit status
make[3]: *** [bin/sheneos_test] Error 1
make[2]: *** [examples/sheneos/CMakeFiles/sheneos_test_exe.dir/all] Error 2
make[1]: *** [examples/CMakeFiles/examples.sheneos.dir/rule] Error 2
make: *** [examples.sheneos] Error 2
@brycelelbach
Copy link
Member Author

[comment by blelbach] [Trac time Mon Sep 26 00:20:26 2011] Release or debug?

@brycelelbach
Copy link
Member Author

[comment by maciek] [Trac time Mon Sep 26 00:21:11 2011] release

@brycelelbach
Copy link
Member Author

[comment by blelbach] [Trac time Mon Sep 26 00:21:59 2011] Try clearing your build directory and CMakeCache.

@brycelelbach
Copy link
Member Author

[comment by blelbach] [Trac time Mon Sep 26 00:23:55 2011] Yep, confirmed.

@brycelelbach
Copy link
Member Author

[comment by blelbach] [Trac time Mon Sep 26 00:25:41 2011] Only a problem in release, btw.

@brycelelbach
Copy link
Member Author

[comment by blelbach] [Trac time Mon Sep 26 00:28:47 2011] r5620.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant