Re: Cross-compliling for Kaffe for ARM-LINUX

2000-05-12 Thread Godmar Back



This is a problem with the dynamic libraries that come with your
netwinder.  You need libraries compiled with the -fPIC option.

- Godmar

> 
> 
> Hi,
> 
> I am trying to cross-compile kaffe on to arm-linux.
> I cross-compiled and executed "javac hello.java" on arm-linux.
> It gives the following message.
> 
> # javac hello.java
> BUG IN DYNAMIC LINKER ld.so: ../sysdeps/arm/dl-machine.h: 450:
> elf_machine_rel: Assertion `! "unexpected dynymic reloc type"' failed!
> 
> How can I solve this problem?
> 
> Thanks in advance.
> Regards.
> 
> --
> Euisung Kang, Ph.D,
> mailto:[EMAIL PROTECTED]
> 




Re: Encoding "ISO8859_1"?

2000-05-12 Thread Archie Cobbs


Tim Landscheidt writes:
> I'm quite unfamiliar with the Java concept en detail, so
> please forgive my dumbness.
> 
>   (At least) the latest version of Apache JServ
> (1.1.1b2-dev) gives "AJP Protocol Error:
> java.io.UnsupportedEncodingException: ISO8859_1" when run
> under kaffe 1.0.5 but works fine with Sun's JDK 1.2.2. The
> reasons for this error seem to be:
> 
> | src/java/org/apache/jserv/Ajpv12InputStream.java:return new 
>String(b,"ISO8859_1");
> | src/java/org/apache/jserv/JServConnection.java:printOut = new 
>PrintWriter(new OutputStreamWriter(this.out,"ISO8859_1"));
> 
> In http://rufus.w3.org/tools/Kaffe/messages/3548.html>,
> a similar problem is depicted and the necessary patch to
> libraries/javalib/kaffe/io/ConverterAlias.java (that I like
> to propose hereby) is pretty obvious. But I'm curious: Is

OK, "ISO8859_1" should be recognized now..

> there any kind of "IANA" for such Java encodings so one
> could tell whether the name for an encoding is "ISO8859_1",
> "ISO-8859-1", "8859_1", "LATIN1", "IBM819" or "CP819" (and
> therefore, who's to blame if an unknown encoding is used)?
> Or can one just invent them?

Don't know what the official list is. Probably another Sun secret.

-Archie

___
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



Encoding "ISO8859_1"?

2000-05-12 Thread Tim Landscheidt


Hi,

I'm quite unfamiliar with the Java concept en detail, so
please forgive my dumbness.

  (At least) the latest version of Apache JServ
(1.1.1b2-dev) gives "AJP Protocol Error:
java.io.UnsupportedEncodingException: ISO8859_1" when run
under kaffe 1.0.5 but works fine with Sun's JDK 1.2.2. The
reasons for this error seem to be:

| src/java/org/apache/jserv/Ajpv12InputStream.java:return new 
|String(b,"ISO8859_1");
| src/java/org/apache/jserv/JServConnection.java:printOut = new 
|PrintWriter(new OutputStreamWriter(this.out,"ISO8859_1"));

In http://rufus.w3.org/tools/Kaffe/messages/3548.html>,
a similar problem is depicted and the necessary patch to
libraries/javalib/kaffe/io/ConverterAlias.java (that I like
to propose hereby) is pretty obvious. But I'm curious: Is
there any kind of "IANA" for such Java encodings so one
could tell whether the name for an encoding is "ISO8859_1",
"ISO-8859-1", "8859_1", "LATIN1", "IBM819" or "CP819" (and
therefore, who's to blame if an unknown encoding is used)?
Or can one just invent them?

TIA,
Tim



Cross-compliling for Kaffe for ARM-LINUX

2000-05-12 Thread Eui-Sung Kang


Hi,

I am trying to cross-compile kaffe on to arm-linux.
I cross-compiled and executed "javac hello.java" on arm-linux.
It gives the following message.

# javac hello.java
BUG IN DYNAMIC LINKER ld.so: ../sysdeps/arm/dl-machine.h: 450:
elf_machine_rel: Assertion `! "unexpected dynymic reloc type"' failed!

How can I solve this problem?

Thanks in advance.
Regards.

--
Euisung Kang, Ph.D,
mailto:[EMAIL PROTECTED]