[Click] preventing no license warning when loading modules for new
elements
Frederic Van Quickenborne
frederic.vanquickenborne at intec.ugent.be
Wed Sep 22 08:18:56 EDT 2004
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
More information about the click
mailing list