Date: Fri, 6 Jan 2012 23:39:52 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= <kes-kes@yandex.ru> To: freebsd-questions@freebsd.org Subject: how to force 'device' sources to not compile? Message-ID: <364237998.20120106233952@yandex.ru>
next in thread | raw e-mail | index | archive | help
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? -- С уважением, Коньков mailto:kes-kes@yandex.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?364237998.20120106233952>