Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2008 11:43:19 -0700
From:      Sam Leffler <sam@freebsd.org>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: CFT: 802.11 vap code
Message-ID:  <4804F747.9040406@freebsd.org>
In-Reply-To: <4804F65B.2090408@lissyara.su>
References:  <480294E2.1000907@errno.com> <4803E26A.9070108@lissyara.su>	<4803E6E2.8090007@errno.com> <4804F65B.2090408@lissyara.su>

next in thread | previous in thread | raw e-mail | index | archive | help
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@ -I@/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@ -I@/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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4804F747.9040406>