Boost logo

Boost-Build :

Subject: [Boost-build] /usr/local/include/boost/system/error_code.hpp:208: undefined reference to `boost::system::get_system_category()
From: Sharanraj Kelegaonkar (s.raj0369_at_[hidden])
Date: 2010-05-07 12:21:22


Hi,

I am getting the Following errors when Build using bjam by
usinghome/localadmin/Building/pathfinder/CPP/Fetch.cpp:45: warning: control
reaches end of non-void function
gcc.link deploy/debug/pathfinder/pathfinder
bin/bjam/pathfinder/gcc-4.4.1/debug/link-static/pathFinder.o: In function
`__static_initialization_and_destruction_0':
/usr/local/include/boost/system/error_code.hpp:208: undefined reference to
`boost::system::get_system_category()'
/usr/local/include/boost/system/error_code.hpp:209: undefined reference to
`boost::system::get_generic_category()'
/usr/local/include/boost/system/error_code.hpp:214: undefined reference to
`boost::system::get_generic_category()'
/usr/local/include/boost/system/error_code.hpp:215: undefined reference to
`boost::system::get_generic_category()'
/usr/local/include/boost/system/error_code.hpp:216: undefined reference to
`boost::system::get_system_category()'
bin/bjam/pathfinder/gcc-4.4.1/debug/link-static/property.o: In function
`__static_initialization_and_destruction_0':
/usr/local/include/boost/system/error_code.hpp:208: undefined reference to
`boost::system::get_system_category()'
/usr/local/include/boost/system/error_code.hpp:209: undefined reference to
`boost::system::get_generic_category()'
/usr/local/include/boost/system/error_code.hpp:214: undefined reference to
`boost::system::get_generic_category()'
/usr/local/include/boost/system/error_code.hpp:215: undefined reference to
`boost::system::get_generic_category()'
/usr/local/include/boost/system/error_code.hpp:216: undefined reference to
`boost::system::get_system_category()'
bin/bjam/pathfinder/gcc-4.4.1/debug/link-static/property.o: In function
`error_code':
/usr/local/include/boost/system/error_code.hpp:315: undefined reference to
`boost::system::get_system_category()'
 the Boost that is installed in ubuntu in my c++ project which also uses the
date-time regex of BOOST.

When i use the BOOST package that i have Downloaded from BOOST site i am
getting the following errors.

localadmin_at_TVLIN04:~/Downloads/Building$ $BOOST_ROOT/bjam
/home/localadmin/Downloads/boost_1_42_0/Jamroot:637: in modules.load
rule targets.create-metatarget unknown in module
Jamfile</home/localadmin/Downloads/boost_1_42_0>.
/usr/share/boost-build/build/project.jam:312: in load-jamfile
/usr/share/boost-build/build/project.jam:68: in project.load
/usr/share/boost-build/build/project.jam:718: in project.use
/usr/share/boost-build/build/project.jam:94: in load-used-projects
/usr/share/boost-build/build/project.jam:79: in load
/usr/share/boost-build/build/project.jam:170: in project.find
/usr/share/boost-build/build-system.jam:248: in load
/usr/share/boost-build/kernel/modules.jam:261: in import
/usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build
/usr/share/boost-build/boost-build.jam:1: in module scope
localadmin_at_TVLIN04:~/Downloads/Building$

Thanks,
Sharan



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk