As linux kernel is GPL'ed it allows modules with GPL or its flavours licensing only. Use MODULE_LICENSE("GPL") to remove your error. Googling will help more. Cheers... -Anix http://aniruddha.talk.to On Wed, 2003-12-17 at 01:49, GEORGE JOSEPH wrote: > Hi All of you, > > Can u pls help me with the following: > > 1)When i compile my modules under redhat linux 2.4.4 > I had no problems,but under kernel 2.4.20 i have to > do > > [root@modules]gcc -Wall -O2 -I > /usr/src/linux-2.4/include module.c -c > > please tell me how to compile modules for the new > kernel > > 2)when i try using insmod I get the error saying that > my module is not GPLed and doenst have a GPL licence > and there fore I cannot load the module...pls help... > thanks....george > > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/