Re: CFT: 802.11 vap code

From: Sam Leffler <sam_at_freebsd.org>
Date: Tue, 15 Apr 2008 11:43:19 -0700
Alex Keda wrote:
> ===> mac_test (all)
> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE 
> -std=c99 -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include 
> /tmp/obj/usr/src/sys/GENERIC/opt_global.h -I. -I_at_ -I_at_/contrib/altq 
> -finline-limit=8000 --param inline-unit-growth=100 --param 
> large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer 
> -I/tmp/obj/usr/src/sys/GENERIC -mcmodel=kernel -mno-red-zone 
> -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float 
> -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls 
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
> -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
> -fformat-extensions -c 
> /usr/src/sys/modules/mac_test/../../security/mac_test/mac_test.c
> ld  -d -warn-common -r -d -o mac_test.ko.debug mac_test.o
> :> export_syms
> awk -f /usr/src/sys/modules/mac_test/../../conf/kmod_syms.awk 
> mac_test.ko.debug  export_syms | xargs -J% objcopy % mac_test.ko.debug
> objcopy --only-keep-debug mac_test.ko.debug mac_test.ko.symbols
> objcopy --strip-debug --add-gnu-debuglink=mac_test.ko.symbols 
> mac_test.ko.debug mac_test.ko
> ===> malo (all)
> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE 
> -std=c99 -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include 
> /tmp/obj/usr/src/sys/GENERIC/opt_global.h -I. -I_at_ -I_at_/contrib/altq 
> -finline-limit=8000 --param inline-unit-growth=100 --param 
> large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer 
> -I/tmp/obj/usr/src/sys/GENERIC -mcmodel=kernel -mno-red-zone 
> -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float 
> -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls 
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
> -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
> -fformat-extensions -c /usr/src/sys/modules/malo/../../dev/malo/if_malo.c
> cc1: warnings being treated as errors
> /usr/src/sys/modules/malo/../../dev/malo/if_malo.c: In function 
> 'malo_bar0_write4':
> /usr/src/sys/modules/malo/../../dev/malo/if_malo.c:172: warning: 
> format '%x' expects type 'unsigned int', but argument 3 has type 
> 'bus_size_t'
> *** Error code 1
>
> Stop in /usr/src/sys/modules/malo.
> *** Error code 1
>
> Stop in /usr/src/sys/modules.
> *** Error code 1
>
> Stop in /tmp/obj/usr/src/sys/GENERIC.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> acer# uname -a
> FreeBSD acer.lissyara.int.otradno.ru 8.0-CURRENT FreeBSD 8.0-CURRENT 
> #0: Mon Apr  7 23:36:27 MSD 2008 
> lissyara_at_acer.lissyara.int.otradno.ru:/tmp/obj/usr/src/sys/main-color-console 
>  amd64
> acer#
Remove malo from your config or fix the code (s/%x/%zx).

    Sam
Received on Tue Apr 15 2008 - 16:43:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:29 UTC