libgcj/5971: make install fails for src build gcc-3.0.4

paragw@excite.com paragw@excite.com
Fri Mar 15 01:16:00 GMT 2002


>Number:         5971
>Category:       libgcj
>Synopsis:       make install fails for src build gcc-3.0.4
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 15 01:16:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     paragw@excite.com
>Release:        gcc-3.0.4
>Organization:
>Environment:
i586-pc-linux-gnu RH 7.0 gcc-2.96-85
>Description:
After configure --enable-threads=posix and make, make install fails with this error :

In file included from ../../../gcc-3.0.4/libjava/gcj/field.h:15,
                 from ../../../gcc-3.0.4/libjava/include/jvm.h:25,
                 from ../../../gcc-3.0.4/libjava/prims.cc:33:
/usr/include/java/lang/reflect/Field.h:68: friend declaration requires
   class-key, i.e. `friend class java::lang::Class'
../../../gcc-3.0.4/libjava/prims.cc:320: confused by earlier errors, bailing out
make[2]: *** [prims.lo] Error 1
make[2]: Leaving directory `/code/parag/gcc-objdir/i586-pc-linux-gnu/libjava'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/code/parag/gcc-objdir/i586-pc-linux-gnu/libjava'
make: *** [install-target-libjava] Error 2

After editing Field.h and correcting "friend" to "friend class" it again fails with following error:

../../../gcc-3.0.4/libjava/prims.cc: In function `void
   _Jv_ThrowBadArrayIndex(__java_int)':
../../../gcc-3.0.4/libjava/prims.cc:320: Can't find class$
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [prims.lo] Error 1
make[2]: Leaving directory `/code/parag/gcc-objdir/i586-pc-linux-gnu/libjava'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/code/parag/gcc-objdir/i586-pc-linux-gnu/libjava'
make: *** [install-target-libjava] Error 2

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Java-prs mailing list