[SOLVED] libboost1.58-all-dev not working in peppermint ( Ubunutututu)
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
libboost1.58-all-dev not working in peppermint ( Ubunutututu)
not working in Ubunutu knock off boost not working in peppermint , this compiles and installs and runs fine on Slackware, but here It at first had not boost anything so I installed what was in the repo, libboost1.58-all-dev
Still it fails. what to do?
Code:
> userx@HP-EliteBook-8460p:~/Templates/mh5000-1.3.1.1
> $ make
> make[1]: Entering directory '/home/userx/Templates/mh5000-1.3.1.1/src'
> g++ -std=c++11 -Wno-switch-enum -Wno-switch -lboost_system -lboost_filesystem -DPREFIX=\"/usr/local\" -DPACKAGE=\"mh5000\" -DVERSION=\"1.3.2\" -o mh5000 files.cpp img.cpp main.cpp options.cpp timers.cpp -lm -lX11 -lImlib2
> /tmp/ccK4GdOX.o: In function `__static_initialization_and_destruction_0(int, int)':
> files.cpp:(.text+0x1756): undefined reference to `boost::system::generic_category()'
> files.cpp:(.text+0x1762): undefined reference to `boost::system::generic_category()'
> files.cpp:(.text+0x176e): undefined reference to `boost::system::system_category()'
> /tmp/ccK4GdOX.o: In function `boost::system::error_code::error_code()':
> files.cpp:(.text._ZN5boost6system10error_codeC2Ev[_ZN5boost6system10error_codeC5Ev]+0x17): undefined reference to `boost::system::system_category()'
> /tmp/ccK4GdOX.o: In function `boost::system::error_code::clear()':
> files.cpp:(.text._ZN5boost6system10error_code5clearEv[_ZN5boost6system10error_code5clearEv]+0x17): undefined reference to `boost::system::system_category()'
> /tmp/ccK4GdOX.o: In function `boost::filesystem::exists(boost::filesystem::path const&)':
> files.cpp:(.text._ZN5boost10filesystem6existsERKNS0_4pathE[_ZN5boost10filesystem6existsERKNS0_4pathE]+0x19): undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
> /tmp/ccK4GdOX.o: In function `boost::filesystem::is_directory(boost::filesystem::path const&)':
> files.cpp:(.text._ZN5boost10filesystem12is_directoryERKNS0_4pathE[_ZN5boost10filesystem12is_directoryERKNS0_4pathE]+0x19): undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
> /tmp/ccK4GdOX.o: In function `boost::filesystem::is_regular_file(boost::filesystem::path const&)':
> files.cpp:(.text._ZN5boost10filesystem15is_regular_fileERKNS0_4pathE[_ZN5boost10filesystem15is_regular_fileERKNS0_4pathE]+0x19): undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
> /tmp/ccK4GdOX.o: In function `boost::filesystem::directory_entry::status(boost::system::error_code&) const':
> files.cpp:(.text._ZNK5boost10filesystem15directory_entry6statusERNS_6system10error_codeE[_ZNK5boost10filesystem15directory_entry6statusERNS_6system10error_codeE]+0x1f): undefined reference to `boost::filesystem::directory_entry::m_get_status(boost::system::error_code*) const'
> /tmp/ccK4GdOX.o: In function `boost::filesystem::directory_entry::symlink_status(boost::system::error_code&) const':
> files.cpp:(.text._ZNK5boost10filesystem15directory_entry14symlink_statusERNS_6system10error_codeE[_ZNK5boost10filesystem15directory_entry14symlink_statusERNS_6system10error_codeE]+0x1f): undefined reference to `boost::filesystem::directory_entry::m_get_symlink_status(boost::system::error_code*) const'
> /tmp/ccK4GdOX.o: In function `boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()':
> files.cpp:(.text._ZN5boost10filesystem6detail11dir_itr_impD2Ev[_ZN5boost10filesystem6detail11dir_itr_impD5Ev]+0x24): undefined reference to `boost::filesystem::detail::dir_itr_close(void*&, void*&)'
> /tmp/ccK4GdOX.o: In function `boost::filesystem::directory_iterator::directory_iterator(boost::filesystem::path const&)':
> files.cpp:(.text._ZN5boost10filesystem18directory_iteratorC2ERKNS0_4pathE[_ZN5boost10filesystem18directory_iteratorC5ERKNS0_4pathE]+0x55): undefined reference to `boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::system::error_code*)'
> /tmp/ccK4GdOX.o: In function `boost::filesystem::directory_iterator::directory_iterator(boost::filesystem::path const&, boost::system::error_code&)':
> files.cpp:(.text._ZN5boost10filesystem18directory_iteratorC2ERKNS0_4pathERNS_6system10error_codeE[_ZN5boost10filesystem18directory_iteratorC5ERKNS0_4pathERNS_6system10error_codeE]+0x58): undefined reference to `boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::system::error_code*)'
> /tmp/ccK4GdOX.o: In function `boost::filesystem::directory_iterator::increment()':
> files.cpp:(.text._ZN5boost10filesystem18directory_iterator9incrementEv[_ZN5boost10filesystem18directory_iterator9incrementEv]+0x19): undefined reference to `boost::filesystem::detail::directory_iterator_increment(boost::filesystem::directory_iterator&, boost::system::error_code*)'
> /tmp/ccK4GdOX.o: In function `boost::filesystem::path::path<boost::filesystem::directory_entry>(boost::filesystem::directory_entry const&, boost::enable_if<boost::filesystem::path_traits::is_pathable<boost::decay<boost::filesystem::directory_entry>::type>, void>::type*)':
> files.cpp:(.text._ZN5boost10filesystem4pathC2INS0_15directory_entryEEERKT_PNS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIS4_E4typeEEEvE4typeE[_ZN5boost10filesystem4pathC5INS0_15directory_entryEEERKT_PNS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIS4_E4typeEEEvE4typeE]+0x30): undefined reference to `boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
> /tmp/cckfbY9Y.o: In function `__static_initialization_and_destruction_0(int, int)':
> img.cpp:(.text+0x3c33): undefined reference to `boost::system::generic_category()'
> img.cpp:(.text+0x3c3f): undefined reference to `boost::system::generic_category()'
> img.cpp:(.text+0x3c4b): undefined reference to `boost::system::system_category()'
> /tmp/ccUJjOh6.o: In function `__static_initialization_and_destruction_0(int, int)':
> main.cpp:(.text+0x11a): undefined reference to `boost::system::generic_category()'
> main.cpp:(.text+0x126): undefined reference to `boost::system::generic_category()'
> main.cpp:(.text+0x132): undefined reference to `boost::system::system_category()'
> /tmp/cch4qBkj.o: In function `__static_initialization_and_destruction_0(int, int)':
> options.cpp:(.text+0xd3d): undefined reference to `boost::system::generic_category()'
> options.cpp:(.text+0xd49): undefined reference to `boost::system::generic_category()'
> options.cpp:(.text+0xd55): undefined reference to `boost::system::system_category()'
> /tmp/cccqS6zC.o: In function `__static_initialization_and_destruction_0(int, int)':
> timers.cpp:(.text+0x312): undefined reference to `boost::system::generic_category()'
> timers.cpp:(.text+0x31e): undefined reference to `boost::system::generic_category()'
> timers.cpp:(.text+0x32a): undefined reference to `boost::system::system_category()'
> collect2: error: ld returned 1 exit status
> Makefile:7: recipe for target 'mh5000' failed
> make[1]: *** [mh5000] Error 1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.