Hi,
I try to compile qc-usb driver for my Logitech Quickcam Express webcam without success.
I use OpenWRT Kamikaze (from SVN) to compile it as an out of tree driver.
It fails with:
include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from include/asm/smp.h:17,
from include/linux/smp.h:18,
from include/linux/sched.h:63,
from include/linux/mm.h:4,
from include/linux/poll.h:11,
from include/linux/videodev2.h:18,
from include/linux/videodev.h:8,
from
/opt/openwrt/trunk/build_mipsel/linux-2.6-brcm/qc-usb-0.6.5/quickcam.h:95,
from
/opt/openwrt/trunk/build_mipsel/linux-2.6-brcm/qc-usb-0.6.5/qc-driver.c:47:
include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a
function)
include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not
in a function)
In file included from include/linux/smp.h:18,
from include/linux/sched.h:63,
from include/linux/mm.h:4,
from include/linux/poll.h:11,
from include/linux/videodev2.h:18,
from include/linux/videodev.h:8,
from
/opt/openwrt/trunk/build_mipsel/linux-2.6-brcm/qc-usb-0.6.5/quickcam.h:95,
from
/opt/openwrt/trunk/build_mipsel/linux-2.6-brcm/qc-usb-0.6.5/qc-driver.c:47:
include/asm/smp.h:76:26: mach_apicdef.h: No such file or directory
In file included from include/linux/sched.h:69,
from include/linux/mm.h:4,
from include/linux/poll.h:11,
from include/linux/videodev2.h:18,
from include/linux/videodev.h:8,
from
/opt/openwrt/trunk/build_mipsel/linux-2.6-brcm/qc-usb-0.6.5/quickcam.h:95,
from
/opt/openwrt/trunk/build_mipsel/linux-2.6-brcm/qc-usb-0.6.5/qc-driver.c:47:
In file included from include/linux/irq.h:21,
from include/asm/hardirq.h:5,
from include/linux/hardirq.h:6,
from include/linux/interrupt.h:10,
from include/linux/usb.h:15,
from
/opt/openwrt/trunk/build_mipsel/linux-2.6-brcm/qc-usb-0.6.5/quickcam.h:99,
from
/opt/openwrt/trunk/build_mipsel/linux-2.6-brcm/qc-usb-0.6.5/qc-driver.c:47:
include/asm/irq.h:15:25: irq_vectors.h: No such file or directory
In file included from include/asm/hardirq.h:5,
from include/linux/hardirq.h:6,
from include/linux/interrupt.h:10,
from include/linux/usb.h:15,
from
/opt/openwrt/trunk/build_mipsel/linux-2.6-brcm/qc-usb-0.6.5/quickcam.h:99,
from
/opt/openwrt/trunk/build_mipsel/linux-2.6-brcm/qc-usb-0.6.5/qc-driver.c:47:
include/linux/irq.h:84: error: `NR_IRQS' undeclared here (not in a function)
In file included from include/linux/irq.h:93,
from include/asm/hardirq.h:5,
from include/linux/hardirq.h:6,
from include/linux/interrupt.h:10,
from include/linux/usb.h:15,
from
/opt/openwrt/trunk/build_mipsel/linux-2.6-brcm/qc-usb-0.6.5/quickcam.h:99,
from
/opt/openwrt/trunk/build_mipsel/linux-2.6-brcm/qc-usb-0.6.5/qc-driver.c:47:
include/asm/hw_irq.h:29: error: `NR_IRQ_VECTORS' undeclared here (not in
a function)
In file included from include/asm/hardirq.h:5,
from include/linux/hardirq.h:6,
qc-usb can be found at qc-usb http://qce-ga.sourceforge.net/
Thanks for help.
-jec