[Quickfix-users] Trouble installing 1.13.1 in Mac
Brought to you by:
orenmnero
From: Anna C. <ann...@gm...> - 2010-05-28 12:43:12
|
I'm having trouble compiling quickfix with ruby support in Mac OsX snow leopard I made the following commands: ./bootstrap ./configure --with-ruby make In make I received the following erro message: In file included from ../C++/FieldConvertors.h:25, from ../C++/Field.h:32, from QuickfixRuby.cpp:3906: ../C++/FieldTypes.h: In constructor ‘FIX::UtcDate::UtcDate(long int)’: ../C++/FieldTypes.h:570: warning: implicit conversion shortens 64-bit value into a 32-bit value ../C++/FieldTypes.h: In constructor ‘FIX::LocalDate::LocalDate(long int)’: ../C++/FieldTypes.h:606: warning: implicit conversion shortens 64-bit value into a 32-bit value In file included from ../C++/Field.h:32, from QuickfixRuby.cpp:3906: ../C++/FieldConvertors.h: In static member function ‘static bool FIX::DoubleConvertor::convert(const std::string&, double&)’: ../C++/FieldConvertors.h:279: warning: suggest a space before ‘;’ or explicit braces around empty body in ‘while’ statement ../C++/FieldConvertors.h:285: warning: suggest a space before ‘;’ or explicit braces around empty body in ‘while’ statement In file included from QuickfixRuby.cpp:3906: ../C++/Field.h: In member function ‘void FIX::FieldBase::calculate() const’: ../C++/Field.h:111: warning: implicit conversion shortens 64-bit value into a 32-bit value ../C++/Field.h:119: warning: implicit conversion shortens 64-bit value into a 32-bit value ../C++/Field.h: In member function ‘int FIX::IntField::getValue() const’: ../C++/Field.h:306: warning: implicit conversion shortens 64-bit value into a 32-bit value ../C++/Field.h: In member function ‘int FIX::CheckSumField::getValue() const’: ../C++/Field.h:427: warning: implicit conversion shortens 64-bit value into a 32-bit value In file included from QuickfixRuby.cpp:3907: ../C++/Message.h: In member function ‘FIX::FieldBase FIX::Message::extractField(const std::string&, size_t&, const FIX::DataDictionary*, const FIX::DataDictionary*, const FIX::Group*)’: ../C++/Message.h:322: warning: implicit conversion shortens 64-bit value into a 32-bit value In file included from QuickfixRuby.cpp:3912: ../C++/Dictionary.h: In member function ‘int FIX::Dictionary::size() const’: ../C++/Dictionary.h:50: warning: implicit conversion shortens 64-bit value into a 32-bit value In file included from QuickfixRuby.cpp:3913: ../C++/SessionSettings.h: In member function ‘int FIX::SessionSettings::size() const’: ../C++/SessionSettings.h:150: warning: implicit conversion shortens 64-bit value into a 32-bit value In file included from ../C++/SocketConnector.h:29, from ../C++/SocketInitiator.h:30, from QuickfixRuby.cpp:3922: ../C++/SocketMonitor.h: In member function ‘int FIX::SocketMonitor::numSockets()’: ../C++/SocketMonitor.h:64: warning: implicit conversion shortens 64-bit value into a 32-bit value QuickfixRuby.cpp: In function ‘int SWIG_AsCharPtrAndSize(VALUE, char**, size_t*, int*)’: QuickfixRuby.cpp:3978: error: ‘STR2CSTR’ was not declared in this scope QuickfixRuby.cpp: In function ‘VALUE Application_onCreate_rescue(VALUE, VALUE)’: QuickfixRuby.cpp:4270: error: ‘struct RString’ has no member named ‘ptr’ QuickfixRuby.cpp: In function ‘VALUE Application_onLogon_rescue(VALUE, VALUE)’: QuickfixRuby.cpp:4303: error: ‘struct RString’ has no member named ‘ptr’ QuickfixRuby.cpp: In function ‘VALUE Application_onLogout_rescue(VALUE, VALUE)’: QuickfixRuby.cpp:4336: error: ‘struct RString’ has no member named ‘ptr’ QuickfixRuby.cpp: In function ‘VALUE Application_toAdmin_rescue(VALUE, VALUE)’: QuickfixRuby.cpp:4369: error: ‘struct RString’ has no member named ‘ptr’ QuickfixRuby.cpp: In function ‘VALUE Application_toApp_rescue(VALUE, VALUE)’: QuickfixRuby.cpp:4409: error: ‘struct RString’ has no member named ‘ptr’ QuickfixRuby.cpp: In function ‘VALUE Application_fromAdmin_rescue(VALUE, VALUE)’: QuickfixRuby.cpp:4476: error: ‘struct RString’ has no member named ‘ptr’ QuickfixRuby.cpp: In function ‘VALUE Application_fromApp_rescue(VALUE, VALUE)’: QuickfixRuby.cpp:4549: error: ‘struct RString’ has no member named ‘ptr’ QuickfixRuby.cpp: In function ‘VALUE _wrap_FieldMap_calculateString__SWIG_0(int, VALUE*, VALUE)’: QuickfixRuby.cpp:14846: error: ‘STR2CSTR’ was not declared in this scope QuickfixRuby.cpp: In function ‘VALUE _wrap_FieldMap_calculateString__SWIG_1(int, VALUE*, VALUE)’: QuickfixRuby.cpp:14891: error: ‘STR2CSTR’ was not declared in this scope QuickfixRuby.cpp: In function ‘VALUE _wrap_Message_toString__SWIG_4(int, VALUE*, VALUE)’: QuickfixRuby.cpp:16524: error: ‘STR2CSTR’ was not declared in this scope QuickfixRuby.cpp: In function ‘VALUE _wrap_Message_toString__SWIG_5(int, VALUE*, VALUE)’: QuickfixRuby.cpp:16585: error: ‘STR2CSTR’ was not declared in this scope QuickfixRuby.cpp: In function ‘VALUE _wrap_Message_toString__SWIG_6(int, VALUE*, VALUE)’: QuickfixRuby.cpp:16638: error: ‘STR2CSTR’ was not declared in this scope QuickfixRuby.cpp: In function ‘VALUE _wrap_Message_toString__SWIG_7(int, VALUE*, VALUE)’: QuickfixRuby.cpp:16683: error: ‘STR2CSTR’ was not declared in this scope QuickfixRuby.cpp: In function ‘VALUE _wrap_Message_toXML__SWIG_1(int, VALUE*, VALUE)’: QuickfixRuby.cpp:16929: error: ‘STR2CSTR’ was not declared in this scope QuickfixRuby.cpp: In function ‘VALUE _wrap_SessionID_toString__SWIG_1(int, VALUE*, VALUE)’: QuickfixRuby.cpp:221537: error: ‘STR2CSTR’ was not declared in this scope QuickfixRuby.cpp: In function ‘VALUE _wrap_DataDictionary__getFieldName(int, VALUE*, VALUE)’: QuickfixRuby.cpp:234997: error: ‘STR2CSTR’ was not declared in this scope QuickfixRuby.cpp: In function ‘VALUE _wrap_DataDictionary__getValueName(int, VALUE*, VALUE)’: QuickfixRuby.cpp:235175: error: ‘STR2CSTR’ was not declared in this scope make[4]: *** [QuickfixRuby.o] Error 1 make[3]: *** [all-local] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Could anyone help me? Anna Cruz |