Re: [Quickfix-users] unable to compile? missing source?
Brought to you by:
orenmnero
From: <OM...@th...> - 2002-02-28 21:35:17
|
Very interesting. I looked at the code and your compiler is giving a v= ery valid complaint. There is a derived class that has different throw specifiers than the base class. Oddly enough our linux compiler doesn'= t seem to care (pgcc-2.95.2 under Mandrake 8.0). Perhaps we should add SlackWare and RedHat configurations to our build farm. You actually caught this before we were going to put up our 1.0 release= . Score 1 for open source development. In any case I could send you a pa= tch for 0.9.0 if you would like, however 1.0.0 with this fix is available o= n our web page now at quickfix.sourceforge.net. We haven't made an offic= ial announcement yet but it is there and you are welcome to it. Since our compiler seems to be ignoring this it would be very helpful if you coul= d let us know if you are able to build the new version. 1.0.0 has the tradeclient and it also has a JAVA GUI tradeclient that i= s implemented through the new JNI interface. So that may interest you as= well. The ordermatch and tradeclient examples have also been built wit= h a little more robustness. Concerning the CVS version, it is very much out of date. We have been having issues with the sourceforge CVS repository. Hopefully they will= be resolved soon. I recommend using the packaged downloads until further notice. --oren = = =20 "Kenneth Morrill" = = =20 <kmo...@ny...> To: = <qui...@li...> = =20 Sent by: cc: = = =20 qui...@li...ur Subject: = [Quickfix-users] unable to compile? missing source? = =20 ceforge.net = = =20 = = =20 = = =20 02/28/02 01:46 PM = = =20 Please respond to kmorrill = = =20 = = =20 = = =20 Hi, I recently downloaded version 0.9.0 of quickFIX and on Slackware 8.0 wi= th GCC v3.x it was unable to compile (Also tried on a RedHat system with G= CC 2.x with the same results). (errors below) The CVS version compiled fine (excluding quite a few warnings, but noth= ing to stop compilation, tests run fine) but, the CVS version doesn't seem = to have both of the example programs? It has ordermatch but not tradeclient? (tradeclient would probably help= out greatly, as it's pretty much what I need amidst some modification of course) I've tried to compile the tradeclient manually and as with 0.9.0 (since= that's where I got it from) compile errors left and right. Is there a tradeclient version that works with the CVS version? Or was = that left out intentionally? Errors I ran into while compiling 0.9.0: make[4]: Entering directory `/home/root/quickfix/src/C++/test' /bin/sh ../../../libtool --mode=3Dcompile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../.. -I../../.. -Wall -fexceptions -c FieldConvertorsTestCase.cpp libtool: ltconfig version `' does not match ltmain.sh version `1.3.5' Fatal configuration error. See the libtool docs for more information. make[4]: *** [FieldConvertorsTestCase.lo] Error 1 The above was solved by a simple: cp `which libtool` ./ Which most of the source compiles fine up until this error (unfortunate= ly I do not know C++ (though I know C) so I've been unable to get anywhere w= ith that error) (this is from 0.9.0) g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../.. -I../../.. -Wall -fexceptions -Wp,-MD,.deps/SessionTestCase.pp -c SessionTestCase.cpp -= fPIC -DPIC -o .libs/SessionTestCase.lo In file included from ../Session.h:59, from SessionTestCase.h:55, from SessionTestCase.cpp:57: ../Application.h:109: looser throw specifier for `virtual void FIX::NullApplication::fromAdmin(const FIX::Message&, const FIX::SessionID&)' ../Application.h:92: overriding `virtual void FIX::Application::fromAdmin(const FIX::Message&, const FIX::SessionI= D&) throw (FIX::RejectLogon&, FIX::FieldNotFound&)' In file included from SessionTestCase.cpp:57: SessionTestCase.h:152: looser throw specifier for `virtual void FIX::SessionTestCase::Test::fromApp(const FIX::Message&, const FIX::SessionID&)' ../Application.h:111: overriding `virtual void FIX::NullApplication::fromApp(const FIX::Message&, const FIX::SessionID&) throw (FIX::IncorrectTagValue&, FIX::UnsupportedMessageType&, FIX::FieldNotFound&)' SessionTestCase.h:160: looser throw specifier for `virtual void FIX::SessionTestCase::Test::toApp(const FIX::Message&, const FIX::SessionID&)' ../Application.h:108: overriding `virtual void FIX::NullApplication::toApp(const FIX::Message&, const FIX::SessionI= D&) throw (FIX::DoNotSend&)' make[4]: *** [SessionTestCase.lo] Error 1 Thanks, Ken = |