From: Sam Ravnborg <sam@ravnborg.org>
To: Stuart Sheldon <stu@actusa.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: "make prepare" in 2.6.26.2 not behaving?
Date: Tue, 19 Aug 2008 21:52:28 +0200 [thread overview]
Message-ID: <20080819195228.GB6774@uranus.ravnborg.org> (raw)
In-Reply-To: <48AA4107.9090009@actusa.net>
On Mon, Aug 18, 2008 at 08:41:59PM -0700, Stuart Sheldon wrote:
> Hey all, think I found a little bug...
>
> I recently was attempting to build 3rd party modules on a 2.6.26.2
> source tree after a "make clean" was run on the kernel source tree.
>
> In the past I would run "make oldconfig prepare scripts" and then build
> and install the 3rd party module. All would work as expected.
>
> And all started well with the 2.6.26.2 tree. The module built without
> error, but when I went to load it, it responded back with a version
> error on the console, and the dmesg was: "no symbol version for
> struct_module".
>
> If I rebuild the entire kernel and modules in the source tree and then
> build the 3rd party module again, It builds and loads without issue.
>
> I'm hoping this is a bug, as I use the prepare method of setting up
> source trees a lot. It saves me hours of time on my server farm.
If you have MODULE_VERSIONING enabled then you need to build
the kernel - "make prepare" is in that case not enough.
Ig you have module.symvers around then that will do it.
Sam
next prev parent reply other threads:[~2008-08-19 19:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-19 3:41 Stuart Sheldon
2008-08-19 19:52 ` Sam Ravnborg [this message]
2008-08-19 20:11 ` Stuart Sheldon
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=20080819195228.GB6774@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stu@actusa.net \
/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
all inboxes | Powered by JetHome®