gcc -m64 -o test test.o -lstdc++ -ldl -pthread -L/home/quickfix-1.13.3/lib/libquickfix.a -Lquickfix
报错
test.o: In function FIX::message_order::message_order(FIX::message_order const&)':
FIX::message_order::operator=(FIX::message_order const&)'
/home/ktgs/ktgs/src/ktgs/translate/src/third/quickfix/fix50sp2/../MessageSorters.h:121: undefined reference to
test.o: In function FIX::FieldMap::FieldMap(FIX::message_order const&)':
vtable for FIX::FieldMap'
/home/ktgs/ktgs/src/ktgs/translate/src/third/quickfix/fix50sp2/../FieldMap.h:67: undefined reference to
test.o: In function FIX::Message::Message(FIX::BeginString const&, FIX::MsgType const&)':
FIX::FieldMap::~FieldMap()'
/home/ktgs/ktgs/src/ktgs/translate/src/third/quickfix/fix50sp2/../Message.h:122: undefined reference to
/home/ktgs/ktgs/src/ktgs/translate/src/third/quickfix/fix50sp2/../Message.h:122: undefined reference to FIX::FieldMap::~FieldMap()'
FIX::FieldMap::~FieldMap()'
/home/ktgs/ktgs/src/ktgs/translate/src/third/quickfix/fix50sp2/../Message.h:122: undefined reference to
test.o: In function FIX::Message::~Message()':
FIX::FieldMap::~FieldMap()'
/home/ktgs/ktgs/src/ktgs/translate/src/third/quickfix/fix50sp2/../Message.h:57: undefined reference to
/home/ktgs/ktgs/src/ktgs/translate/src/third/quickfix/fix50sp2/../Message.h:57: undefined reference to FIX::FieldMap::~FieldMap()'
FIX::FieldMap::~FieldMap()'
/home/ktgs/ktgs/src/ktgs/translate/src/third/quickfix/fix50sp2/../Message.h:57: undefined reference to
test.o:(.rodata._ZTIN3FIX7MessageE[_ZTIN3FIX7MessageE]+0x10): undefined reference to `typeinfo for FIX::FieldMap'