Well I've made a sliver of progress. I pointed the makefile that came
with the linux-uvc driver to the top level directory of the kernel
source. After doing a 'make config' of the kernel source (and choosing
all default values - probably a bad idea) the compilation of the
linux-uvc driver seemed to get a bit further. Seemed like it read some
of the configuration settings. Ultimately compilation failed with the
same error, though. Here's what I got:
make
Building USB Video Class driver...
make[1]: Entering directory `/root/linux24'
gcc -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -o
scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
make -C /root/linux-uvc CFLAGS="-D__KERNEL__ -I/root/linux24/include
-Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing
-fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4
-march=armv4 -mtune=arm9tdmi -msoft-float -Uarm -DMODULE -DMODVERSIONS
-include /root/linux24/include/linux/modversions.h" MAKING_MODULES=1
modules
make[2]: Entering directory `/root/linux-uvc'
make[2]: *** No rule to make target `modules'. Stop.
make[2]: Leaving directory `/root/linux-uvc'
make[1]: *** [_mod_/root/linux-uvc] Error 2
make[1]: Leaving directory `/root/linux24'
make: *** [uvcvideo] Error 2
I have checked the Makefile that comes with linux-uvc drivers and it
of course does not have a make target "modules" as indicated above.
The kernel Makefile does however. Which begs the question of why the
Makefile cd'ed into the linux-uvc directory to run "make modules"
... the investigation continues ...
--- In "Michael" <> wrote:
>
> Hi all,
>
> I am attempting to get the Logitech Quickcam Pro 9000 webcam working
> on my 7260 board. This requires the linux-uvc driver - I'm having some
> trouble compiling the linux-uvc video driver kernel module. The make
> output is:
>
> Building USB Video Class driver...
> make[1]: Entering directory `/lib/modules/2.4.26-ts11/build'
> make[1]: *** No rule to make target `modules'. Stop.
> make[1]: Leaving directory `/lib/modules/2.4.26-ts11/build'
> make: *** [uvcvideo] Error 2
>
> It appears that the UVC makefile is attempting to run make from the
> /lib/modules/2.4.26-ts11/build directory - which is empty. I *think*
> this means I need to install the kernel headers for the 2.4.26-ts11
> kernel. Is this correct?
>
> Assuming that is true, I have gone ahead and downloaded the kernel
> source from the technologic website at
>
ftp://ftp.embeddedarm.com/ts-arm-linux-cd/sources/tskernel-2.4.26-ts11-src.tar.gz.
> So my question now is... how do I install the headers from this
> source package?
>
> Thanks in advance.
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|