--- In [email protected], "yashpal_ait21" <[EMAIL PROTECTED]> wrote: > > make -C /usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11 SUBDIRS=$PWD > modules > > Also .ko file is being generated. > But when i am trying to insmod like following, i am getting following > errors > > insmod ./hello-1.ko insmod: error inserting > './hello-1.ko': -1 Invalid module format > I assume you're actually running the 2.6.11 kernel, and not a 2.4 kernel (which had the old .o-style modules)? You can check which kernel you're actually running by cat'ing /proc/version To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be removed. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/LINUX_Newbies/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
