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