Thread: Re: [Quickfix-developers] quickfix_jni not built on Linux
Brought to you by:
orenmnero
From: <JDD...@th...> - 2002-06-19 16:39:22
|
Alex, We haven't ported the JNI code to Unix systems yet. The Solaris port, if anyone asks for it, will be the easiest to finish. Unfortunately, Linux doesn't support C++ exceptions in shared objects so we are going to have to make some major modifications to get it running there. We can give you support to get this done, if you'd like, or we can offer our professional services to your company. Sorry, John Duncan Thoughtworks, Inc +1 (312) 953 6286 Alex Hornby <al...@an...> Sent by: To: qui...@li... qui...@li...ur cc: ceforge.net Subject: [Quickfix-developers] quickfix_jni not built on Linux 06/19/2002 11:20 AM Hi, The quickfix JNI lib doesn't get built on Linux as there is nothing in the Makefile.am. All the rest of the java stuff builds (banzai etc.). Is anyone looking at this? Cheers, Alex. ---------------------------------------------------------------------------- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<< _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: <JDD...@th...> - 2002-06-19 18:17:32
|
Alex, You seem to be describing the behavior we have seen. When we started developing QuickFIX, we intended to build both static and shared objects for Linux. Our test application was aborting and, with a little research on the web and a test application, we attributed the problem to Linux not having operating-system structured exception handling support. Do you have another application that is throwing and catching an exception within a shared library? We'd really like to have a workaround for this problem. Oren will send out the code for a little program that demonstrates the behavior we have seen. John Duncan Collaborative Development Group Thoughtworks, Inc +1 (312) 953 6286 Alex Hornby <al...@an...> Sent by: To: JDD...@th... qui...@li...ur cc: quickfix-developers <qui...@li...> ceforge.net Subject: Re: [Quickfix-developers] quickfix_jni not built on Linux 06/19/2002 12:34 PM On Wed, 2002-06-19 at 17:35, JDD...@th... wrote: > > > Alex, > > We haven't ported the JNI code to Unix systems yet. The Solaris port, if > anyone asks for it, will be the easiest to finish. Unfortunately, Linux > doesn't support C++ exceptions in shared objects so we are going to have to > make some major modifications to get it running there. > > We can give you support to get this done, if you'd like, or we can offer > our professional services to your company. > > Sorry, > John Duncan > Hi John, AFAIK Linux supports C++ exceptions in shared objects in (I'm using them right now). It there a QuickFix or Java specific problem? BTW I've got the JNI module built but Banzai aborts when it starts up. Perhaps the exceptions are the problem? Alex. ---------------------------------------------------------------------------- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<< _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: <OM...@th...> - 2002-06-19 18:45:41
Attachments:
exception.tar.gz
|
Here is the test application we had written that demonstrated the behavior we have been seeing. If we can get this program to work properly, we can most likely solve our JNI problem under linux. (See attached file: exception.tar.gz) --oren |---------+-----------------------------------------------> | | JDD...@th... | | | Sent by: | | | qui...@li...ur| | | ceforge.net | | | | | | | | | 06/19/2002 01:13 PM | | | | |---------+-----------------------------------------------> >----------------------------------------------------------------------------------------------| | | | To: qui...@li... | | cc: | | Subject: Re: [Quickfix-developers] quickfix_jni not built on Linux | >----------------------------------------------------------------------------------------------| Alex, You seem to be describing the behavior we have seen. When we started developing QuickFIX, we intended to build both static and shared objects for Linux. Our test application was aborting and, with a little research on the web and a test application, we attributed the problem to Linux not having operating-system structured exception handling support. Do you have another application that is throwing and catching an exception within a shared library? We'd really like to have a workaround for this problem. Oren will send out the code for a little program that demonstrates the behavior we have seen. John Duncan Collaborative Development Group Thoughtworks, Inc +1 (312) 953 6286 Alex Hornby <al...@an...> Sent by: To: JDD...@th... qui...@li...ur cc: quickfix-developers <qui...@li...> ceforge.net Subject: Re: [Quickfix-developers] quickfix_jni not built on Linux 06/19/2002 12:34 PM On Wed, 2002-06-19 at 17:35, JDD...@th... wrote: > > > Alex, > > We haven't ported the JNI code to Unix systems yet. The Solaris port, if > anyone asks for it, will be the easiest to finish. Unfortunately, Linux > doesn't support C++ exceptions in shared objects so we are going to have to > make some major modifications to get it running there. > > We can give you support to get this done, if you'd like, or we can offer > our professional services to your company. > > Sorry, > John Duncan > Hi John, AFAIK Linux supports C++ exceptions in shared objects in (I'm using them right now). It there a QuickFix or Java specific problem? BTW I've got the JNI module built but Banzai aborts when it starts up. Perhaps the exceptions are the problem? Alex. ---------------------------------------------------------------------------- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<< _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers ---------------------------------------------------------------------------- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<< _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: Alex H. <al...@an...> - 2002-06-20 08:51:17
Attachments:
exception-alex.tar.gz
|
Hi, Well, I didn't know what was wrong with your exception example, so I re-jigged it to how I'd normally do things. I've tested it on i686-pc-linux-gnu and sparc-sun-solaris2.8 (both with GCC & GNU binutils). The good news its that it works perfectly. If you want it to work with the Sun WorkShop Pro compilers you'll need to update it to use a libtool 1.5 development release. I've attached a source tarball. Cheers, Alex. |
From: Alex H. <al...@an...> - 2002-06-19 17:33:44
|
On Wed, 2002-06-19 at 17:35, JDD...@th... wrote: > > > Alex, > > We haven't ported the JNI code to Unix systems yet. The Solaris port, if > anyone asks for it, will be the easiest to finish. Unfortunately, Linux > doesn't support C++ exceptions in shared objects so we are going to have to > make some major modifications to get it running there. > > We can give you support to get this done, if you'd like, or we can offer > our professional services to your company. > > Sorry, > John Duncan > Hi John, AFAIK Linux supports C++ exceptions in shared objects in (I'm using them right now). It there a QuickFix or Java specific problem? BTW I've got the JNI module built but Banzai aborts when it starts up. Perhaps the exceptions are the problem? Alex. |