From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 27 15:36:07 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 902B816A423 for ; Mon, 27 Mar 2006 15:36:07 +0000 (UTC) (envelope-from sironside@interfone.net) Received: from loqui.caffetine.org (host-84-9-255-18.bulldogdsl.com [84.9.255.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D6CB43D62 for ; Mon, 27 Mar 2006 15:36:04 +0000 (GMT) (envelope-from sironside@interfone.net) Received: from [10.69.1.30] ([10.69.1.30]) by loqui.caffetine.org (8.13.4/8.13.4) with ESMTP id k2RFiu73063532 for ; Mon, 27 Mar 2006 16:44:56 +0100 (BST) (envelope-from sironside@interfone.net) Message-ID: <44280662.4080905@interfone.net> Date: Mon, 27 Mar 2006 16:36:02 +0100 From: Simon Ironside User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Can't build pvr250 port with FreeBSD 6.0-RELEASE X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 15:36:07 -0000 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.