Date: Sun, 17 Jun 2007 21:42:51 -0700 From: "Kip Macy" <kip.macy@gmail.com> To: "Mike Jakubik" <mikej@rogers.com> Cc: freebsd-stable@freebsd.org Subject: Re: cxgb mfc is missing cxgb_include.h Message-ID: <b1fa29170706172142re3a31f4w82f71f8099684ae5@mail.gmail.com> In-Reply-To: <4675E66E.10600@rogers.com> References: <4675E13F.7040706@rogers.com> <b1fa29170706171851r47748f8dmb7675e6de5b313d1@mail.gmail.com> <4675E66E.10600@rogers.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mikej@rogers.com> 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. > --- >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b1fa29170706172142re3a31f4w82f71f8099684ae5>