Basically, if you read the README file with your version of the kernel, it will clearly mension the gcc versions and it's limits of the usage. Till the 2.4.20 kernel, the README file, advices to use gcc 2.x version compilers, specifically says not use above version which are available for the developement. Better use the same gcc version used for the kernel and your module. Iqbal On Sun, 2003-08-03 at 12:17, Bikram Kumar Gupta wrote: > Hello, > > When I tried to load a particular modem module using insmod, it gave an > error like: > > "You're trying to insert a module which is compiled with gcc version 3, > whereas your kernel is built with gcc version 2. They're known not to > work". > > I believe the version refers to gcc 3.2 and 3.3 respectively. So I will > have to rebuild my kernel using existing gcc on my system and try insert > the module. > > However, I have these questions: > > - gcc being a code-generation tool, in what way it affects the interoperability > amoung kernel/modules? > - Can I tell insmod to ignore the above error and still insert the module? > > Regards, > Bikram. > > ===== > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.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/