[Click] preventing no license warning when loading modules for new elements

Eddie Kohler kohler at CS.UCLA.EDU
Wed Sep 22 13:21:38 EDT 2004


Hi all,

If you use makefiles based on etc/samplepackage this is done for you. 
-- FYI.

Eddie


On Sep 22, 2004, at 5:18 AM, Frederic Van Quickenborne wrote:

> Hi,
>
> if you are using the Makefile of Brecht Vermeulen to make kernel 
> modules of your new element-source files, insmoding the kernel module 
> of the new element can lead to a kernel warning:
> Warning: loading /lib/modules/2.4.26-click20040810/extpackage.ko will 
> taint the kernel: no license
>
> You can solve this by adding the following lines in the 
> kernelversion.c file in the directory of the source files:
> #ifdef MODULE_LICENSE
> MODULE_LICENSE("Dual BSD/GPL");
> #endif
>
> Or you can use the kernelversion.c file that comes with the click 
> source.
>
> Many regards,
> Frederic.
>
> ==================================================================
> Frederic Van Quickenborne
> Department of Information Technology (INTEC)
> Ghent University - IMEC
> Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium
> tel.: +32 (0)9-264 9957; tel. secr.: +32 (0)9-264 9970
> fax: +32 (0)9-264 9960
> Frederic.VanQuickenborne at intec.ugent.be
> http://www.ibcn.intec.ugent.be
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list