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]

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


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 ]



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