Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2006 16:36:02 +0100
From:      Simon Ironside <sironside@interfone.net>
To:        freebsd-multimedia@freebsd.org
Subject:   Can't build pvr250 port with FreeBSD 6.0-RELEASE
Message-ID:  <44280662.4080905@interfone.net>

next in thread | raw e-mail | index | archive | help
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.



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