Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2002 11:46:20 +0200
From:      Poul-Henning Kamp <phk@freebsd.org>
To:        current@freebsd.org
Subject:   Kernel Makefile bogon...
Message-ID:  <37542.1029231980@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37542.1029231980>