Re: [Quickfix-developers] Quickfix build errors on fedora 8
Brought to you by:
orenmnero
From: Rai, N. <nee...@ci...> - 2008-04-25 19:15:50
|
gcc 4.3.0 ========================== gcc --version gcc (GCC) 4.3.0 20080130 (Red Hat 4.3.0-0.7) _____ From: or...@qu... [mailto:or...@qu...] Sent: Friday, April 25, 2008 3:00 PM To: Rai, Neeraj [CAI] Cc: qui...@li... Subject: RE: [Quickfix-developers] Quickfix build errors on fedora 8 What version of gcc does fedora 8 use? -------- Original Message -------- Subject: [Quickfix-developers] Quickfix build errors on fedora 8 From: "Rai, Neeraj " <nee...@ci...> Date: Fri, April 25, 2008 11:46 am To: <qui...@li...> QuickFIX Documentation: <http://www.quickfixengine.org/quickfix/doc/html/index.html> http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: <http://www.quickfixengine.org/services.html> http://www.quickfixengine.org/services.html Hi, I have encountered 2 errors in building quickfix on fedora 8. The error log attached at the end of the email. ! 1. It seems std::strcmp etc are not found. These are being included if STLport is not used. If I define HAVE_STLPORT, it goes past this error. I didn't need STLPort when I worked on it last time (on RHEL), so I would like to avoid using it. 2. The 2nd one may be related. Upon defining HAVE_STLPORT, std::strerror" still cannot be found. I have to include string.h in couple of files to finish the build. I am sure, this is not the right way to fix these errors. can this be avoided by some configure options ? Any help, pointer in the right direction would be appreciated. Thanks Neeraj Error Log: Making all in test make[4]: Entering directory `/export/home/nr42835/Download/quickfix/src/C++/test' if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -g -O2 -Wall -ansi -Wpointer-arith -Wwrite-strings -I/usr/include/libxml2 -O0 -g -MT FieldBaseTestCase.lo -MD -MP -MF ".deps/FieldB! aseTestCase.Tpo" \ -c -o FieldBaseTestCase.lo `test -f 'Fie! ldBaseTe stCase.cpp' || echo './'`FieldBaseTestCase.cpp; \ then mv ".deps/FieldBaseTestCase.Tpo" ".deps/FieldBaseTestCase.Plo"; \ else rm -f ".deps/FieldBaseTestCase.Tpo"; exit 1; \ fi mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -g -O2 -Wall -ansi -Wpointer-arith -Wwrite-strings -I/usr/include/libxml2 -O0 -g -MT FieldBaseTestCase.lo -MD -MP -MF .deps/FieldBaseTestCase.Tpo -c FieldBaseTestCase.cpp -fPIC -DPIC -o .libs/FieldBaseTestCase.o In file included from ../FieldTypes.h:30, from ../FieldConvertors.h:26, from ../Field.h:33, from FieldBaseTestCase.h:27, from FieldBaseTestCase.cpp:28: ../Utility.h:179: error: 'std::strcmp' has not been declared ../Utility.h:181: error: 'std::strlen' has not been declared ../Utility.h:184: error: 'std::memcpy' has not been declared ../Utility.h:185: error: 'std::memset' has not been declared ../Utility.h:189: error: 'std::strerror' has not been declared In file included from .! ./FieldConvertors.h:27, from ../Field.h:33, from FieldBaseTestCase.h:27, from FieldBaseTestCase.cpp:28: ../Exceptions.h: In member function 'std::string FIX::SocketException::errorToWhat()': ../Exceptions.h:253: error: 'strerror' was not declared in this scope In file included from FieldBaseTestCase.h:27, from FieldBaseTestCase.cpp:28: ../Field.h: In member function 'void FIX::FieldBase::calculate() const': ../Field.h:110: error: 'memcpy' was not declared in this scope make[4]: *** [FieldBaseTestCase.lo] Error 1 ------------------------------------------------------------------------ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. <http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/ javaone> http://ad.doub! leclick. net/clk;198757673;13503038;p?http://java.sun.com/javaone <http://ad.doubleclick.net/clk;19! 8757673;13503038;p?http://java.sun.com/javaone> _______________________________________________ Quickfix-developers mailing list Qui...@li... <https://lists.sourceforge.net/lists/listinfo/quickfix-developers> https://lists.sourceforge.net/lists/listinfo/quickfix-developers |