Re: Problem building gspca module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 15 Jul 2011 00:06:54 -0400
Dave Fine <finerrecliner@xxxxxxxxx> wrote:

> I'm trying to build the gspca module and insmod into my current
> running system. I can compile the module, but can't insmod it.
> 
> steps I take to build:
> 
> $ cd /usr/src/linux-source-2.6.38
> $ sudo cp /boot/config-2.6.38-8-generic .config
> $ sudo make oldconfig
> $ sudo make prepare
> $ sudo make modules_prepare
> $ sudo make scripts
> $ sudo make SUBDIRS=drivers/media/video/gspca
> $ cd drivers/media/video/gspca
> $ sudo insmod gspca_main.ko
> $ insmod: error inserting 'gspca_main.ko': -1 Invalid module format
> $ dmesg | tail
> [995219.523934] gspca_main: no symbol version for module_layout
	[snip]
> Does anyone know what I'm doing wrong?

Hi Dave,

You must either
- generate a full kernel,
- or build the video stuff from a linuxtv git repository,
- or get and build the last gspca tarball from my web site.

In the two last cases, the linux headers of your kernel must
be installed (in Debian, these are splitted into three packages
'linux-headers-2.6.38-..' and 'linux-kbuild-2.6.38').

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux