Operating Systems > Linux and UNIX
ker-nel-headers
choasforages:
easy way to find the damn thing
mount the cd
then cast this unix spell hehhe
ls /mnt/cdrom/wherever/the/rpms/are |grep kernel
you should be able to find it. it should be something link kernel-source-blah-blah-blah.rpm
and also it should be kernel-headers-blab-blah-blah.rpm
atleast that is how redhat is, and since drak is rpm based it should be layed out simerly, but i don't have a mandrake cd laying around to test it though
foobar:
i've tried that once, i don't know on which RPM it was, but the modem compiler said it was an other kind of headers, and that you never should use them
and then make[1] errored out.
Do you know anything about different kernel headers ??
choasforages:
can you tell me what some of the stuff before make errored out, just the fact that make farked up only means that something farked up, howabout, posting maybe a page or two before and right up untile the make file errd then i might be able to figure out whats up
foobar:
I will soon post a report about make goin' bad,
but i have yet another question:
Aren't those kernel headers downloadable ??
voidmain:
You can bet that they are on your distribution CD. But of course they are also downloadable but you *must* make sure you download the headers for the EXACT version of kernel you are currently running on your machine, and best be the kernel headers that came with your distro. If you really want to download them rather than installing them from your CD go to http://www.rpmfind.net and type in "kernel-headers" and pick the one from your distro.
Now for compiling a kernel driver it may also be necessary to have the "kernel-source" RPM installed and built, but shouldn't be necessary. You really should search google for "kernel howto" and read up on the subject.
[ June 10, 2002: Message edited by: VoidMain ]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version