delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/09/00:51:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 9 Jan 2003 02:46:51 +0900
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
Subject: Error while compiling kawa with gcj under Cygwin
Message-Id: <20030109024651.77773070.lucian@mediafusion.co.jp>
Mime-Version: 1.0

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 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019