From owner-freebsd-questions Sat Nov 9 21:54:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA78937B401 for ; Sat, 9 Nov 2002 21:54:40 -0800 (PST) Received: from kallisti.mine.nu (h24-70-180-74.wp.shawcable.net [24.70.180.74]) by mx1.FreeBSD.org (Postfix) with SMTP id D44CA43E42 for ; Sat, 9 Nov 2002 21:54:38 -0800 (PST) (envelope-from catseye@kallisti.mine.nu) Received: (qmail 26245 invoked by uid 1001); 10 Nov 2002 05:50:56 -0000 Date: Sat, 9 Nov 2002 23:50:56 -0600 From: Chris Pressey To: freebsd-questions@FreeBSD.ORG Subject: Re: make buildworld fails Message-Id: <20021109235056.7a2c2aee.cpressey@catseye.mb.ca> In-Reply-To: <20021107120943.2877200d.cpressey@catseye.mb.ca> References: <20021029033143.7c01a0b7.cpressey@catseye.mb.ca> <20021029112907.GB4480@happy-idiot-talk.infracaninophi> <20021029064730.2637b4e2.cpressey@catseye.mb.ca> <20021029142839.GF4480@happy-idiot-talk.infracaninophi> <20021029192615.69e3bb31.cpressey@catseye.mb.ca> <20021030081134.GA49354@happy-idiot-talk.infracaninophi> <20021107120943.2877200d.cpressey@catseye.mb.ca> Organization: Cat's Eye Technologies, http://www.catseye.mb.ca/ X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i386-portbld-freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 7 Nov 2002 12:09:43 -0600 Chris Pressey wrote: > On Wed, 30 Oct 2002 08:11:34 +0000 > Matthew Seaman wrote: > > > I think it's worth trying NO_OPENSSH=true in /etc/make.conf together > > with your C_INCLUDE_PATH thing to see if you can get to the end of the > > buildworld process. If you can get the rest of the system up to > > 4.7-STABLE, you should have no trouble compiling normally. Means two > > buildworld cycles to get everything up to date, I'm afraid. > > > > Cheers, > > > > Matthew > > Good news - I finally got make buildworld to build. > > I had to add /usr/src/include:/usr/src/sys to the beginning of my > C_INCLUDE_PATH. I also had to remove several libraries from /usr/lib/*, > and replace them with copies from /usr/src/*, so that symbols could > resolve. Apparently it was trying to build using my existing include > files and library files, when they are clearly insufficient, older > versions. I have no idea why it was trying to do this, but hopefully > after the second build cycle it will revert to the old correct > behaviour. I'm about to try building and installing the kernel, and I'll > post a second followup after the dust has cleared. > > Thanks once again to everyone for their help. > -Chris > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message Well, good news and bad news. I updated to 4.7-RELEASE p1 (RELENG_4_7) and can make buildworld with it no problems. But if I try following 4.7-STABLE (RELENG_4), my make buildworld fails: ===> usr.bin/kdump cc -O -pipe -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../.. -c /usr/src/usr.bin/kdump/kdump.c cc -O -pipe -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../.. -c ioctl.c In file included from ioctl.c:92: /usr/include/sys/memrange.h:19: warning: `MDF_ACTIVE' redefined /usr/include/pccard/cardinfo.h:115: warning: this is the location of the previous definition In file included from ioctl.c:104: /usr/include/sys/wormio.h:102: warning: `CDRIOCBLANK' redefined /usr/include/sys/cdrio.h:88: warning: this is the location of the previous definition ioctl.c: In function `ioctlname': ioctl.c:1335: `USB_GET_REPORT_ID' undeclared (first use in this function) ioctl.c:1335: (Each undeclared identifier is reported only once ioctl.c:1335: for each function it appears in.) *** Error code 1 Stop in /usr/src/usr.bin/kdump. *** Error code 1 Stop in /usr/src/usr.bin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Mysteriously, 'grep -r ioctlname /usr/src' finds only: /usr/src/usr.bin/kdump/kdump.c: char *ioctlname(); /usr/src/usr.bin/kdump/kdump.c: if ((cp = ioctlname(*ip)) != NULL) /usr/src/usr.bin/kdump/mkioctls: print "ioctlname(register_t val)" /usr/src/usr.bin/truss/extern.h: extern const char *ioctlname(register_t val); /usr/src/usr.bin/truss/syscalls.c: const char *temp = ioctlname(args[sc->offset]); No sign of a file called ioctl.c, that I can see. I think I'll stick with 4.7-RELEASE for a while... -Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message