Re: RE: kernel-headers rpm ?

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

 




Brian Ipsen wrote:

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 ?

It's probably a bug in the *ntel build system. It should report an error if the anloy headers it finds are in /usr/include, and not build with them.

If you have the kernel-source package installed then it's not properly detection the headers in /usr/src/linux-2.4.18-19.7x, check the build instruction to see how to tell it where to get the kernel headers. Common options are set a variable or add -I/lib/modules/`uname -r`/build/include to $CFLAGS.

Also ask them fix the build system.

	-Thomas





_______________________________________________
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