--- Chirag Kantharia <kantharia@hathway.com> wrote: >On Sat, Mar 01, 2003 at 05:10:09AM -0800, Jose Luis Alarcon wrote: >| KERNELDIR = /usr/src/linux >| CFLAGS = -D__KERNEL__ -DMODULE -I$(KERNELDIR)/include -O >| module_hello.o: module_hello.c >| and when i do 'insmod module_hello.o' i get: >| Error inserting 'module_hello.o': -1 Invalid module format >| ¿Where is the error?. I use module-init-tools 0.9.10. > >You forgot -c in the CFLAGS :) > >-- >Chirag Kantharia, symonds.net/~chyrag/ > No Chirag, this is not the solution. I tried it, but still don't work. :( Thanks you, very much, for your help, any way. Regards. Jose. http://linuxespana.scripterz.org Debian GNU/Linux 'Sid' Kernel 2.5.62 Ext3. ESware Linux 365 Kernel 2.5.62 ReiserFS. Registered Linux User #213309. Memories..... You are talking about memories. Rick Deckard. Blade Runner. _____________________________________________________________ Get your own free tiggerfan.com email address!! DisneySites!! - http://www.disneysites.com/webmail/tiggerfan _____________________________________________________________ Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/