Cannot make depend without USB?

up at 3.am up at 3.am
Thu Oct 5 09:03:34 PDT 2006


Hi:

I'm trying to recompile a 6.2-PRERELEASE kernel without USB support.
After commenting out the USB devices in the kernel config file, and doing
a "make cleandepend" in the kernel source directory, I get this when
trying to do a "make depend":

(excerpt):

rm -f .newdep
make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP="cc -E" CC="cc"
xargs mkdep -a -f .newdep -O -pipe  -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
-I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter
-I../../../contrib/pf -I../../../contrib/dev/ath
-I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm
-I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
-mno-sse -mno-sse2 -ffreestanding
../../../dev/usb/umass.c:119:21: usbdevs.h: No such file or directory
../../../dev/usb/ums.c:70:21: usbdevs.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/i386/compile/NEW_NS1.SMP.

I tried doing a "make clean", but that didn't help either...what am I
forgetting?  Please respond directly, as I am not subscribed.

TIA!

James Smallacombe		      PlantageNet, Inc. CEO and Janitor
up at 3.am							    http://3.am
=========================================================================



More information about the freebsd-questions mailing list