Results 1 to 1 of 1
I have installed the libboost recently in my Ubuntu 10.04.3 using the command sudo apt-get install libboost-all-dev It installed the boost version 1.40. I think all the environment variables are ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-03-2013 #1
- Join Date
- Jul 2013
Error undefined reference to 'boost::system::get_system_category()'
sudo apt-get install libboost-all-dev
It installed the boost version 1.40. I think all the environment variables are correctly defined. But when I am building a benchmark which uses boost internally is returning the following error..
rm -f ../common; ln -s /home/sai/NVIDIA_GPU_Computing_SDK/C/common ../common;
export BOOST_LIB=/usr/lib; export BOOST_ROOT=/usr/include;
export BOOST_VER=""; export OPENMPI_BINDIR=/usr/bin/;
make noinline=0 -C AES
make: Entering directory `/home/sai/gpgpu-sim/ispass2009-benchmarks/AES'
/usr/bin/ld: /usr/lib/libboost_filesystem.so: undefined reference to symbol 'boost::system::get_system_category()
/usr/bin/ld: note: 'boost::system::get_system_category()' is defined in DSO /usr/lib/libboost_system.so.1.40.0 so try adding it to the linker command line
/usr/lib64/libboost_system.so.1.40.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: **[/home/sai/gpgpu-sim/ispass2009-benchmarks/bin//release/AES] Error 1
make: Leaving directory `/home/sai/gpgpu-sim/ispass2009-benchmarks/AES'
make: ** [default] Error 2
What is the problem with it.
Is there any problem with my environment variables or of the paths in make file. Can anyone please help me....
Thanks in advance..