[Quickfix-developers] Quickfix build errors on fedora 8
Brought to you by:
orenmnero
From: Rai, N. <nee...@ci...> - 2008-04-25 16:46:57
|
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/FieldBaseTestCase.Tpo" \ -c -o FieldBaseTestCase.lo `test -f 'FieldBaseTestCase.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 |