compile error CURRENT-9
Коньков Евгений
kes-kes at yandex.ru
Mon Nov 15 20:43:24 UTC 2010
Здравствуйте, Коньков.
Вы писали 15 ноября 2010 г., 22:25:49:
КЕ> Hello, Freebsd-questions.
КЕ> I have commented out 'device bce' but still have error:
КЕ> ld -d -warn-common -r -d -o if_ath.kld if_ath.o if_ath_pci.o
КЕ> ah_osdep.o ah.o ah _regdomain.o ah_eeprom_v3.o ah_eeprom_v1.o
КЕ> ar5210_attach.o ar5210_beacon.o ar521 0_interrupts.o
КЕ> ar5210_keycache.o ar5210_misc.o ar5210_phy.o ar5210_power.o ar521
КЕ> 0_recv.o ar5210_reset.o ar5210_xmit.o ar5211_attach.o
КЕ> ar5211_beacon.o ar5211_int errupts.o ar5211_keycache.o
КЕ> ar5211_misc.o ar5211_phy.o ar5211_power.o ar5211_rec v.o
КЕ> ar5211_reset.o ar5211_xmit.o ar5212_ani.o ar5212_attach.o
КЕ> ar5212_beacon.o ar 5212_eeprom.o ar5212_gpio.o
КЕ> ar5212_interrupts.o ar5212_keycache.o ar5212_misc.o
КЕ> ar5212_phy.o ar5212_power.o ar5212_recv.o ar5212_reset.o
КЕ> ar5212_rfgain.o ar5212_ xmit.o ar5111.o ar5112.o ar2413.o
КЕ> ar2425.o ar5413.o ah_eeprom_v14.o ah_eeprom_v4 k.o ar5416_ani.o
КЕ> ar5416_attach.o ar5416_beacon.o ar5416_cal.o ar5416_cal_iq.o ar
КЕ> 5416_cal_adcgain.o ar5416_cal_adcdc.o ar5416_eeprom.o
КЕ> ar5416_gpio.o ar5416_inter rupts.o ar5416_keycache.o
КЕ> ar5416_misc.o ar5416_phy.o ar5416_power.o ar5416_recv. o
КЕ> ar5416_reset.o ar5416_xmit.o ar9160_attach.o ar9280.o
КЕ> ar9280_attach.o ar2133.o ar9285.o ar9285_reset.o ar9285_attach.o sample.o
:>> export_syms
КЕ> awk -f /usr/src/sys/conf/kmod_syms.awk if_ath.kld export_syms |
КЕ> xargs -J% objco py % if_ath.kld
КЕ> ld -Bshareable -d -warn-common -o if_ath.ko.debug if_ath.kld
КЕ> objcopy --only-keep-debug if_ath.ko.debug if_ath.ko.symbols
КЕ> objcopy --strip-debug --add-gnu-debuglink=if_ath.ko.symbols if_ath.ko.debug if_a th.ko
===>> bce (all)
КЕ> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
КЕ> -nostdinc -DH AVE_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 --p aram large-function-growth=1000
КЕ> -fno-common -g -I/usr/obj/usr/src/sys/KES_KERN_v 9
КЕ> -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx
КЕ> -mno-3dnow -mno -sse -mno-sse2 -mno-sse3 -ffreestanding
КЕ> -fstack-protector -std=iso9899:1999 -fst ack-protector -Wall
КЕ> -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmi
КЕ> ssing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
КЕ> -Wno-pointer-sign -fformat-extensions -c
КЕ> /usr/src/sys/modules/bce/../../dev/bce/if_bce.c
КЕ> cc1: warnings being treated as errors
КЕ> /usr/src/sys/modules/bce/../../dev/bce/if_bce.c: In function 'bce_fill_rx_chain' :
КЕ> @/sys/mbuf.h:412: warning: 'zone' may be used uninitialized in this function
КЕ> @/sys/mbuf.h:412: note: 'zone' was declared here
КЕ> *** Error code 1
КЕ> 1 error
КЕ> *** Error code 2
КЕ> 1 error
КЕ> *** Error code 2
КЕ> 3 errors
КЕ> *** Error code 2
КЕ> 1 error
КЕ> *** Error code 2
КЕ> 1 error
КЕ> what I have missed?
with this options I have errors described above:
options RESTARTABLE_PANICS
How to force server to reboot when PAGE FAULT occour?
--
С уважением,
Коньков mailto:kes-kes at yandex.ru
More information about the freebsd-questions
mailing list