From owner-freebsd-multimedia@FreeBSD.ORG Thu May 20 19:56:47 2010 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78CF21065672 for ; Thu, 20 May 2010 19:56:47 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 355C18FC08 for ; Thu, 20 May 2010 19:56:47 +0000 (UTC) MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Received: from ignis-smin.broadpark.no ([unknown] [80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L2Q00BYGI2MUZ20@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Thu, 20 May 2010 21:56:46 +0200 (CEST) Received: from kg-v2.kg4.no ([unknown] [80.203.92.186]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with SMTP id <0L2Q00HVQI2L4M80@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Thu, 20 May 2010 21:56:46 +0200 (CEST) Date: Thu, 20 May 2010 21:56:45 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Content-transfer-encoding: quoted-printable Cc: Subject: usleep's pvrxxx port and FreeBSD 8.0-stable 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: Thu, 20 May 2010 19:56:47 -0000 I am trying to get usleep's pvrxxx port to compil=F8e under FReeBSD 8.0-sta= ble. root@kg-fil# uname -a FreeBSD kg-fil.kg4.no 8.0-STABLE FreeBSD 8.0-STABLE #3: Thu Dec 31 00:34:23= CET 2009 root@kg-fil.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 But it fails, see below. root@kg-fil# pwd /usr/ports/multimedia/pvrxxx root@kg-fil# make clean =3D=3D=3D> Cleaning for pvrxxx-09042008 root@kg-fil# make =3D=3D=3D> Vulnerability check disabled, database not found =3D=3D=3D> Extracting for pvrxxx-09042008 =3D> MD5 Checksum OK for cxm-20051030.shar.gz. =3D> SHA256 Checksum OK for cxm-20051030.shar.gz. =3D> MD5 Checksum OK for pvr250-1.2.tar.gz. =3D> SHA256 Checksum OK for pvr250-1.2.tar.gz. /bin/mkdir -p /usr/ports/multimedia/pvrxxx/work cd /usr/ports/multimedia/pvrxxx/work; cat /usr/ports/distfiles/cxm-2005103= 0.shar.gz | gunzip | /bin/sh; /usr/bin/gzip -nf -9 -dc /usr/ports/distfile= s//pvr250-1.2.tar.gz | /usr/bin/tar -xf - --no-same-owner --no-same-permiss= ions; cd modules/cxm/cxm; /usr/bin/gzip -nf -9 -dc /usr/ports/distfiles//= pvrxxx_gpl-09042008.tgz | /usr/bin/tar -xf - --no-same-owner --no-same-perm= issions; c - dev/cxm x - dev/cxm/Patch.iicbb-fbsd4 x - dev/cxm/Patch.iicbb-fbsd5 x - dev/cxm/cxm.c x - dev/cxm/cxm.h x - dev/cxm/cxm_audio.c x - dev/cxm/cxm_eeprom.c x - dev/cxm/cxm_i2c.c x - dev/cxm/cxm_ir.c x - dev/cxm/cxm_tuner.c x - dev/cxm/cxm_video.c x - dev/cxm/cxm_extract_fw.c c - modules/cxm x - modules/cxm/Makefile c - modules/cxm/cxm x - modules/cxm/cxm/Makefile c - modules/cxm/cxm_iic x - modules/cxm/cxm_iic/Makefile =3D=3D=3D> Patching for pvrxxx-09042008 =3D=3D=3D> Applying FreeBSD patches for pvrxxx-09042008 /usr/bin/sed -i.bak -e 's/tuner0/cxm0/' /usr/ports/multimedia/pvrxxx/work/= pvr250-1.2/setchannel.c =3D=3D=3D> Configuring for pvrxxx-09042008 cd /usr/ports/multimedia/pvrxxx/work/modules/cxm; cd cxm_cx25840fw; tar xz= f /usr/ports/distfiles//firmware.tar.gz v4l-cx25840.fw; cd ../cxm_decfw; t= ar xzf /usr/ports/distfiles//firmware.tar.gz v4l-cx2341x-dec.fw; cd ../cxm= _encfw; tar xzf /usr/ports/distfiles//firmware.tar.gz v4l-cx2341x-enc.fw =3D=3D=3D> Building for pvrxxx-09042008 cd /usr/ports/multimedia/pvrxxx/work/modules/cxm; make =3D=3D=3D> cxm (all) Warning: Object directory not changed from original /usr/ports/multimedia/p= vrxxx/work/modules/cxm/cxm @ -> /usr/src/sys machine -> /usr/src/sys/amd64/include :> opt_cxm.h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/dev/iicbus/iicbb_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc = -I../../.. -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-u= nit-growth=3D100 --param large-function-growth=3D1000 -fno-common -fno-omi= t-frame-pointer -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -m= no-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwin= d-tables -ffreestanding -fstack-protector -std=3Diso9899:1999 -fstack-prote= ctor -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissin= g-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sig= n -fformat-extensions -c /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/= ../../../dev/cxm/cxm.c /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: I= n function 'cxm_open': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:24= 84: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: I= n function 'cxm_close': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:25= 17: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: I= n function 'cxm_read': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:25= 65: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: I= n function 'cxm_ioctl': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:26= 79: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: I= n function 'cxm_poll': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:32= 66: error: invalid operands to binary & *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm. *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm. *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx. root@kg-fil#=20 How do I fix it? --=20 Torfinn