Can't build pvr250 port with FreeBSD 6.0-RELEASE
Simon Ironside
sironside at interfone.net
Mon Mar 27 15:36:07 UTC 2006
Hi all,
I am trying to build the pvr250 port. Running make ends with:
cc -O2 -fno-strict-aliasing -pipe -I../../.. -Werror -D_KERNEL
-DKLD_MODULE -nostdinc -I- -I../../.. -I. -I@ -I@/contrib/altq
-I@/../include -I/usr/include -finline-limit=8000 -fno-common
-mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx
-mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c
/usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm_audio.c
/usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm_audio.c:
In function `cxm_msp_dpl_write':
/usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm_audio.c:280:
warning: passing arg 2 of `iicbus_write' discards qualifiers from
pointer target type
*** Error code 1
Stop in /usr/ports/multimedia/pvr250/work/modules/cxm/cxm.
*** Error code 1
Stop in /usr/ports/multimedia/pvr250/work/modules/cxm.
*** Error code 1
Stop in /usr/ports/multimedia/pvr250.
I have an up to date ports collection, hcwPVRP2.sys in
/usr/ports/distfiles/ and have iicbus and iicbb devices compiled into my
kernel.
The line mentioned at the end of the error message in cxm_audio.c reads:
if (iicbus_write(iicbus, buf, len, &sent, CXM_I2C_TIMEOUT) != 0)
Does anyone have any suggestions?
Thanks,
Simon.
More information about the freebsd-multimedia
mailing list