[head] Java bootstrap failure: natClip.cc:26: syntax, error, before `;'

Bryce McKinlay bryce@albatross.co.nz
Fri Mar 9 14:24:00 GMT 2001


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 ]




More information about the Java mailing list