Date: Fri, 25 Dec 2009 18:29:40 -0500 From: Glen Barber <glen.j.barber@gmail.com> To: ports@freebsd.org, luigi@FreeBSD.org Subject: multimedia/linux-gspca-kmod fails to build on 8.X Message-ID: <4ad871310912251529s647cd812t46d98ef1d1a17e56@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi I'm trying to build multimedia/linux-gspca-kmod on my laptop for my integrated SuYin camera (build errors below). The devel/linux-kmod-compat port which is a dependency of this port builds correctly. /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.h includes usb_port.h, which does not exist on 8.X. To rule out the obvious, I pulled down usb_port.h from 7-STABLE and created a symlink in /usr/include, which failed to no surprise. In my searches prior to this attempt at hackery, I've found hints to try ports such as graphics/vid (and a few others, whose names elude me at the moment), however these ports are marked BROKEN for OSVERSION >=800064. I have tried to track what this port needs from usb_port.h to modify ldev_stub.h, but have had no luck thus far. I assume this is related to the new USB stack in 8.X - please correct me if this assumption is incorrect. Should linux-kmod-compat and multimedia/linux-gspca-kmod be marked BROKEN on 8.X? (If I've missed something obvious, I apologize in advance.) Regards, -- build errors -- ===> Building for linux-gspca-kmod-1.0.20_1 @ -> /usr/src/sys machine -> /usr/src/sys/i386/include awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h :> opt_usb.h rm -f .depend mkdep -f .depend -a -nostdinc -DUSB_DEBUG -DGSPCA_ENABLE_DEBUG -DGSPCA_ENABLE_COMPRESSION -DCONFIG_USB_GSPCA_MODULE=1 -DVID_HARDWARE_GSPCA=0xFF -DGSPCA_VERSION=\"01.00.20\" -D__KERNEL__ -DDRIVER_NAME=gspca -DDEV_NAME=\"video\" -D_KERNEL -DKLD_MODULE -ISunplus -ISunplus-jpeg -ISonix -IConexant -IVimicro -Idecoder -I/usr/local/share/linux-kmod-compat/linux_compat -I. -I@ -I@/contrib/altq gspca_core.c /usr/ports/multimedia/linux-gspca-kmod/work/gspcav1-20071220/decoder/gspcadecoder.c /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c /usr/local/share/linux-kmod-compat/linux_compat/linux_compat.c In file included from /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:44: /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.h:69:22: error: usb_port.h: No such file or directory In file included from /usr/local/share/linux-kmod-compat/linux_compat/linux_compat.c:44: /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.h:69:22: error: usb_port.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/ports/multimedia/linux-gspca-kmod/work/gspcav1-20071220. *** Error code 1 Stop in /usr/ports/multimedia/linux-gspca-kmod. -- Glen Barber
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310912251529s647cd812t46d98ef1d1a17e56>