This was in reply to your reply to my original message. you said: "No. Compile the module against the kernel headers which you find in
the "kernel-source" binary rpm."

Right now i am just trying to compile the three line HelloWorld example in the Linux Driver book. 2nd edition, page 15.

I used the package manager to get all the current packages for my system. I checked the box for kernel development. I'll see if I can find a 2.4.18-18.8 package specifically. Note that when I installed the kernel-source for 2.4.18-14 from the cd's. it did NOT overwrite the <linux/version.h> file. I still have the 2.4.9-9 one. So I don't have much expectation that a 2.4.18-18.8 one will fix it.

On Wednesday, November 27, 2002, at 01:50 AM, Michael Schwendt wrote:

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

On Tue, 26 Nov 2002 22:12:38 -0800, Dale Satterfield wrote:

How?
How what?

I did a re-install, and then updated my kernel to 2.4.18-18smp. I
installed the kernal source from the cd's, which is 2.4.18-14.
No, you must also get an updated kernel-source package for your new
kernel.

It
still has 2.4.9-9 in <linux/module.h>. I tried to include instead
/usr/src/linux2.4/include/linux/version.h, but it includes
<linux/version.h> so I get two problems.
That would be the same file, if /usr/src/linux-2.4/include were at
the start of the header search path. However, if the source code you
try to compile includes from /usr/include, you run into problems.
Btw, what exactly do you try to compile?

I have never run into this before, as the kernel headers from a CD
always matched the installed kernel.
The kernel-source package does.

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

iD8DBQE95JVw0iMVcrivHFQRAuAKAJ9lxUntJcugAlVm+l82s+2G1Kqt6QCeOXfq
JpBBjNyUhyN4m8MFnig4GpY=
=r+1j
-----END PGP SIGNATURE-----



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



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

Reply via email to