Date: Tue, 29 Oct 2002 19:26:15 -0600 From: Chris Pressey <cpressey@catseye.mb.ca> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Oct 2002 14:28:39 +0000 Matthew Seaman <m.seaman@infracaninophile.co.uk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021029192615.69e3bb31.cpressey>