Re: [Quickfix-developers] Build quickfix-1.12.4 on Solaris 10 / Solution
Brought to you by:
orenmnero
From: <ale...@el...> - 2007-05-30 10:54:03
|
Hello, quickfix-1.12.4 on Solaris 10 with CC works! If you do some additional modifications it compiles and link without = errors. 1. Look at my previous post 'Quickfix and SunPro Compiler / Solution': http://www.nabble.com/Quickfix-and-SunPro-Compiler-tf2805901.html#a788885= 7 Some additional hints: 2. Sun Pro Compiler & Patches "I try to build quickfix 1.12.4 on a Solaris 10 Server with Sun CC: Sun = C++ 5.8 2005/10/13" --> install the latest available Sun compiler patches (see the 'Off = topic hint' in my previous post). 3. you must set the following required environment entries in the = .profile before you run ./configure If you set the environment variables only in the shell where you want to = start ./configure you got problems. CC=3D/opt/SUNWspro/bin/CC export CC CFLAGS=3D"-g -xs" export CFLAGS CXX=3D/opt/SUNWspro/bin/CC export CXX CXXFLAGS=3D"-g -xs" export CXXFLAGS LD=3D/opt/SUNWspro/bin/CC export LD LDFLAGS=3D"-g -xs -lCstd" export LDFLAGS AR=3D/opt/SUNWspro/bin/CC export AR AR_FLAGS=3D"-g -xs -xar -o" export AR_FLAGS Bye Alex -----Urspr=FCngliche Nachricht----- Von: qui...@li... = [mailto:qui...@li...] Im Auftrag = von Sacha Grbic Gesendet: Montag, 21. Mai 2007 15:19 An: qui...@li... Betreff: [Quickfix-developers] Build quickfix-1.12.4 on Solaris 10 QuickFIX Documentation: = http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Hello,=20 I try to build quickfix 1.12.4 on a Solaris 10 Server with Sun CC: Sun = C++ 5.8 2005/10/13.=20 All the Environments are set.=20 CC=3D/opt/SUNWspro/bin/CC CXX=3D/opt/SUNWspro/bin/CC LD=3D/opt/SUNWspro/bin/CC AR=3D/opt/SUNWspro/bin/CC CFLAGS=3D-g -xs CXXFLAGS=3D-g -xs LDFLAGS=3D-g -xs -lCstd ARFLAGS=3D-g -xs -xar -o=20 The build hangs at:=20 make all-recursive make[1]: Entering directory `/export/home/xgbs/quickfix/qfix1.12.4'=20 Making all in src make[2]: Entering directory `/export/home/xgbs/quickfix/qfix1.12.4/src'=20 Making all in C++ make[3]: Entering directory = `/export/home/xgbs/quickfix/qfix1.12.4/src/C++'=20 Making all in test make[4]: Entering directory `/export/home/xgbs/quickfix/qfix1.12.4/src/C++/test'=20 /bin/bash ../../../libtool --mode=3Dlink /opt/SUNWspro/bin/CC -g -xs = -Wall - ansi -Wpointer-arith -Wwrite-strings -I/usr/include/libxml2 -O0 = -g -g -xs - lCstd -o libquickfixcpptest.la FieldBaseTestCase.lo = FieldConvertorsTestCase.lo MessagesTestCase.lo SessionTestCase.lo = ParserTestCase.lo SettingsTestCase.lo MessageStoreTestCase.lo = UtcTimeStampTestCase.lo UtcTimeOnlyTestCase.lo AcceptorTestCase.lo = SocketAcceptorTestCase.lo SocketUtilitiesTestCase.lo = FileUtilitiesTestCase.lo StringUtilitiesTestCase.lo = SocketServerTestCase.lo SocketConnectorTestCase.lo SessionIDTestCase.lo = SessionTimeTestCase.lo FileStoreTestCase.lo FileStoreFactoryTestCase.lo = MySQLStoreTestCase.lo PostgreSQLStoreTestCase.lo DictionaryTestCase.lo = SessionSettingsTestCase.lo DataDictionaryTestCase.lo = MemoryStoreTestCase.lo HttpParserTestCase.lo HttpMessageTestCase.lo - = L/usr/lib -R/usr/lib -lxml2 -lz -lpthread -lm -lsocket -lnsl = /opt/SUNWspro/bin/CC cru .libs/libquickfixcpptest.a = .libs/FieldBaseTestCase.o .libs/FieldConvertors TestCase.o = .libs/MessagesTestCase.o .libs/SessionTestCase.o .libs/ParserTestCa se.o = .libs/SettingsTestCase.o .libs/MessageStoreTestCase.o = .libs/UtcTimeStampT estCase.o .libs/UtcTimeOnlyTestCase.o = .libs/AcceptorTestCase.o .libs/SocketAcc eptorTestCase.o = .libs/SocketUtilitiesTestCase.o .libs/FileUtilitiesTestCase.o = .libs/StringUtilitiesTestCase.o .libs/SocketServerTestCase.o = .libs/SocketConne ctorTestCase.o .libs/SessionIDTestCase.o = .libs/SessionTimeTestCase.o .libs/Fil eStoreTestCase.o = .libs/FileStoreFactoryTestCase.o .libs/MySQLStoreTestCase.o . libs/PostgreSQLStoreTestCase.o .libs/DictionaryTestCase.o = .libs/SessionSetting sTestCase.o .libs/DataDictionaryTestCase.o = .libs/MemoryStoreTestCase.o .libs/H ttpParserTestCase.o = .libs/HttpMessageTestCase.o ld: fatal: file cru: open failed: No such file or directory ld: fatal: file .libs/libquickfixcpptest.a: open failed: No such file or = directory ld: fatal: File processing errors. No output written to a.out make[4]: *** [libquickfixcpptest.la] Error 1=20 The build worked correctly with gcc version 4.0.3 unfortunally i need to = link with CC and there are linker error. FIX::SocketInitiator::SocketInitiator (FIX::Application&,FIX::MessageStoreFactory&,const FIX::SessionSettings&,FIX::LogFactory&) main.o FIX::FileStoreFactory::__vtbl main.o [Hint: try checking whether the first non-inlined, non-pure virtual = function of class FIX::FileStoreFactory is defined] For this reason i try to build quickfix with CC. Any help would be appreciated.=20 Regards Sacha=20 -- Open WebMail Project (http://openwebmail.org) -------------------------------------------------------------------------= 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-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |