Subject: Re: X11 build from /usr/src
To: None <current-users@netbsd.org>
From: Sverre Froyen <sverre@viewmark.com>
List: current-users
Date: 01/12/2004 16:20:03
That did it!  It now builds cleanly.

Thanks!

Sverre

On Monday 12 January 2004 12:17 pm, you wrote:
> On Mon, 12 Jan 2004, Sverre Froyen wrote:
> > On Sunday 11 January 2004 12:45 pm, you wrote:
> > > From examing a succesful build from yesterday morning, there
> > > should be a symlink to "/usr/xsrc/xfree/xc/include" named "X11"
> > > in pswrap's object directory. This is the first thing done by a
> > > "make" there:
> > >
> > >     @ pwd
> > >     /usr/src/x11/tools/pswrap
> > >     @ make -n |head -3
> > >     echo '#  ' " create " pswrap/X11
> > >     rm -f X11
> > >     ln -s /usr/xsrc/xfree/xc/include X11
> > >
> > > Nothing seems to have changed there in the last few days, so I'm
> > > at a loss to explain why it didn't work for you. Do you have the
> > > symlink, and do you have "Xos.h" in the directory that it points
> > > to?
> > >
> > > Frederick
> >
> > Both the symlink and the include file are there:
> >
> > cd /usr/src/x11/tools/pswrap
> > ls -l
> >
> > gives:
> >
> > drwxr-xr-x  2 root  wheel  512 Nov 10 10:50 CVS
> > -rw-r--r--  1 root  wheel  621 Oct  3 08:35 Makefile
> > -rw-r--r--  1 root  wheel  451 Nov 10 10:50 Makefile.pswrap
> > lrwxr-xr-x  1 root  wheel   26 Sep 21 09:03 X11  ->
> > /usr/xsrc/xfree/xc/include lrwxr-xr-x  1 root  wheel   30 Jan 11
> > 19:38 obj.i386  -> /usr/obj/x11/tools/pswrap.i386
> >
> > and
> >
> > ls -l X11/Xos.h
> >
> > results in
> >
> > -rw-r--r--  1 root  wheel  6876 Mar  1  2003 X11/Xos.h
> >
> > Is it possible that the compile runs in a different directory?  I
> > do have the OBJMACHINE flag set to yes.
>
> Yes! It runs in obj.i386. You've managed somehow to make the symlink
> before the objdir, and therefore outside of it. Remove the X11
> symlink, and a subsequent make should then create it properly, inside
> the objdir, where "cc" can see it.
>
> Frederick