Re: kernel-headers rpm ?

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 23 Jan 2003 11:45:34 +0100, Brian Ipsen wrote:

> > >  One quick question (whcih actually is giving me a lot of trouble
> > >  building
> > > some other software). My RH 7.2 kernel is 2.4.18-19 - but the
> > > latest kernel-headers rpm package available is 2.4.9-34 - how come
> > > there is no update to 2.4.18-19 of this package too ??
> > 
> > The kernel headers as necessary for building kernel modules, for
> > instance, can be found in the kernel-source binary rpm for your
> > kernel version. On the other hand, the headers in the kernel-headers
> > package (the glibc-kernheaders package for newer versions of Red Hat
> > Linux) are for compiling glibc and other apps/libs which depend on
> > the kernel API.
> 
> Okay, but running with kernel 2.4.18-19.7.xsmp and having installed
> kernel-headers-2.4.9-34
> on a 7.2 box - gives me, when compiling the ISC ipmi driver from
> Intel, an error-message when I try to do an insmod:
> 
> insmod ./imb
> ./imb: kernel-module version mismatch
>         ./imb was compiled for kernel version 2.4.9-34smp
>         while this kernel is version 2.4.18-19.7.xsmp.
> 
> The question is then where the 2.4.9-34smp originates from ?

You didn't follow this thread (e.g. see 2nd quote above).

Do not compile your driver against the headers included within the
kernel-headers package. Do compile it against the headers included
within the kernel-source binary rpm. 

Since you are running kernel-2.4.18-19.7.xsmp, you want to fetch the
package called "kernel-source-2.4.18-19.7.x.i386.rpm".

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+L9aE0iMVcrivHFQRAtj6AJ9Ip0VkV5W3zw3GT+k3zhW9j3IJJACeINI8
s6gd/6ArrwGhADxaN0pMKf4=
=8URm
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux