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.
---
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"