[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111009081719.GA20927@merkur.ravnborg.org>
Date: Sun, 9 Oct 2011 10:17:19 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Stephen Williams <steveicarus@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: MODULE_LICENSE("GPL") not working for me
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists