Still no joy with SunOS and Kaffe-0.84

Fathi.DJEBBARI fathi.djebbari at
Tue Apr 22 05:34:08 PDT 1997

Tadashi Hamano wrote:

> I run Kaffe-0.8.4 compiled with gcc on SunOS 4.1.4 and
> make a success of compiling   But I hava
> an another problem.  Kaffe failes to run "Math" java codes such as
> -----
> public class Tan {
>         public static void main( String args[]) {
>             System.out.println( Math.tan( 1.0d));
>         }
> }
> -----
> with messages like " call to undefined procedure _tan from ....".
> And "--enable-staticlib" option of configure avoid this problem.
> Yes, this should not be same problem that you encounter, but an
> another problem on SunOS 4.1.4.

The problem is not exactly due to SunOS, but to the fact that does
not exist on your system. 
In order to correct the problem, you should link-edit kaffe with more or less
the following :
ld ... -Bstatic -lm -Bdynamic ...
in order to get all functions defined in libm.a

More information about the kaffe mailing list