This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [head] Java bootstrap failure: natClip.cc:26: syntax, error, before `;'
- To: Gordon Sadler <gbsadler1 at lcisp dot com>
- Subject: Re: [head] Java bootstrap failure: natClip.cc:26: syntax, error, before `;'
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Sat, 10 Mar 2001 11:25:34 +1300
- CC: java at gcc dot gnu dot org
- References: <20010309132023.A13828@home-desktop>
Gordon Sadler wrote:
> Last night I tried to bootstrap with --enable-langs=c,c++,java it failed
> on natClip.cc as others have observed. However now it's a different line
> number.
I'm confused as to why it would be trying to build natClip.cc for you. I "fixed"
this problem, I thought, by not building the xlib stuff by default. Are you
using the latest tree from CVS? Branch or mainline? What platform? Whats your
exact configure line?
> ../../../cvs/gcc/libjava/gnu/gcj/xlib/natClip.cc:15:18: vector: No such
> file or directory
This is the real problem. Libstdc++ includes arn't being passed to libjava make
as "-I" flags.
> void gnu::gcj::xlib::Clip::init(AWTRectArray* rectangles)
> {
> - // Prepare rectangles:
> + /* Prepare rectangles: */
>
> int numRect = JvGetArrayLength(rectangles);
> XRectVector* xrectvector = new XRectVector(numRect);
I don't see how that could possibly have any effect. Perhaps it was just
coincidental that it worked after you touched the file?
regards
[ bryce ]