gmp support

Guillaume Rousse rousse at ccr.jussieu.fr
Mon Sep 17 01:51:15 PDT 2001


I'm trying to add gmp support in kaffe. However, while gmp.h is found by 
configure script, this option doesn't seems to be enabled automatically:

.guillaume at silbermann kaffe-1.0.6]$ ./configure:
[..]
checking for gmp.h... yes
[..]

[guillaume at silbermann kaffe-1.0.6]$ ldd /usr/lib/kaffe/libmath.so
        libm.so.6 => /lib/libm.so.6 (0x40014000)
        libc.so.6 => /lib/libc.so.6 (0x40037000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

[guillaume at silbermann java]$ kaffe pleac.ch02.part03.Test

Recipe 1
--------
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
kaffe/util/SupportDisabled: GNU gmp was not found by Kaffe configure script
        at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
        at java.lang.Throwable.<init>(Throwable.java:38)
        at java.lang.Error.<init>(Error.java:21)
        at kaffe.util.SupportDisabled.<init>(SupportDisabled.java:22)
        at java.math.BigInteger.initialize0(BigInteger.java:native)
        at java.math.BigInteger.<clinit>(BigInteger.java:30)
        at java.math.BigDecimal.<init>(BigDecimal.java:40)
        at pleac.ch02.part03.Test.recipe1(Test.java:17)
        at pleac.ch02.part03.Test.main(Test.java:33)

What am i missing here ?
-- 
Guillaume Rousse <rousse at ccr.jussieu.fr>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html


More information about the kaffe mailing list