Thread: [Quickfix-users] Help!!! Quickfix is not working with STLport
Brought to you by:
orenmnero
From: ry_khan2003 <ry_...@ho...> - 2007-04-16 09:41:08
|
hi i am getting problems with quickfix & stlport. i m using gcc 3.4.6 & CentOS 4 OS. I use hash_map for my quickfix application. I am getting errors given below. If there is configuration problem, then plz state how to resolve. because i configure quickfix with stlport library, by wrting command. ./configure --with-stlport=/usr/include but when i configure with this, it donot compile quickfix, here is ./configure --with-stlport=/usr/include/stlport plz help me, i m continiously involve in this issue whole month. thanks in advance. Object files are successfully created but not linking. here is errors. rizwanyasinkhan@localhost ordermatch]$ make g++ -c ordermatch.cpp Application.h\ -g -O2 -Wall -ansi -Wwrite-strings \ -I /usr/local/include/quickfix\ -I /usr/include/mysql\ -I /usr/include/libxml2\ -I /usr/include/stlport g++ -c Application.cpp Application.h OrderMatcher.h Order.h\ -g -O2 -Wall -ansi -Wwrite-strings \ -I /usr/local/include/quickfix\ -I /usr/include/mysql \ -I /usr/local/include/mysql++\ -I /usr/include/libxml2\ -I /usr/include/stlport g++ -c Market.cpp Market.h Order.h\ -g -O2 -Wall -ansi -Wwrite-strings -D_REENTRANT \ -I /usr/local/include/quickfix \ -I /usr/include/mysql\ -I /usr/include/libxml2\ -I /usr/include/stlport g++ -o ordermatch ordermatch.o Application.o Market.o\ -g -O2 -Wall -ansi -Wwrite-stringsmake -lstlport -lquickfix \ -L/usr/lib/mysql -lpthread -L/usr/lib -lxml2 -lz -lm -lmysqlclient -liberty ordermatch.o(.text+0x87): In function `main': /home/rizwanyasinkhan/Desktop/testcode/quickfix/ordermatch/ordermatch.cp p:46: undefined reference to `FIX::SessionSettings::SessionSettings(stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const&)' Application.o(.text+0x2890): In function `Application::rejectOrder(FIX::SenderCompID const&, FIX::TargetCompID const&, FIX::ClOrdID const&, FIX::Symbol const&, FIX::Side const&, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const&)': /usr/include/stlport/stl/_alloc.h:365: undefined reference to `FIX::Session::sendToTarget(FIX::Message&, FIX::SenderCompID const&, FIX::TargetCompID const&, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const&)' Application.o(.text+0x34c0): In function `Application::updateOrder(Order const&, char)': /usr/include/stlport/stl/_alloc.h:365: undefined reference to `FIX::Session::sendToTarget(FIX::Message&, FIX::SenderCompID const&, FIX::TargetCompID const&, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const&)' collect2: ld returned 1 exit status make: *** [ordermatch] Error 1 -- View this message in context: http://www.nabble.com/Help%21%21%21-Quickfix-is-not-working-with-STLport-tf3583386.html#a10013014 Sent from the QuickFIX - User mailing list archive at Nabble.com. |
From: Sean K. <sea...@pi...> - 2007-05-09 14:16:27
|
You should check the configure file for the "with-stlport" directive and make sure that the path it is included matches the location of your stlport headers. I had to modify where quickfix was looking... > -----Original Message----- > From: qui...@li... [mailto:quickfix-users- > bo...@li...] On Behalf Of ry_khan2003 > Sent: Monday, April 16, 2007 5:41 AM > To: qui...@li... > Subject: [Quickfix-users] Help!!! Quickfix is not working with STLport >=20 > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html >=20 >=20 > hi > i am getting problems with quickfix & stlport. i m using gcc 3.4.6 & > CentOS 4 OS. > I use hash_map for my quickfix application. I am getting errors given > below. If there is configuration problem, then plz state how to resolve. > because i configure quickfix with stlport library, by wrting command. > ./configure --with-stlport=3D/usr/include >=20 > but when i configure with this, it donot compile quickfix, here is > ./configure --with-stlport=3D/usr/include/stlport >=20 > plz help me, i m continiously involve in this issue whole month. > thanks in advance. > Object files are successfully created but not linking. > here is errors. >=20 > rizwanyasinkhan@localhost ordermatch]$ make > g++ -c ordermatch.cpp Application.h\ > -g -O2 -Wall -ansi -Wwrite-strings \ > -I /usr/local/include/quickfix\ > -I /usr/include/mysql\ > -I /usr/include/libxml2\ > -I /usr/include/stlport > g++ -c Application.cpp Application.h OrderMatcher.h Order.h\ > -g -O2 -Wall -ansi -Wwrite-strings \ > -I /usr/local/include/quickfix\ > -I /usr/include/mysql \ > -I /usr/local/include/mysql++\ > -I /usr/include/libxml2\ > -I /usr/include/stlport > g++ -c Market.cpp Market.h Order.h\ > -g -O2 -Wall -ansi -Wwrite-strings -D_REENTRANT \ > -I /usr/local/include/quickfix \ > -I /usr/include/mysql\ > -I /usr/include/libxml2\ > -I /usr/include/stlport > g++ -o ordermatch ordermatch.o Application.o Market.o\ > -g -O2 -Wall -ansi -Wwrite-stringsmake -lstlport -lquickfix \ > -L/usr/lib/mysql -lpthread -L/usr/lib -lxml2 -lz -lm -lmysqlclient > -liberty > ordermatch.o(.text+0x87): In function `main': > /home/rizwanyasinkhan/Desktop/testcode/quickfix/ordermatch/ordermatch.cp > p:46: undefined reference to > `FIX::SessionSettings::SessionSettings(stlp_std::basic_string<char, > stlp_std::char_traits<char>, stlp_std::allocator<char> > const&)' > Application.o(.text+0x2890): In function > `Application::rejectOrder(FIX::SenderCompID const&, FIX::TargetCompID > const&, FIX::ClOrdID const&, FIX::Symbol const&, FIX::Side const&, > stlp_std::basic_string<char, stlp_std::char_traits<char>, > stlp_std::allocator<char> > const&)': > /usr/include/stlport/stl/_alloc.h:365: undefined reference to > `FIX::Session::sendToTarget(FIX::Message&, FIX::SenderCompID const&, > FIX::TargetCompID const&, stlp_std::basic_string<char, > stlp_std::char_traits<char>, stlp_std::allocator<char> > const&)' > Application.o(.text+0x34c0): In function `Application::updateOrder(Order > const&, char)': > /usr/include/stlport/stl/_alloc.h:365: undefined reference to > `FIX::Session::sendToTarget(FIX::Message&, FIX::SenderCompID const&, > FIX::TargetCompID const&, stlp_std::basic_string<char, > stlp_std::char_traits<char>, stlp_std::allocator<char> > const&)' > collect2: ld returned 1 exit status > make: *** [ordermatch] Error 1 >=20 >=20 >=20 > -- > View this message in context: http://www.nabble.com/Help%21%21%21- > Quickfix-is-not-working-with-STLport-tf3583386.html#a10013014 > Sent from the QuickFIX - User mailing list archive at Nabble.com. >=20 >=20 > ------------------------------------------------------------------------ - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users Disclaimer: Any references to Pipeline performance contained herein are = based on historic performance levels which Pipeline expects to maintain = or exceed but nevertheless does not guarantee. Congested networks, price = volatility, or other extraordinary events may impede future trading = activities and degrade performance statistics. |