mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Stephen Williams <steveicarus@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: MODULE_LICENSE("GPL") not working for me
Date: Sun, 9 Oct 2011 10:17:19 +0200	[thread overview]
Message-ID: <20111009081719.GA20927@merkur.ravnborg.org> (raw)
In-Reply-To: <CAO3ZPq0JU7854=AYR9a8SRcacUn1=7BhfCP=s93SJFTtmpuGSQ@mail.gmail.com>

On Fri, Oct 07, 2011 at 05:36:22PM -0700, Stephen Williams wrote:
> I've attached the Makefile as I have it so far, and I've also attached the
> output from make ... V=2. The Makefile is a canonical multi-object-file
> module makefile, with some extra trappings for version stamping
> and my source code management.
> 
> When I look at the object files, NONE of the generated *.o files contains
> a .modinfo section, even though there are MODULE_LICENSE("GPL");
> lines in the linux.c source file.
> 
> Incidentally, the source files in the ../libvidforio directory are generic,
> so do not include any kernel header files.

Looks like you do not have CONFIG_MODULE defined in you kernel config.
When using external modules there is today no consistency check that
CONFIG_MODULE is set when building a module.

	Sam

  reply	other threads:[~2011-10-09  8:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-06 22:30 Stephen Williams
2011-10-07  9:52 ` Arnd Bergmann
2011-10-07 17:20 ` Stephen Williams
2011-10-07 18:18   ` Sam Ravnborg
2011-10-08  0:36     ` Stephen Williams
2011-10-09  8:17       ` Sam Ravnborg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-10-06 22:02 Stephen Williams

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=20111009081719.GA20927@merkur.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=steveicarus@gmail.com \
    /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®