Stacy Curl wrote:
> I'm having trouble getting the java example app banzai to work. I'm
> using QuickFIX version 1.4.1, gcc 2.95.3, binutils-2.11.92, SuSe 8.0,
I suggest to try at least GCC 3.0 and the related libraries:
Package: gcc-3.0
Status: install ok installed
Priority: standard
Section: devel
Installed-Size: 3032
Maintainer: Debian GCC maintainers <deb...@li...>
Source: gcc-3.0 (1:3.0.4ds3-7)
Version: 1:3.0.4-7
Replaces: egcc
Provides: c-compiler
Depends: gcc-3.0-base, libgcc1 (>= 1:3.0.4-7), libc6 (>= 2.2.4-4), cpp-3.0 (>= 1:3.0.4-7), cpp-3.0 (<< 1:3.0.5), binutils (>= 2.11.93.0.2-2)
Recommends: libc-dev
Suggests: gcc-3.0-doc (>= 1:3.0.4-7)
Conflicts: libc5-dev, egcc
Description: The GNU C compiler.
This is the GNU C compiler, a fairly portable optimizing compiler for C.
> I believe my problem is the same as David Monheit's
> (http://sourceforge.net/mailarchive/message.php?msg_id=4254678).
This sounds like problems with non-matching exceptions from different C++ objects.
>
> I'd like to try to build QuickFIX with different linking options, even
> using static linking would be prefereable to having programs
> abort when exceptions are thrown.
>
> Q: Does Banzai work on any platform ? I can find no unit tests for Java.
Yes, works for me (Debian 3.0, GCC 3.0, J2SDK 1.4_01)
> Q: How do I change the linking options to use static linking ?
The default is static linking for the libquickfix.so library, but you need
a dynamically linked libquickfix_jni.so. Otherwise, Java could not load the library
at runtime. Of course, you do not want to link the code into the JVM...
Please ask me if you have further questions related to the compilation with GCC 3.0.
Cheers, Jörg
--
Joerg Thoennes
http://macd.com
Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH
Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen
|