Boost logo

Boost Users :

Subject: [Boost-users] link error on serialization demo.cpp
From: jiryih.tsaur_at_[hidden]
Date: 2010-10-15 14:41:19


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'
...

PLEASE READ: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please delete it and all copies from your system, destroy any hard copies and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Nomura Holding America Inc., Nomura Securities International, Inc, and their respective subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state the views of such entity. Unless otherwise stated, any pricing information in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net