From owner-freebsd-questions@FreeBSD.ORG Fri Jan 6 21:42:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1526106566C for ; Fri, 6 Jan 2012 21:42:42 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 7A8B68FC08 for ; Fri, 6 Jan 2012 21:42:42 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa07 [127.0.0.1]) by ltcfislmsgpa07.fnfis.com (8.14.4/8.14.4) with SMTP id q06LQ3u3007385; Fri, 6 Jan 2012 15:42:41 -0600 Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa07.fnfis.com with ESMTP id 12683608b7-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 06 Jan 2012 15:42:41 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.1.323.3; Fri, 6 Jan 2012 15:42:40 -0600 From: Devin Teske To: =?koi8-r?B?J+vPztjLz9cg5dfHxc7Jyic=?= , References: <364237998.20120106233952@yandex.ru> In-Reply-To: <364237998.20120106233952@yandex.ru> Date: Fri, 6 Jan 2012 13:42:54 -0800 Message-ID: <06fc01ccccbc$264e10b0$72ea3210$@fisglobal.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQDTtd1RMO06kjQRDi1cJZ94Ukn8G5fyDFDw Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2012-01-05_05:2012-01-05, 2012-01-05, 1970-01-01 signatures=0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Cc: Subject: RE: how to force 'device' sources to not compile? 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: Fri, 06 Jan 2012 21:42:42 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of ??????? ??????? > Sent: Friday, January 06, 2012 1:40 PM > To: freebsd-questions@freebsd.org > Subject: how to force 'device' sources to not compile? > > I have errors while compile kernel > > ===> et (all) > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc - > DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/KES_KERN_v9/opt_global.h -I. -I@ -I@/contrib/altq -finline- > limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 - > fno-common -g -I/usr/obj/usr/src/sys/KES_KERN_v9 -mno-align-long-strings - > mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding - > fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls - > Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith - > Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions - > Wmissing-include-dirs -fdiagnostics-show-option -c > /usr/src/sys/modules/et/../../dev/et/if_et.c > /usr/src/sys/modules/et/../../dev/et/if_et.c: In function 'et_dma_alloc': > /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: 'ET_RING_ALIGN' > undeclared (first use in this function) > /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: (Each undeclared > identifier is reported only once > /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: for each function it > appears in.) > /usr/src/sys/modules/et/../../dev/et/if_et.c:790: error: 'ET_STATUS_ALIGN' > undeclared (first use in this function) > /usr/src/sys/modules/et/../../dev/et/if_et.c:845: error: 'struct et_softc' has no > member named 'sc_rx_mini_tag' > /usr/src/sys/modules/et/../../dev/et/if_et.c:854: error: 'struct et_softc' has no > member named 'sc_rx_tag' > /usr/src/sys/modules/et/../../dev/et/if_et.c:864: error: 'struct et_softc' has no > member named 'sc_tx_tag' > > how to disable 'et' from compiling? Try adding: nodevice et To a custom kernel config. -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.