From owner-freebsd-questions@FreeBSD.ORG Thu Oct 5 17:53:56 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DEBE16A403 for ; Thu, 5 Oct 2006 17:53:56 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B78743D78 for ; Thu, 5 Oct 2006 17:51:05 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id k95HodLC004708 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 5 Oct 2006 10:50:40 -0700 X-Auth-Received: from [192.168.0.101] (dsl254-013-145.sea1.dsl.speakeasy.net [216.254.13.145]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id k95Hob3p014304 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 5 Oct 2006 10:50:38 -0700 Message-ID: <452545DF.3080103@u.washington.edu> Date: Thu, 05 Oct 2006 10:50:23 -0700 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.7 (X11/20060929) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-PMX-Version: 5.2.0.266434, Antispam-Engine: 2.4.0.264935, Antispam-Data: 2006.10.5.102943 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Cannot make depend without USB? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 17:53:56 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 up@3.am wrote: > 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@3.am http://3.am > ========================================================================= Try using NO_USB=yes in /etc/make.conf--it's a much better way to go about removing USB support. Also, do man make.conf to find out the rest of the support you can disable on your machine; you really shouldn't go manually editing makefiles in FreeBSD :(.. - -Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFJUXf6CkrZkzMC68RAibFAJ401+KljNDHxmQLDrY/h3OEd0mcJwCdG6aI s3jTCCkTQlU5fjl/Dgj4s1I= =7Lpd -----END PGP SIGNATURE-----