Re: [Quickfix-developers] Quickfix on AIX
Brought to you by:
orenmnero
|
From: Tarandeep S. <tar...@ef...> - 2005-08-11 11:03:24
|
Hi all, I was finally able to install QuickFIX on AIX using gcc 3.3.2. The issues which I was facing are related to AIX machine and they can be resolved by installing the following two packages: APAR IY25528 (AIX 5.1) - Fixes problem with assembler. APAR IY54774 (AIX 5.1) - Fixes problem with linker. Hope this helps anyone out there trying to port Quickfix to AIX. Regards, Tarandeep Singh > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFix= FAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi, > Although Orens response fixed that issue but still its not working. I > am doing it in following way. > 1. Downloaded quickfix-1.10.2 > > 2. Installed GNU Make 3.80 > > 3. Ran configure using > > configure --prefix=3D/home/tuli/local/quickfix > --with-xml-prefix=3D/home/tuli/local/libxml2 CXXFLAGS=3D"-g -qrtti=3Da= ll > -qstaticinline" > > qrtti=3Dall: To get rid of a warning about missing runtime type inform= ation > qstaticinline: To get rid of a lot of linker warnings. > > 4. Following modifications were made to get quickfix xlC > > src/C++/test/MessgaesTestCase.cpp: > Some template<> declarators were added. > Revision 1.34 in the CVS already has this included after someone > reported problems with gcc 4.0. xlC also requires the template <> > declarators. > > src/C++/DataDictionary.h: > Added forward declaration. > class Message; > > src/C++/Acceptor.h: > Added forward declaration. > class Session; > > src/C++/Initiator.h: > Added forward declaration. > class Session; > > src/C++/Makefile > Renamed bash to sh > > src/C++/copy.sh > Renamed bash to sh > > 5. Some warnings were issued during the build process: > > xlC_r -g -qrtti=3Dall -qstaticinline > -I/home/tuli/local/libxml2/include/libxml2 -o .libs/ordermatch > ordermatch.o Application.o Market.o -L../../src/C++/.libs -lquickfix > -L/home/tuli/local/libxml2/lib -lc_r > -L/home/tuli/test/library/libxml2/lib -lxml2 -ldl -lpthread -liconv > -lm > -blibpath:/home/tuli/local/quickfix/lib:/home/tuli/test/library/libxml= 2/lib:/usr/vac/lib:/usr/lib/threads:/usr/vacpp/lib:/usr/lib:/lib > > ld: 0711-224 WARNING: Duplicate symbol: > std::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>= > > >::id > ld: 0711-224 WARNING: Duplicate symbol: std::_Tidyfac<std::ctype<char>= > >::_Facsav > ld: 0711-224 WARNING: Duplicate symbol: > std::_Tidyfac<std::num_put<char,std::ostreambuf_iterator<char,std::cha= r_traits<char> > > > >::_Facsav > ld: 0711-224 WARNING: Duplicate symbol: std::numpunct<char>::id > ld: 0711-224 WARNING: Duplicate symbol: > std::_Tidyfac<std::numpunct<char> >::_Facsav > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information. > creating ordermatch > > 6. run_ordermatch yields > > $ ./run_ordermatch > Configuration failed: not defined > > 7. Added some simple logging of the BEGINSTRING string: > > In examples/ordermatch/ordermatch.cpp: > Added > std::cout << "1. BEGINSTRING=3D" << FIX::BEGINSTRING << std::endl; > before > FIX::SessionSettings settings( file ); > > In src/C++/SessionSettings.cpp: Added > std::cout << "2. BEGINSTRING=3D" << BEGINSTRING << std::endl; > before > section =3D settings.get( "SESSION" ); > in the function std::istream& operator>>( std::istream& stream, > SessionSettings& s ) > > 8. Running run_ordermatch now yields > > $ ./run_ordermatch > 1. BEGINSTRING=3DBeginString > 2. BEGINSTRING=3D > Configuration failed: not defined > > This output suggests that the definition of BEGINSTRING is somehow > corrupted > in the SessionSettings.cpp module. > > Any ideas how this is possible? > Regards, > Tarandeep Singh > >> Tarandeep Singh wrote: >> >>> I am trying to compile quickfix-1.10.2 on AIX 5.1 with compiler XL >>> C++ v7.0. >> >> >> >> Hi, >> >> please tell us if you finally succeed to compile QuickFIX. I hope >> Orens response fixes your issue. >> >> Cheers, J=F6rg >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dclick > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers |