Error while compiling kawa with gcj under Cygwin

lucian lucian@mediafusion.co.jp
Thu Jan 9 05:50:00 GMT 2003


I`m really embarased for sending such a mail to all of you. My apolodgies .
The error recorded below has no connection with jc1.exe .

Bubu@YELLOWWIN /cygdrive/e/baito/kawa/gnu/math
$ make
CLASSPATH=../..:./../..:$CLASSPATH gcj -C -d ../..  Numeric.java Quantity.java
Quantity.java CQuantity.java Complex.java CComplex.java DComplex.java NamedUnit
java BaseUnit.java Unit.java MulUnit.java Dimensions.java RealNum.java DFloNum.
ava RatNum.java IntFraction.java MPN.java IntNum.java BitOps.java FixedRealForm
t.java ExponentialFormat.java
Unit.java: In class `gnu.math.DQuantity':
Unit.java: In method `gnu.math.DQuantity.div(java.lang.Object)':
Unit.java:0: warning: reading class gnu.math.Unit for the second time from ../.
/gnu/math/unit.class
DQuantity.java:95: Can't find method `doubleValue()' in type `gnu.math.Unit'. C
ndidates are:
  `gnu.math.Unit.doubleValue()' in `gnu.math.Unit'
  `gnu.math.Unit.doubleValue()' in `gnu.math.Unit'.
          return new DFloNum ((factor * unit().doubleValue())
                                                  ^
DQuantity.java: In method `gnu.math.DQuantity.divReversed(gnu.math.Numeric)':
DQuantity.java:110: Can't find method `div(Lgnu/math/BaseUnit;Lgnu/math/Unit;)'
in type `gnu.math.Unit'. Candidates are:
  `gnu.math.Unit.div(gnu.math.Unit,gnu.math.Unit)' in `gnu.math.Unit'
  `gnu.math.Unit.div(gnu.math.Unit,gnu.math.Unit)' in `gnu.math.Unit'.
                           Unit.div (Unit.Empty, unit()));
                                  ^
2 errors
make: *** [java-classes.stamp] Error 1

It happend just because I forgot to delete the compiled classes from the same directory( Unit.class exists).

But the gcj comilation problem is still there .... so  any help?

-- 
Lucian



More information about the Java mailing list