Re: [Quickfix-users] unable to compile? missing source?
Brought to you by:
orenmnero
From: <OM...@th...> - 2002-02-28 23:32:39
|
Can you give me the details of your configuration. Let me know what distributions you are using and any important upgrades you have done on them (any upgrades to GCC, glibc etc). Our IS department can build us a similar configuration. This will help us to resolve this issue. Also can you send me the quickfix-1.0.0.tar.gz that you downloaded. I would like to inspect that as well. We can take this discussion off the mailing list until it is resolved. You can contact me at om...@th... or John Duncan at jdd...@th... with this information. --Oren Miller, ThoughtWorks om...@th... "Kenneth Morrill" <kmorrill@nycap.r To: <OM...@th...> r.com> cc: <qui...@li...>, <qui...@li...> 02/28/02 04:01 PM Subject: Re: [Quickfix-users] unable to compile? missing source? This is version 1.0.0 of quickfix for me so far... (to make a long story short, same errors as before) (exact errors below) :) ./configure was ran then... bash-2.05$ make make all-recursive make[1]: Entering directory `/home/liu/quickfix' Making all in src make[2]: Entering directory `/home/liu/quickfix/src' Making all in C++ make[3]: Entering directory `/home/liu/quickfix/src/C++' Making all in test make[4]: Entering directory `/home/liu/quickfix/src/C++/test' /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../.. -I../../.. -Wall -fex ceptions -D_XOPEN_SOURCE=500 -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 make[4]: Leaving directory `/home/liu/quickfix/src/C++/test' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/liu/quickfix/src/C++' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/liu/quickfix/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/liu/quickfix' make: *** [all-recursive-am] Error 2 bash-2.05$ cp `which libtool` ./ ; make make all-recursive make[1]: Entering directory `/home/liu/quickfix' Making all in src make[2]: Entering directory `/home/liu/quickfix/src' Making all in C++ make[3]: Entering directory `/home/liu/quickfix/src/C++' Making all in test make[4]: Entering directory `/home/liu/quickfix/src/C++/test' /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../.. -I../../.. -Wall -fex ceptions -D_XOPEN_SOURCE=500 -c FieldConvertorsTestCase.cpp mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../.. -I../../.. -Wall -fexcep tions -D_XOPEN_SOURCE=500 -Wp,-MD,.deps/FieldConvertorsTestCase.pp -c FieldConvertorsTestCase.cpp -fPIC -DPIC -o .libs/FieldConvertorsTestCase.lo g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../.. -I../../.. -Wall -fexcep tions -D_XOPEN_SOURCE=500 -Wp,-MD,.deps/FieldConvertorsTestCase.pp -c FieldConvertorsTestCase.cpp -o FieldConvertorsTestCase.o >/dev/null 2>&1 mv -f .libs/FieldConvertorsTestCase.lo FieldConvertorsTestCase.lo /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../.. -I../../.. -Wall -fex ceptions -D_XOPEN_SOURCE=500 -c MessagesTestCase.cpp rm -f .libs/MessagesTestCase.lo g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../.. -I../../.. -Wall -fexcep tions -D_XOPEN_SOURCE=500 -Wp,-MD,.deps/MessagesTestCase.pp -c MessagesTestCase.cpp -fPIC -DPIC -o .libs/MessagesTestCase.lo In file included from ../FIX40_Messages.h:54, from ../Messages.h:54, from MessagesTestCase.h:55, from MessagesTestCase.cpp:57: ../Message.h:376:20: warning: no newline at end of file g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../.. -I../../.. -Wall -fexcep tions -D_XOPEN_SOURCE=500 -Wp,-MD,.deps/MessagesTestCase.pp -c MessagesTestCase.cpp -o MessagesTestCase.o >/dev/null 2>&1 mv -f .libs/MessagesTestCase.lo MessagesTestCase.lo /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../.. -I../../.. -Wall -fex ceptions -D_XOPEN_SOURCE=500 -c SessionTestCase.cpp rm -f .libs/SessionTestCase.lo g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../.. -I../../.. -Wall -fexcep tions -D_XOPEN_SOURCE=500 -Wp,-MD,.deps/SessionTestCase.pp -c SessionTestCase.cpp -fPIC -DPIC -o .libs/SessionTestCase.lo In file included from ../FIX40_Messages.h:54, from ../Messages.h:54, from ../Session.h:56, from SessionTestCase.h:55, from SessionTestCase.cpp:57: ../Message.h:376:20: warning: no newline at end of file 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::SessionID&) throw (FIX::RejectLogon&, FIX::FieldNotFound&)' In file included from SessionTestCase.cpp:57: SessionTestCase.h:163: 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:171: 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::SessionID&) throw (FIX::DoNotSend&)' make[4]: *** [SessionTestCase.lo] Error 1 make[4]: Leaving directory `/home/liu/quickfix/src/C++/test' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/liu/quickfix/src/C++' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/liu/quickfix/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/liu/quickfix' make: *** [all-recursive-am] Error 2 (If i do a make -i it'l continue compiling ignoring those errors, and they show up in a bunch more files, but not neccisarily same files (eg, MessageTestCase.h, etc, etc) same errors for the most part though, if you want i'l do a make -i and send all the errors :) bash-2.05$ gcc -v Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.0.3/specs Configured with: ../gcc-3.0.3/configure --prefix=/usr --enable-shared --with-gnu-ld --enable- threads --verbose --target=i386-slackware-linux --host=i386-slackware-linux Thread model: posix gcc version 3.0.3 bash-2.05$ uname -a Linux vegeta 2.4.17 #2 Thu Jan 31 02:11:07 EST 2002 i686 unknown bash-2.05$ cat /etc/slackware-version 8.0.47 (alpha test version) (don't mind the alpha test part again same errors on redhat) ----- Original Message ----- From: <OM...@th...> To: <kmo...@ny...> Cc: <qui...@li...>; <qui...@li...> Sent: Thursday, February 28, 2002 5:42 PM Subject: Re: [Quickfix-users] unable to compile? missing source? Very interesting. I looked at the code and your compiler is giving a very 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 patch for 0.9.0 if you would like, however 1.0.0 with this fix is available on our web page now at quickfix.sourceforge.net. We haven't made an official 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 could 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 is implemented through the new JNI interface. So that may interest you as well. The ordermatch and tradeclient examples have also been built with 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 "Kenneth Morrill" <kmo...@ny...> To: <qui...@li...> Sent by: cc: qui...@li...ur Subject: [Quickfix-users] unable to compile? missing source? ceforge.net 02/28/02 01:46 PM Please respond to kmorrill Hi, I recently downloaded version 0.9.0 of quickFIX and on Slackware 8.0 with GCC v3.x it was unable to compile (Also tried on a RedHat system with GCC 2.x with the same results). (errors below) The CVS version compiled fine (excluding quite a few warnings, but nothing 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=compile 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 (unfortunately I do not know C++ (though I know C) so I've been unable to get anywhere with 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::SessionID&) 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::SessionID&) throw (FIX::DoNotSend&)' make[4]: *** [SessionTestCase.lo] Error 1 Thanks, Ken |