Tried to compile demo.cpp and getting link error below. Any suggestions?
g++ -c -I. -I/usr/include -I/usr/include/c++/4.1.2 -I/usr/include/boost -I/home/jitsaur/usr/include -g -D_DEBUG -o demo.o demo.cpp
g++ -I. -I/usr/include -I/usr/include/c++/4.1.2 -I/usr/include/boost -I/home/jitsaur/usr/include -g -D_DEBUG -o demo demo.o
demo.o: In function `archive_exception':
/home/jitsaur/usr/include/boost/archive/archive_exception.hpp:45: undefined reference to `vtable for boost::archive::archive_exception'