From owner-freebsd-stable@FreeBSD.ORG Tue Jun 22 17:15:38 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7793616A4CE for ; Tue, 22 Jun 2004 17:15:38 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1985843D39 for ; Tue, 22 Jun 2004 17:15:38 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i5MHF3co023451; Tue, 22 Jun 2004 10:15:03 -0700 From: Kent Stewart To: freebsd-stable@freebsd.org Date: Tue, 22 Jun 2004 10:15:18 -0700 User-Agent: KMail/1.6.2 References: <5.2.0.9.0.20040617113047.00a29970@127.0.0.1> In-Reply-To: <5.2.0.9.0.20040617113047.00a29970@127.0.0.1> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406221015.18714.kstewart@owt.com> Subject: Re: Unable to build world X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2004 17:15:38 -0000 On Wednesday 16 June 2004 09:55 pm, Roger Merritt wrote: > I hadn't updated my world for quite a while, so I ran cvsup to make > sure I had the latest modifications to the code and then tried to run > "make buildworld". Failed. Tried again, failed. Went to the file > where the build failed, didn't see any problem. Deleted the whole > /usr/src directory and > Since it is trying to use a file from /usr/obj, have your rm'ed it. > ran cvsup to retrieve the whole body of code again. Still failed. I get: > >===> games/robots > >cc -O -pipe -march=pentium -DMAX_PER_UID=5 -c > >/usr/home/src/games/robots/extern.c > >cc -O -pipe -march=pentium -DMAX_PER_UID=5 -c > >/usr/home/src/games/robots/init_field.c > >cc -O -pipe -march=pentium -DMAX_PER_UID=5 -c > >/usr/home/src/games/robots/main.c > >In file included from /usr/home/src/games/robots/robots.h:36, > > from /usr/home/src/games/robots/main.c:48: > >/usr/obj/usr/home/src/i386/usr/include/curses.h:1281: undefined or > > invalid # directive > >*** Error code 1 > > > >Stop in /usr/home/src/games/robots. > >*** Error code 1 > > > >Stop in /usr/home/src/games. > >*** Error code 1 > > > >Stop in /usr/home/src. > >*** Error code 1 > > > >Stop in /usr/home/src. > >*** Error code 1 > > > >Stop in /usr/home/src. > > Incidentally, for space reasons I had to put the source tree in the > "home" directory (a separate slice on my hard drive) with a syslink > as /usr/src, but I've built world many times (at least several times) > since I did that and never had a problem before. The only time I have run into a problem with this is if I try to NFS mount /usr/src or /usr/obj. The build process remembers the real path and used it. It was not the same on the machine doing the mounting. When I setup a system to be NFS mountable, I put /usr/src and /usr/obj on their own partitions. Then, build process uses the same path on the machine doing the mounting. Kent > > uname -v gives me: FreeBSD 4.8-STABLE #0: Tue May 6 18:29:38 ICT > 2003, my last cvsup completed successfully last night at about 2230 > hours local time. > > Is it possible I need to upgrade "make" or something like that? I > recall that was a problem once before. But what's with this weird > path /usr/obj/usr/home/src/i386/usr/include/curses.h?? vi opens the > file, and line 1281 is "#define BUTTON_SHIFT > 000200000000L", which doesn't look like an "undefined or invalid # > directive" to me. -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html