Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: evbMIPS breaks becouse of the nw Atheros code.



On Tue, Apr 06, 2010 at 10:06:47PM +0200, Marcin M. Jessa wrote:
> Hi.
> 
> Compiling of kernel for RB153 breaks, probably because of the new
> Atheros HAL.
> 
> Running following on current:
> ./build.sh -m evbmips-eb -O /usr/mips/obj/ -T /usr/mips/tools/
> kernel=RB153-NFS
> 
> 
> #   compile  RB153-NFS/adm5120_extio.o
> /usr/mips/tools/bin/mipseb--netbsd-gcc -G 0 -mno-abicalls
> -msoft-float -ffixed-23 -ffreestanding -fno-zero-initialized-in-bss
> -O2 -std=gnu99 -fno-strict-aliasing -Werror -Wall -Wno-main
> -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
> -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings
> -Wno-unreachable-code -Wno-sign-compare -Wno-pointer-sign
> -Wno-attributes -Werror -march=4kc -Devbmips -I.
> -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys
> -nostdinc -DMIPS3_ENABLE_CLOCK_INTR -DMIPS32 -DSOFTFLOAT
> -DCONSPEED=115200 -DSOSEND_LOAN -DUSB_DEBUG -DUHUB_DEBUG
> -DMSGBUFSIZE=65536 -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
> -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad
> -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string
> -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/mips/string
> -I/usr/src/sys/dist/pf -I/usr/src/sys/external/isc/atheros_hal/dist
> -I/usr/src/sys/external/isc/atheros_hal/ic -c
> /usr/src/sys/arch/mips/adm5120/adm5120_extio.c
> cc1: warnings being treated as errors
> /usr/src/sys/arch/mips/adm5120/adm5120_extio.c: In function 'extio_print':
> /usr/src/sys/arch/mips/adm5120/adm5120_extio.c:411: warning: format
> '%lx' expects type 'long unsigned int', but argument 2 has type
> 'bus_addr_t'

That should probably be PRIxBUSADDR or something.

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933


Home | Main Index | Thread Index | Old Index