usleep's pvrxxx port and FreeBSD 8.0-stable

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Thu May 20 19:56:47 UTC 2010


I am trying to get usleep's pvrxxx port to compiløe under FReeBSD 8.0-stable.
root at 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 at kg-fil.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
But it fails, see below.
root at kg-fil# pwd
/usr/ports/multimedia/pvrxxx
root at kg-fil# make clean
===>  Cleaning for pvrxxx-09042008
root at kg-fil# make
===>  Vulnerability check disabled, database not found
===>  Extracting for pvrxxx-09042008
=> MD5 Checksum OK for cxm-20051030.shar.gz.
=> SHA256 Checksum OK for cxm-20051030.shar.gz.
=> MD5 Checksum OK for pvr250-1.2.tar.gz.
=> 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-20051030.shar.gz | gunzip | /bin/sh;  /usr/bin/gzip -nf -9 -dc /usr/ports/distfiles//pvr250-1.2.tar.gz | /usr/bin/tar -xf - --no-same-owner --no-same-permissions;  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-permissions;
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
===>  Patching for pvrxxx-09042008
===>  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
===>  Configuring for pvrxxx-09042008
cd /usr/ports/multimedia/pvrxxx/work/modules/cxm;  cd cxm_cx25840fw; tar xzf /usr/ports/distfiles//firmware.tar.gz v4l-cx25840.fw;  cd ../cxm_decfw; tar 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
===>  Building for pvrxxx-09042008
cd /usr/ports/multimedia/pvrxxx/work/modules/cxm; make
===> cxm (all)
Warning: Object directory not changed from original /usr/ports/multimedia/pvrxxx/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=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -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: In function 'cxm_open':
/usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2484: error: invalid operands to binary &
/usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_close':
/usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2517: error: invalid operands to binary &
/usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_read':
/usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2565: error: invalid operands to binary &
/usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_ioctl':
/usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2679: error: invalid operands to binary &
/usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_poll':
/usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:3266: 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 at kg-fil# 

How do I fix it?
-- 
Torfinn



More information about the freebsd-multimedia mailing list