multimedia/linux-gspca-kmod fails to build on 8.X

Glen Barber glen.j.barber at
Fri Dec 25 23:29:42 UTC 2009


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

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

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.)


-- 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
-ISunplus -ISunplus-jpeg -ISonix -IConexant -IVimicro -Idecoder
-I/usr/local/share/linux-kmod-compat/linux_compat -I. -I@
-I@/contrib/altq gspca_core.c
In file included from
error: usb_port.h: No such file or directory
In file included from
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

More information about the freebsd-ports mailing list