usleep's pvrxxx port and FreeBSD 8.0-stable

Stefan Ehmann shoesoft at
Fri May 21 18:42:49 UTC 2010

On Friday 21 May 2010 16:54:07 Torfinn Ingolfsen wrote:
> Ok, I added this to cxm.h:
> #undef minor
> #define minor(d)        ((d) ? (d)->si_drv0 : -1)
> And now I get another failure:
> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc 
> -I../../.. -I. -I@ -I@/contrib/altq -finline-limit=8000 --param
> inline-unit-growth=100 --param large-function-growth=1000 -fno-common 
> -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387
> -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  -msoft-float
> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
> -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
> -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c
> cx25840-firmware.c cc1: warnings being treated as errors
> cx25840-firmware.c: In function 'cx25840_loadfw_hp':
> cx25840-firmware.c:146: warning: cast from pointer to integer of different
> size *** Error code 1

Okay, another thing I forgot. Just disable -Werror:
$ make WERROR=

I hope that's all :)

More information about the freebsd-multimedia mailing list