compile error CURRENT-9
Коньков Евгений
kes-kes at yandex.ru
Mon Nov 15 20:25:51 UTC 2010
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?
--
С уважением,
Коньков mailto:kes-kes at yandex.ru
More information about the freebsd-questions
mailing list