From owner-freebsd-stable@FreeBSD.ORG Mon Jun 18 04:42:53 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 0ABCB16A421 for ; Mon, 18 Jun 2007 04:42:53 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 73F8F13C448 for ; Mon, 18 Jun 2007 04:42:52 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so1445597uge for ; Sun, 17 Jun 2007 21:42:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nrOnB5sjSm7YYu+/GxVgQ14Bs7e/zP3jcHCD6/l3v/6GCFE9Ye9++n51LUmcs0krEJijr9aCJ1c0kRQkTd0id2a1gXvVM1cBtSZhZMWcE72h7w6gEzm6lFMx2UZVNhafW7Qab5qcOTKK2h/liQiAs94NPyqw1o9SzPqvtD17bQw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ElgVzIQ+OW3NXpT3BsuRR9I9eZ+tZ69+98W7nbj3vunGqPdFG+3cnMvXtGjdaN5p/0xNwRI5vY6AtLN7ls34Fhz89jR65oNs7ot+r2eoFGCky1cOhUbDMm32/ffU4gc038SuKlUJyRJg7XH5fGgntNMi9JRIsilcINNerAg1AXs= Received: by 10.78.170.6 with SMTP id s6mr2093771hue.1182141771121; Sun, 17 Jun 2007 21:42:51 -0700 (PDT) Received: by 10.78.162.18 with HTTP; Sun, 17 Jun 2007 21:42:51 -0700 (PDT) Message-ID: Date: Sun, 17 Jun 2007 21:42:51 -0700 From: "Kip Macy" To: "Mike Jakubik" In-Reply-To: <4675E66E.10600@rogers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4675E13F.7040706@rogers.com> <4675E66E.10600@rogers.com> 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 04:42:53 -0000 I don't know. I just deleted dev/cxgb and recreated it from cvs and LINT builds for me. -Kip On 6/17/07, Mike Jakubik wrote: > 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. > --- >