Re: kernel version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 8 Jul 2002 10:59:18 +0530
"Rupa" <rupa.ramakrishna@ionidea.com> wrote:

R> Hello,
R> 
R> I have included module.h in my source file. and also i compiled using
R> this opiton:
R> gcc -D__KERNEL__  -I/usr/src/linux-2.4/include -c <modulename>.Now when
R> i

	Nothing to do with this error, but you should include -DMODULE too.

R> try to load the module it throws following warning error:
R> #/sbin/insmod ./<modulename.o>
R> loading ./<modulename> will taint the kernel:no licence
R> iam not able to understand why it is showing this error.

	This already have been discussed here, you should browse through the
archives before asking again.

	You must include a free-software compatible license to not taint the
kernel.

	IIRC the free software-compatible licenses accepted in the kernel are:

	GPL, BSD or MPL.

	Otherwise the license is considered proprietary and the kernel will be
tainted.

	In your case you you didn't define a license at all (more likely).

	This is an example to distribuite your module under GNU GPL:

	MODULE_LICENSE("GPL");

	Please be sure to read and agree with the license terms _before_ doing
this.

Felipe
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux