Re: How to update the compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Um, no.

hello.o is for kernel version 2.4.9-9

It is hello.o that has the version mismatch, not your compiler.

Either get a version of hello.c for your kernel, or use 'insmod -f', if
possible.

On Wed, May 07, 2003 at 12:20:32PM -0700, Bluesea wrote:
> I used "insmod" to install a modul which was compiled
> with "gcc" under RH 8.0, and got the following
> message:
> 
> ./hello.o: kernel-module version mismatch
>     ./hello.o was compiled for kernel version 2.4.9-9
>     while this kernel is version 2.4.18-14
> 
> So I think my compiler is for kernel version 2.4.9-9
> 
> Ben
> 
> --- "Curran, Dominic" <dcurran@ti.com> wrote:
> > 
> > Goto http://gcc.gnu.org/ and download the latest
> > version of gcc.
> > 
> > Are you sure the compiler version is 2.4.9 , that
> > doesn't sound right for
> > RH8...unless your not using gcc.
> > 
> > dom
> > 
> > 
> > 
> > -----Original Message-----
> > From: Bluesesa [mailto:big_bluesea@yahoo.com] 
> > Sent: Wednesday, May 07, 2003 12:01 PM
> > To: kernelnewbies@nl.linux.org
> > Subject: How to update the compiler
> > 
> > 
> > Hi there,
> > 
> > I am using Linux 8.0. The kernel is 2.4.18-14, while
> > the compiler is 2.4.9-9. How can I update my
> > compiler?
> > 
> > Thanks, 
> > 
> > Ben
> > 
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Search - Faster. Easier. Bingo.
> > http://search.yahoo.com
> > --
> > Kernelnewbies: Help each other learn about the Linux
> > kernel.
> > Archive:      
> > http://mail.nl.linux.org/kernelnewbies/
> > FAQ:           http://kernelnewbies.org/faq/
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 

-- 
 /"\  ASCII ribbon              | http://www.geocities.com/jbrown1050/
 \ /  campain against           | Linux User:190064
  X   HTML in e-mail and        | Linux Machine:84163
 /*\  news, and unneeded MIME   | 
----------------------------------------------------------------------
You too can spend five years in prison; just distribute this program
once US Senator Hollings's CBDTPA bill is passed into law:
perl -e 'while(<>) { print;}'


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux