From owner-freebsd-questions Tue Oct 29 17:29:44 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 492E137B401 for ; Tue, 29 Oct 2002 17:29:42 -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 DB10D43E42 for ; Tue, 29 Oct 2002 17:29:40 -0800 (PST) (envelope-from catseye@kallisti.mine.nu) Received: (qmail 52025 invoked by uid 1001); 30 Oct 2002 01:26:15 -0000 Date: Tue, 29 Oct 2002 19:26:15 -0600 From: Chris Pressey To: freebsd-questions@freebsd.org Subject: Re: make buildworld fails Message-Id: <20021029192615.69e3bb31.cpressey@catseye.mb.ca> In-Reply-To: <20021029142839.GF4480@happy-idiot-talk.infracaninophi> 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> 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 Tue, 29 Oct 2002 14:28:39 +0000 Matthew Seaman wrote: > On Tue, Oct 29, 2002 at 06:47:30AM -0600, Chris Pressey wrote: > > > I do indeed have /usr/src/include/glob.h, and it is 4480 bytes and it > > defines the macros in question. However, the copy in /usr/include is > > only 4055 bytes and is older (Aug 21 2001) and it does NOT define the > > macros in question. This is likely the problem - if > > /usr/include/glob.h is being used in the build instead of > > /usr/src/include/glob.h - but also, that sounds wrong - to build the > > world, shouldn't it be using the latest and greatest header files, > > i.e., /usr/src/include ? If not, would it be safe to just copy the > > newer glob.h into /usr/include (or explicitly add/usr/src/include to > > the start of my C_INCLUDE_PATH, at least for building the world?) > > Yes. I would expect that building in /usr/src would use the headers > from /usr/src/include. You could try installing the latest headers > into /usr/include before starting your build, but that's a hack and > not guarranteed to work. > > I think what has happened is that one or more of the Makefiles in the > src tree hasn't been updated properly, possibly because cvsup(1) > doesn't think it owns the file. Try doing what the cvsup FAQ says, > and running an update with the 'list=cvs:RELENG_4' added to the supfile. > > With any luck you should see updates to files matching '*.mk' and > 'Makefile*', and then the build will succeed. Unfortunately, no luck there. No Makefile-type files were updated. So, I toasted my *entire* source tree (including the 'checkouts' files) and grabbed it all anew, tried rebuilding the world... and got the same error. So I added /usr/src/include to the start of my C_INCLUDE_PATH and tried it again. It seemed to work better - it got over the place where the glob.h error occurred - but now it stops with: cc -O -pipe -I/usr/src/secure/libexec/sftp-server/../../../crypto/openssh -DNO_IDEA -o sftp-server sftp-server.o sftp-common.o -lssh -lcrypto /usr/obj/usr/src/i386/usr/lib/libssh.so: undefined reference to `readpassphrase' *** Error code 1 Stop in /usr/src/secure/libexec/sftp-server. *** Error code 1 Stop in /usr/src/secure/libexec. *** Error code 1 Stop in /usr/src/secure. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. The libshh.so being referred to is about an hour old, so I assume it was freshly created during the build. But still - maybe I have to adjust the LIBRARY_PATH ? I don't know. Thanks again, -Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message