From: Jean-Francois Moine <moinejf@free.fr>
To: unlisted-recipients:; (no To-header on input)@casper.infradead.org
Cc: linux-media <linux-media@vger.kernel.org>
Subject: Re: Problem building gspca module
Date: Fri, 15 Jul 2011 08:27:34 +0200 [thread overview]
Message-ID: <20110715082734.014566fe@tele> (raw)
In-Reply-To: <CAOMmEgmG9R1chrJuR2Fh91c5xyJMUdc=rW-yNugE+08sXfutfg@mail.gmail.com>
On Fri, 15 Jul 2011 00:06:54 -0400
Dave Fine <finerrecliner@gmail.com> 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/
prev parent reply other threads:[~2011-07-15 6:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-15 4:06 Problem building gspca module Dave Fine
2011-07-15 6:27 ` Jean-Francois Moine [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110715082734.014566fe@tele \
--to=moinejf@free.fr \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox