Hi, 2.4 kernel uses .o format for modules whereas 2.6 uses .ko format. You need to recompile kernel module in 2.6 kernel. You can find Makefile for 2.6 kernel in archives of this mailing list. Regards, Parag. On 3/29/06, munees waran <munees40@xxxxxxxxxxx> wrote: > > Hi All, > > I have developed hello world program in Red hat linux (kernel version 2.4). > Then I tried to port it in suse linux (kernel version 2.6). > > I got the following error: > insmod: error inserting 'hello.o' :-l Invalid module format > > Pls help me to resolve this issue. > > Thanks & Regards, > Munees. > > > ________________________________ > New Yahoo! Messenger with Voice. Call regular phones from your PC for low, > low rates. > > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/