The final make in this script fails, I don't think it should.

        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
        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.


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
[EMAIL PROTECTED]         | 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to