Date: Thu, 20 May 2010 21:56:45 +0200 From: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> To: freebsd-multimedia@FreeBSD.org Subject: usleep's pvrxxx port and FreeBSD 8.0-stable Message-ID: <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100520215645.0f506ba7.torfinn.ingolfsen>