[kaffe] kaffeh buserror

Helmer Krämer hkraemer@freenet.de
Mon Jan 20 03:44:01 2003


This is a multi-part message in MIME format.

--Multipart_Mon__20_Jan_2003_12:44:41_+0100_09377910
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Wed, 15 Jan 2003 17:15:43 +0100 (CET)
Marc Kleine-Budde <kleine-budde@gmx.de> wrote:

Hi Marc,

sorry for my late response, I was somewhat busy the last few
days :(
 
> I tried to kompile the latest CVS version of Kaffe on Mac OSX.2.3 +
> Dec202 Developer Tools + newest fink binary distribution.
> 
> after the usual configure....
> 
> [path-to-cvs]/configure --prefix=/Users/frogger/kaffe-cvs --enable-debug
> --without-x --disable-sound
> 
> ...and make, kaffeh works fine till it gets the first '-jni' argument.
> Look at the attachment for the error. I'm not very familiar with gdb but I
> hope a backtrace can help. If I can help more, tell me what to do ;)

You could try whether the attached patch solves the problem
or if I've managed to mess up something else ;)

Greetings,
Helmer
--Multipart_Mon__20_Jan_2003_12:44:41_+0100_09377910
Content-Type: application/octet-stream;
 name="support-patch"
Content-Disposition: attachment;
 filename="support-patch"
Content-Transfer-Encoding: base64

SW5kZXg6IGthZmZlL2thZmZlaC9zdXBwb3J0LmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2cy9r
YWZmZS9rYWZmZS9rYWZmZS9rYWZmZWgvc3VwcG9ydC5jLHYKcmV0cmlldmluZyByZXZpc2lvbiAx
LjI3CmRpZmYgLXcgLXUgLXAgLXIxLjI3IHN1cHBvcnQuYwotLS0ga2FmZmUva2FmZmVoL3N1cHBv
cnQuYwk2IEphbiAyMDAzIDE3OjE0OjE5IC0wMDAwCTEuMjcKKysrIGthZmZlL2thZmZlaC9zdXBw
b3J0LmMJMjAgSmFuIDIwMDMgMTE6MzI6NDggLTAwMDAKQEAgLTU4LDYgKzU4LDcgQEAgc3RydWN0
IF9tZXRob2RS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