From owner-freebsd-stable Sun Mar 21 3:31:20 1999 Delivered-To: freebsd-stable@freebsd.org Received: from freebie.dcfinc.com (freebie.dcfinc.com [138.113.5.128]) by hub.freebsd.org (Postfix) with ESMTP id 1922514BE2 for ; Sun, 21 Mar 1999 03:31:18 -0800 (PST) (envelope-from chad@freebie.dcfinc.com) Received: (from chad@localhost) by freebie.dcfinc.com (8.8.7/8.8.3a) id EAA04488 for stable@FreeBSD.org; Sun, 21 Mar 1999 04:30:59 -0700 (MST) From: "Chad R. Larson" Message-Id: <199903211130.EAA04488@freebie.dcfinc.com> Subject: make buildworld fails (fwd) To: stable@FreeBSD.org Date: Sun, 21 Mar 1999 04:30:59 -0700 (MST) Reply-To: chad@dcfinc.com X-unexpected: The Spanish Inquisition X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Following up my own message. +--------------- | This is on a 2.2.8-RELEASE system, cvsup'd to RELENG_2_2 freshly | today. Make buildworld progresses to about 4/5ths done and then | errors with: | -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | cc -nostdinc -O2 -pipe -I/usr/src/gnu/usr.bin/gdb/gdb -I/usr/obj/usr/src/tmp/usr/include/readline -I/usr/src/gnu/usr.bin/gdb/gdb/../bfd -DNO_MMALLOC -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/include/. -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/. -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/bfd/. -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/libiberty/. -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/config/. -DHAVE_CONFIG_H -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/objfiles.c | /usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/objfiles.c: In function `add_to_objfile_sections': | /usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/objfiles.c:90: `kernel_debugging' undeclared (first use this function) | /usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/objfiles.c:90: (Each undeclared identifier is reported only once | /usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/objfiles.c:90: for each function it appears in.) | *** Error code 1 | | Stop. | *** Error code 1 | | Stop. | -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | I removed all of /usr/obj and tried again with the same results. +--------------- Looking in the code, it seemed that "objfiles.c" needed to include "nm.h" to get the definition of "kernel_debugging". So I deleted it and re-cvsupped to see if the file had changed. It hadn't. That left me believing there had to be some cruft in my source tree. I removed all of /usr/src/contrib, and then cvsup'd again. Way too long later, I did another "make buildworld", which was successful. Anyone understand why/how the source tree could get broken in a way that cvsup didn't catch? -crl -- Chad R. Larson (CRL15) 602-953-1392 Brother, can you paradigm? chad@dcfinc.com chad@larsons.org chad@anasazi.com larson1@home.net DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message