This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcj build failure


(system used: at the end of this message)

   Having installed gcc-3.0.4 with no errors and configured gcj-
3.0.4, when trying to build gcj, after some lines the following 
error occurs:

________________________________________________________________

gcj -B/usr/gcc/build/libgcj/ --encoding=UTF-8 -C -g -
classpath /usr/gcc/build/libgcj:/usr/gcc/source/libjava -
d /usr/gcc/build/libgcj java/lang/ClassLoader.java

/usr/gcc/source/libjava/gnu/java/security/provider/gnu.java:31: 
Class `gnu.java.security.provider.Gnu' already defined 
in /usr/gcc/source/libjava/gnu/java/security/provider/Gnu.java:3
1.
   public final class Gnu extends Provider
                      ^
/usr/gcc/source/libjava/gnu/java/security/provider/gnu.java:34: 
confused by earl
ier errors, bailing out
make: *** [libgcj.jar] Error 1
________________________________________________________________


It seems strange for me, though I am a java beginner, that the 
message refers two files: gnu.java and Gnu.java, and only one 
exists in the source dir.: Gnu.java (the same name has the 
class)

Does anyone know the reason for this happenning and/or how can 
I avoid this error and so build gcj?

System used:
------------                                   PentiumIII 1Ghz
  PC i686                                      256Mb Ram
  Cygwin                                       WinME

Note: I had tried before with version 3.0.3 and saw the same 
error.

Thanks,

PedroJ


--------------------------------------------
Webmail da rede SAPO - http://webmail.sapo.pt/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]