Hi Juho,

On Saturday 15 November 2008, Juho Vähä-Herttua wrote:
> Hi,
>
> I hope I'm not disturbing too much, but I tried to compile the driver
> after a break again, since I wanted to also port my one patch to the
> latest repository. However I have a slight problem with
> dependencies... I can load v4l2-common.ko just fine, but trying to
> load v4l2-compat-ioctl32.ko or videodev.ko both end up with error
> about "Unknown symbol v4l_printk_ioctl" and I therefore can't get
> uvcvideo loaded either.
>
> The kernel I'm using is from Ubuntu repositories 2.6.24-21-generic
> and if I install and run depmod and stuff it doesn't help at all
> either. I can see the function defined in v4l2-ioctl.c but I just
> can't find a module that would included it.

v4l2-ioctl.c is compiled into the videodev.ko module.

> Since compiling from the new repository was supposed to be relatively easy
> and now I'm unable to compile uvcvideo at all, I'm just here to ask does
> someone have some hints what I am doing wrong... Naturally last time I
> compiled uvcvideo it worked out-of-the-box without any extra modules, but
> things have changed.

I sense some bitterness here ;-) I'll try to help you (please remember I'm 
quite new to v4l trees as well, so this might require a few iterations).

The most usual source of dependency errors when installing v4l from sources is 
old modules lying around in /lib/modules/`uname -r`/. Could you try to 
manually move them out of the way ? If I remember well Ubuntu installs 
in-tree modules in /lib/modules/`uname -r`/kernel and out-of-tree modules 
in /lib/modules/`uname -r`/ubuntu, so make sure you look into both locations 
for v4l modules.

You could also try to load the new modules with insmod. You will have to 
resolve dependencies yourself (i.e. load the modules in the correct order), 
but you will be able to make sure the new modules are loaded and not some old 
ones lying around in a corner. This might give you some interesting hints.

Best regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to