From owner-freebsd-stable@FreeBSD.ORG Mon Jun 18 01:59:30 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9465E16A46B for ; Mon, 18 Jun 2007 01:59:30 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.freebsd.org (Postfix) with SMTP id 57C8F13C48A for ; Mon, 18 Jun 2007 01:59:30 +0000 (UTC) (envelope-from mikej@rogers.com) Received: (qmail 1886 invoked from network); 18 Jun 2007 01:59:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=NJyg8GvMCgtSLkU4Kx8V6kLV3yWpXNqj6lKJdc8kNYV7pCyaNJ66+/26uBY/0PkCujB5BPyUy2xMrMoZPCLTfEM7VoTN8vwRzk4QBpWiN2/MH1uCOgyyDrCSwG00lW6TrrAyz0SsGlSly+8BLcvm6Tk406iAkIDyAsCqOXaQJYU= ; Received: from unknown (HELO ?172.16.0.165?) (mikej@rogers.com@99.244.15.156 with plain) by smtp100.rog.mail.re2.yahoo.com with SMTP; 18 Jun 2007 01:59:29 -0000 X-YMail-OSG: oPh.wBMVM1m.91SUMUZHKvOGa7KJxV24kKsrkK9XBqpess9ozPWK1gLHzquQeMNidg-- Message-ID: <4675E66E.10600@rogers.com> Date: Sun, 17 Jun 2007 21:57:02 -0400 From: Mike Jakubik User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Kip Macy References: <4675E13F.7040706@rogers.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: cxgb mfc is missing cxgb_include.h X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2007 01:59:30 -0000 Kip Macy wrote: > Oops - thanks. I've included the file from cvs on my box, however i now get this error while compiling. --- cc -O2 -fno-strict-aliasing -pipe -march=prescott -DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO -DCONFIG_DEFINED -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I/usr/src/sys/modules/cxgb/../../dev/cxgb -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SPAMTOASTER/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -I/usr/obj/usr/src/sys/SPAMTOASTER -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mc5.c cc -O2 -fno-strict-aliasing -pipe -march=prescott -DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO -DCONFIG_DEFINED -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I/usr/src/sys/modules/cxgb/../../dev/cxgb -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SPAMTOASTER/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -I/usr/obj/usr/src/sys/SPAMTOASTER -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc8211.c In file included from /usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_include.h:10, from /usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc8211.c:34: /usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_offload.h:83: warning: "struct l2t_entry" declared inside parameter list /usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_offload.h:83: warning: its scope is only this definition or declaration, which is probably not what you want *** Error code 1 Stop in /usr/src/sys/modules/cxgb. --- I then noticed that the contents of that file are all commented out, so i tried uncommenting but it fails during the depend stage. --- mkdep -f .depend -a -nostdinc -DCONFIG_CHELSIO_T3_CORE -DDEFAULT_JUMBO -DCONFIG_DEFINED -D_KERNEL -DKLD_MODULE -I- -I/usr/src/sys/modules/cxgb/../../dev/cxgb -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include -I/usr/obj/usr/src/sys/SPAMTOASTER /usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mc5.c /usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc8211.c /usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_vsc7323.c /usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_ael1002.c /usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_mv88e1xxx.c /usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_xgmac.c /usr/src/sys/modules/cxgb/../../dev/cxgb/common/cxgb_t3_hw.c /usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_main.c /usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_sge.c /usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_lro.c /usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_offload.c /usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_l2t.c /usr/src/sys/modules/cxgb/../../dev/cxgb/sys/uipc_mvec.c if_cxgb.c /usr/src/sys/modules/cxgb/../../dev/cxgb/cxgb_sge.c:178:3: #error "SGE_NUM_GENBITS must be 1 or 2" mkdep: compile failed *** Error code 1 Stop in /usr/src/sys/modules/cxgb. ---