Date: Fri, 21 May 2010 20:42:42 +0200 From: Stefan Ehmann <shoesoft@gmx.net> To: freebsd-multimedia@freebsd.org Subject: Re: usleep's pvrxxx port and FreeBSD 8.0-stable Message-ID: <201005212042.42604.shoesoft@gmx.net> In-Reply-To: <20100521165407.5a7da822.torfinn.ingolfsen@broadpark.no> References: <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no> <20100521105145.56bcd718.torfinn.ingolfsen@broadpark.no> <20100521165407.5a7da822.torfinn.ingolfsen@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
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 :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005212042.42604.shoesoft>