From owner-freebsd-current Tue Aug 13 2:49:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22AC337B400 for ; Tue, 13 Aug 2002 02:49:26 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5873743E6E for ; Tue, 13 Aug 2002 02:49:25 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g7D9kKfQ037543 for ; Tue, 13 Aug 2002 11:46:21 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org Subject: Kernel Makefile bogon... From: Poul-Henning Kamp Date: Tue, 13 Aug 2002 11:46:20 +0200 Message-ID: <37542.1029231980@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The final make in this script fails, I don't think it should. #!/bin/sh set -ex rm -rf /usr/src/sys/i386/compile/GENERIC cd /usr/src/sys/i386/conf config GENERIC cd ../compile/GENERIC make depend > _.m.0.d 2>&1 make > _.m.1 2>&1 make clean > _.m.2.c 2>&1 make echo "SUCCESS" The error is included below. If I run "make depend" it works, but that should not be needed after a "make clean". Some dependencies must be missing somewhere. Poul-Henning cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W missing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wno-format -ansi -g -n ostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../.. /../contrib/ipfilter -I../../../../include -D_KERNEL -include opt_global.h -fno- common -mpreferred-stack-boundary=2 -ffreestanding -Werror vnode_if.c awk -f ../../../tools/makeobjops.awk ../../../kern/device_if.m -c ; cc -c -O -p ipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-pro totypes -Wpointer-arith -Winline -Wcast-qual -Wno-format -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib /ipfilter -I../../../../include -D_KERNEL -include opt_global.h -fno-common -m preferred-stack-boundary=2 -ffreestanding device_if.c In file included from device_if.c:17: ../../../sys/bus.h:369:23: device_if.h: No such file or directory ../../../sys/bus.h:370:20: bus_if.h: No such file or directory device_if.c:18:23: device_if.h: No such file or directory *** Error code 1 -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message