Re: [kaffe] porting kaffe-awt-qt and libtool

2002-11-11 Thread Helmer Krämer
On 10 Nov 2002 13:09:45 -0800
Brian Beattie [EMAIL PROTECTED] wrote:

Hi,

 I've ported kaffe to the Zaurus openzaurus distro and am now trying to
 port the awt-qt library.  I'm haveing a real problem with libtool.  I
 thought I had finally figured out how to build the libraries, but I'm
 getting java.lang.ExceptionInInitializerError: [exception was
 java.lang.UnsatisfiedLinkError: libawt: not found].

${KAFFESRC}/config/config.h contains a macro called LTDL_SHLIB_EXT,
which defines the file extension used by shared libraries. If this
one is not properly defined, kaffe will fail to find and thus load
any native lib.  Would you please check that macro?  Mine contains
something like '#define LTDL_SHLIB_EXT .so' for debian. 

Greetings,
Helmer

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



Re: [kaffe] porting kaffe-awt-qt and libtool

2002-11-11 Thread Dalibor Topic

--- Helmer Krämer [EMAIL PROTECTED] wrote:
 On 10 Nov 2002 13:09:45 -0800
 Brian Beattie [EMAIL PROTECTED] wrote:
 
 Hi,
 
  I've ported kaffe to the Zaurus openzaurus distro
 and am now trying to
  port the awt-qt library.  I'm haveing a real
 problem with libtool.  I
  thought I had finally figured out how to build the
 libraries, but I'm
  getting java.lang.ExceptionInInitializerError:
 [exception was
  java.lang.UnsatisfiedLinkError: libawt: not
 found].
 
 ${KAFFESRC}/config/config.h contains a macro called
 LTDL_SHLIB_EXT,
 which defines the file extension used by shared
 libraries. If this
 one is not properly defined, kaffe will fail to find
 and thus load
 any native lib.  Would you please check that macro? 
 Mine contains
 something like '#define LTDL_SHLIB_EXT .so' for
 debian. 

If that fails, you'll have to try and debug it.
Configure kaffe with --enable-debug, and run it with 

$ kaffe -vmdebug NATIVELIB yourClassFile

to trace native methods lookup.

Take a look at FAQ/FAQ.debugging for more info on
debugging kaffe.

best regards,

dalibor topic

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



Re: [kaffe] porting kaffe-awt-qt and libtool

2002-11-11 Thread Brian Beattie
On Mon, 2002-11-11 at 00:40, Helmer Krämer wrote:
 On 10 Nov 2002 13:09:45 -0800
 Brian Beattie [EMAIL PROTECTED] wrote:
 
 Hi,
 
  I've ported kaffe to the Zaurus openzaurus distro and am now trying to
  port the awt-qt library.  I'm haveing a real problem with libtool.  I
  thought I had finally figured out how to build the libraries, but I'm
  getting java.lang.ExceptionInInitializerError: [exception was
  java.lang.UnsatisfiedLinkError: libawt: not found].
 
 ${KAFFESRC}/config/config.h contains a macro called LTDL_SHLIB_EXT,
 which defines the file extension used by shared libraries. If this
 one is not properly defined, kaffe will fail to find and thus load
 any native lib.  Would you please check that macro?  Mine contains
 something like '#define LTDL_SHLIB_EXT .so' for debian. 

as I said, I added some diagnostic printf's and I can see the file names
and that is not an issue, it tries both .la and .so, both of which
exist.

 
 Greetings,
 Helmer
 
 ___
 kaffe mailing list
 [EMAIL PROTECTED]
 http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
-- 
Brian Beattie| Having had the honor of being selected
[EMAIL PROTECTED] | for a Resource Action by my former employer,
 | it is my pleasure to announce my immediate
www.beattie-home.net | availability, contract or permanent.
Embedded Systems, Linux/Unix internals Software Engineer


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



Re: [kaffe] porting kaffe-awt-qt and libtool

2002-11-11 Thread Brian Beattie
On Mon, 2002-11-11 at 01:35, Dalibor Topic wrote:
 
 --- Helmer Krämer [EMAIL PROTECTED] wrote:
  On 10 Nov 2002 13:09:45 -0800
  Brian Beattie [EMAIL PROTECTED] wrote:
  
  Hi,
  
   I've ported kaffe to the Zaurus openzaurus distro
  and am now trying to
   port the awt-qt library.  I'm haveing a real
  problem with libtool.  I
   thought I had finally figured out how to build the
  libraries, but I'm
   getting java.lang.ExceptionInInitializerError:
  [exception was
   java.lang.UnsatisfiedLinkError: libawt: not
  found].
  
  ${KAFFESRC}/config/config.h contains a macro called
  LTDL_SHLIB_EXT,
  which defines the file extension used by shared
  libraries. If this
  one is not properly defined, kaffe will fail to find
  and thus load
  any native lib.  Would you please check that macro? 
  Mine contains
  something like '#define LTDL_SHLIB_EXT .so' for
  debian. 
 
 If that fails, you'll have to try and debug it.
 Configure kaffe with --enable-debug, and run it with 
 
 $ kaffe -vmdebug NATIVELIB yourClassFile
 
 to trace native methods lookup.
 
 Take a look at FAQ/FAQ.debugging for more info on
 debugging kaffe.
 
 best regards,
 
 dalibor topic

Been there, done that.  I have isolated it to a failure in the in the
libtool lib.

 
 __
 Do you Yahoo!?
 U2 on LAUNCH - Exclusive greatest hits videos
 http://launch.yahoo.com/u2
 
 ___
 kaffe mailing list
 [EMAIL PROTECTED]
 http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
-- 
Brian Beattie| Having had the honor of being selected
[EMAIL PROTECTED] | for a Resource Action by my former employer,
 | it is my pleasure to announce my immediate
www.beattie-home.net | availability, contract or permanent.
Embedded Systems, Linux/Unix internals Software Engineer


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe