Subject: Re: xosview pkg building woe
To: Ken Nakata <kenn@synap.ne.jp>
From: Brian C. Grayson <bgrayson@marvin.ece.utexas.edu>
List: current-users
Date: 05/17/1998 16:58:25
On Mon, May 18, 1998 at 01:26:48AM +0900, Ken Nakata wrote:
> Hi,
> 
> I'm having trouble building xosview 1.5.1 package.  I'm trying to
> rebuild it because my old binary doesn't like my UVM'ized kernel.  I
> get the following error:
> 
> $ make
> >> Checksum OK for xosview-1.5.1.tar.gz.
> ===>  Building for xosview-1.5.1
> cd ./netbsd && make
> c++ -O -O -O4 -pipe -I/usr/X11R6/include  -I. -I./netbsd  -DXOSVIEW_NETBSD=1 -DHAVE_SWAPCTL=1 -DHAVE_USLEEP=1 -I.. -D_CPU_MACHINE_ -DUVM -c kernel.cc -o kernel.o
> In file included from /usr/include/sys/disklabel.h:54,
>                  from kernel.cc:29:
> /usr/include/machine/disklabel.h:104: semicolon missing after declaration of `drvr_map'

  Two things:
  1.  xosview-1.6.0 is probably going to be released in the next
      day or so, and supports UVM better (no patches in pkgsrc will
      be needed anymore).  I'll be posting pkgsrc patches to netbsd-bugs
      when it is ready.
  2.  That include of disklabel.h is no longer needed -- remove
      it, and try recompiling.  I plan on removing _all_ unneeded
      includes before the next release.

  I have no idea why g++ is unhappy with the sys/disklabel.h file!

  Brian
-- 
"I like knots because (blah) (blah)..."
  Dr. Cochran turns to the board and writes 'I like knots because...', then
stops and turns around:
"How come all math teachers will say something, and then, no matter how obvious
or simple it was, they will stand there and write out every last word on the
board?"  -- Dr. Cochran, Knot lecture