This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Error while compiling kawa with gcj under Cygwin
- From: lucian <lucian at mediafusion dot co dot jp>
- To: java at gcc dot gnu dot org
- Cc: cygwin at cygwin dot com, kawa at sources dot redhat dot com, per at bothner dot com
- Date: Thu, 9 Jan 2003 02:46:51 +0900
- Subject: Error while compiling kawa with gcj under Cygwin
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
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/