[Quickfix-developers] Error building Quickfix from HEAD
Brought to you by:
orenmnero
|
From: Toli K. <to...@ma...> - 2006-10-11 00:52:48
|
Hi, I'm trying to build Quickfix from the HEAD of the SVN tree (Oren thanks for adding the DataDictionary support for Ruby). I'm getting 2 separate errors, one on Linux and a different one on a Mac. Btw, i can build quickfix-1.12.4 from source just fine on both of these. The Linux failure looks like a straight compilation problem in QuickfixRuby.cpp. Unfortunatley, i don't know SWIG well enough to figure out what's not setup correctly: <snip> Making install in ruby make[2]: Entering directory `/home/toli/dev/ossProjects/quickfix-latest/src/ruby' bash ./make_ruby.sh g++ -g -O2 -Wall -ansi -Wpointer-arith -Wwrite-strings -I/usr/include/libxml2 -I/usr/lib/ruby/1.8/i486-linux -lpthread -L/usr/lib -lxml2 -lz -lm ~/dev/ossProjects/quickfix-latest/src/temp ~/dev/ossProjects/quickfix-latest/src/ruby checking for main() in -lquickfix... yes creating Makefile ~/dev/ossProjects/quickfix-latest/src/ruby make[3]: Entering directory `/home/toli/dev/ossProjects/quickfix-latest/src/ruby' g++ -fPIC -Wall -g -O2 -fPIC -g -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -I../../include -c QuickfixRuby.cpp QuickfixRuby.cpp: In function 'VALUE _wrap_new_FieldBase__SWIG_0(int, VALUE*, VALUE)': QuickfixRuby.cpp:7530: error: no matching function for call to 'FIX::FieldBase::FieldBase(int&, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool&)' ../C++/Field.h:49: note: candidates are: FIX::FieldBase::FieldBase(int, const std::string&) ../C++/Field.h:46: note: FIX::FieldBase::FieldBase(const FIX::FieldBase&) make[3]: *** [QuickfixRuby.o] Error 1 make[3]: Leaving directory `/home/toli/dev/ossProjects/quickfix-latest/src/ruby' make[2]: *** [all-local] Error 2 make[2]: Leaving directory `/home/toli/dev/ossProjects/quickfix-latest/src/ruby' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/toli/dev/ossProjects/quickfix-latest/src' make: *** [install-recursive] Error 1 The MacOSX failure is a lot stranger, and seems more like an environment issue: toli@tolimac:~/dev/ossProjects/quickfix-latest$ make install Making install in src Making install in C++ Making install in test source='FieldBaseTestCase.cpp' object='FieldBaseTestCase.lo' libtool=yes \ depfile='.deps/FieldBaseTestCase.Plo' tmpdepfile='.deps/FieldBaseTestCase.TPlo' \ depmode=gcc3 /bin/sh ../../../config/depcomp \ /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 -I/usr/local/lib/ruby/1.8/i686-darwin8.7.1 -O0 -g -c -o FieldBaseTestCase.lo `test -f 'FieldBaseTestCase.cpp' || echo './'`FieldBaseTestCase.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -g -O2 -Wall -ansi -Wpointer-arith -Wwrite-strings -I/usr/include/libxml2 -I/usr/local/lib/ruby/1.8/i686-darwin8.7.1 -O0 -g -c FieldBaseTestCase.cpp -MT FieldBaseTestCase.lo -MD -MP -MF .deps/FieldBaseTestCase.TPlo -fno-common -DPIC -o .libs/FieldBaseTestCase.o /var/tmp//ccbxFFM0.s:unknown:FATAL:can't create output file: .libs/FieldBaseTestCase.o make[3]: *** [FieldBaseTestCase.lo] Error 1 make[2]: *** [install-recursive] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1 Again, both platforms compile the released 1.12.4 just fine. I've run ./bootstrap and ./configure --with-ruby on both prior to running 'make install'. Any thoughts? thanks! -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |