Date: Sun, 21 Mar 1999 04:30:59 -0700 (MST) From: "Chad R. Larson" <chad@freebie.dcfinc.com> To: stable@FreeBSD.org Subject: make buildworld fails (fwd) Message-ID: <199903211130.EAA04488@freebie.dcfinc.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903211130.EAA04488>