>Try changing this line:
>
>LINKFLAGS := -L$(BOOST_LIB) -lboost_system -lboost_filesystem$(BOOST_VER)
>
>To
>
> LINKFLAGS := -L$(BOOST_LIB) -lboost_filesystem$(BOOST_VER) -lboost_system
Hi Chris,
It is a very nasty error and I have resolved many such errors by putting the right library names and fixing Makefiles. However, I don't know why I cannot cope with this one! I changed the order but still get the same error.
$(SETENV) make noinline=$(noinline) -C AES
So that enters AES/ and builds that. We see
mahmood@vb:ispass2009-benchmarks$ make -f Makefile.ispass-2009
rm -f ../common; ln -s /home/mahmood/NVIDIA_GPU_Computing_SDK/C/common ../common;
export
BINDIR=/home/mahmood/gpgpu-sim_distribution/ispass2009-benchmarks/bin;
export ROOTDIR=/home/mahmood/NVIDIA_GPU_Computing_SDK/C/src/; export
BINSUBDIR=release; export
BOOST_LIB=/home/mahmood/boost_1_54_0/stage/lib; export
BOOST_ROOT=/home/mahmood/boost_1_54_0; export BOOST_VER=""; export
OPENMPI_BINDIR=/usr/bin/; make noinline=0 -C AESmake[1]: Entering directory `/home/mahmood/gpgpu-sim_distribution/ispass2009-benchmarks/AES'
obj/x86_64/release/aescuda.cpp.o: In function `_GLOBAL__sub_I_aescuda.cpp':
aescuda.cpp:(.text.startup+0x68b): undefined reference to `boost::system::get_system_category()'
...
That file includes a common.mk for rules and targets. It is a 500 line file
I am trying to find the exact command that builds aescuda.cpp.o. I think it is
$(OBJDIR(/%.cpp.o : $(SRCDIR)%.cpp $(C_DEPS)
$(VERBOSE)$(CXX) $(CXXFLAGS) -o $@ -c $<
So, I think something is missing here that the library file is missed.
Regards,
Mahmood