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

On Tue, 26 Nov 2002 07:28:36 -0800, Dale Satterfield wrote:

> I just did a workstation install of RH-8. While going through the 
> device drivers book, I tried to test the compilation/l;oading of a 
> module. I get an error message on loading of "Running 2.4.18-14. Your 
> module was compiled for 2.4.9-9".
>   2.4.9-9 is the value in /usr/include/linux/version.h. How come it 
> doesn't match the kernel that was installed?
> I did the install from the RH CD's.  Can I just edit the version file?

No. Compile the module against the kernel headers which you find in
the "kernel-source" binary rpm. When installed, you find the kernel
headers in /usr/src/linux-2.4/include. Don't use the
"kernel-headers" package and neither the "glibc-kernheaders" package
when compiling kernel modules.

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

iD8DBQE945160iMVcrivHFQRAs8kAJ0YbcxxchR321G7WOPMwOZRlj8nTwCdFVQ0
1cXHG1mEye70kQPpHOVDOnw=
=1+Mh
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to