This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug java/32807] New: make fails, Java CLASSPATH


Sun Sparc Solaris 10.
binutils 2.16, gnu make 3.81, gmp 4.2.1, mpfr 2.2.1
gcc-3.4.6

I downloaded gcc-4.2.0, unpacked it, in a separate objdir
./configure
make
after 4 hours of compilation, ends with
/export/nscr/edp/pdon/builds/src/gnu/objdir/./gcc/gcj
-B/export/nscr/edp/pdon/bu
ilds/src/gnu/objdir/./gcc/ -B/usr/local/sparc-sun-solaris2.10/bin/
-B/usr/local/
sparc-sun-solaris2.10/lib/ -isystem /usr/local/sparc-sun-solaris2.10/include
-is
ystem /usr/local/sparc-sun-solaris2.10/sys-include  -m64 -encoding UTF-8
--bootc
lasspath '../lib':'../lib/glibj.zip' --classpath . -C -d classes
/export/nscr/ed
p/pdon/builds/src/gnu/gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/*.ja
va
/export/nscr/edp/pdon/builds/src/gnu/gcc-4.2.0/libjava/classpath/tools/gnu/cl
asspath/tools/*/*.java
/export/nscr/edp/pdon/builds/src/gnu/gcc-4.2.0/libjava/cl
asspath/tools/gnu/classpath/tools/*/*/*.java
/export/nscr/edp/pdon/builds/src/gnu/gcc-4.2.0/libjava/classpath/tools/gnu/class
path/tools/AbstractMethodGenerator.java:0: error: Can't find default package
'ja
va.lang'. Check the CLASSPATH environment variable and the access to the
archive
s
/export/nscr/edp/pdon/builds/src/gnu/gcc-4.2.0/libjava/classpath/tools/gnu/class
path/tools/HelpPrinter.java:43: error: Class or interface
'java.io.InputStreamRe
ader' not found in import.
import java.io.InputStreamReader;
          ^
/export/nscr/edp/pdon/builds/src/gnu/gcc-4.2.0/libjava/classpath/tools/gnu/class
path/tools/HelpPrinter.java:61: error: Type 'String' not found in the
declaratio
n of the argument 'args' of method 'checkHelpKey'.
...
(hundreds (thousands?) of such messages)
...
and also that many such as
/export/nscr/edp/pdon/builds/src/gnu/gcc-4.2.0/libjava/classpath/tools/gnu/cla
sspath/tools/keytool/CACertCmd.java:0: error: cannot find file for class
java.la
ng.Object
...
I have JDK 1.5.0_06 in /usr/java1.5
$ echo $JAVA_HOME
/usr/java1.5
$ echo $CLASSPATH
/usr/local/junit/junit.jar

Should I set some ./configure parameter?
Never had to do that with 3.* versions of gcc

Thanks for any help

P.


-- 
           Summary: make fails, Java CLASSPATH
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pieter dot donche at ua dot ac dot be


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32807


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