Kernel source headers?
I was gonna install a driver for my modem, and the help document it came with said I needed the following.
Prerequisites: 1. root access 2. bash shell to run install scripts 3. an Intel536ep modem 4. KERNEL SOURCE HEADERS FOR THE KERNEL YOU ARE RUNNING. and programming development tools installed as well My question is about number 4. I have no idea what that means. I know I have programming development tools installed, but I don't know what "kernel source headers for the Kernel you are running" means. Do those header files need to be copied over to the directory i'm running the script in? If so, where are they? Do they need to be installed? Please help. |
You need the *.h files in /usr/src/linux directory
|
you will need to install the kernel-headers package. you've given squit all info abuot what system you're running, but i'd guess it's RPM based... in which case the rpm will be on your distro's cd's. you will not need to actually do anythign once they are installed.
|
Quote:
|
So there's kernel-headers package on your installation cd. Install it and it should be enough.
|
No there isn't. I'm having the same problem.
No kernel source headers for RH9 at all. Not on the three CD retail set anyway and I've searched up and down the redhat.com ftp site with no luck. Intel are selling this 'thing' to department stores as a retailed and whiteboxed analogue hardware modem and as far as I can see it simply isn't. After a week or so of searching Google I've yet to find anyone who's got the thing to work. Money well wasted for anyone who buys it. Go for US Robotics instead if you can. ~ Slurmo. |
All the kernel source headers are are the include files for your kernel source. You just need the source to the red hat kernel or whatever you compiled yourself and the do a symlink to /usr/src/linux.
|
there's a glibc-kernheaders package but all you need is kernel-source package like the guy above says
|
Thank you both for responding :)
As I'm a newb tho, could I ask for a little clarification on a couple of things? * In my /usr/src directory there's a folder called linux-2.4.20-8 So do I put a symlink to this in the directory I'm building my drivers in? I tried a few variations on that but it still fails. * At boot time (and in response to a DEPMOD command) I recieve two warnings about unresolved symbols. For the files '536ep.o' and '536epcore.o'. Is this because I'm not linking in the headers properly when I compile? -------------------------------------------------- Also, I said what I did (about there being no kernel source headers) because when I tried using the latest drivers from Intel for RH9 instead of the boxed ones then it fails again. Except this time it complained that two files were missing. 'vmlinuz.version.h' and 'vmlinuz.autoconf.h' But these two headers are not anywhere on my system. I even downloaded the kernel source from ftp.kernel.org and compiled that but those headers didn't appear. I've installed every rpm on the RH9 CD's and do have the glib package mentioned earlier. I think I'm maybe not understanding something basic about this whole process but I don't know what it is :scratch: Cheers, ~ Slurmo. |
I have...
Quote:
see this thread: http://www.linuxquestions.org/questi...hreadid=202656 |
I'm still having no luck in finding the RH9 x86 kernel source headers. Or if they're already installed then I'm still no closer to getting a working compile of this modems driver.
:( I was all ready to throw that Intel in the bin and now I'm back to feebly poking at it like a bad tooth again... Would anyone have any suggestions as to why this isn't working for me please? I have a /usr/src/linux-2.4.20-8 So I have the headers yeah? |
go to kickstart->system tools->add remove packages
and install the kernel development package. u would have the headers. |
Hrmm... I have those installed.
This is clearly beyond my skill at this time. Okay, one last question then I'll leave it alone. How would I unistall this driver for a fresh try? As far as I can see it adds two modules to the kernel, adds a line to the fstab, creates a new device called /dev/536ep and mounts it on /dev/modem. Does manually removing all these elements effectively uninstall the driver? ...still don't understand why this is classified as a 'hardware' modem tho :p |
Quote:
Quote:
greetz && success, .-=~ iluvatar ~=-. |
windows emulates parts(hardware) of a modem(some) through software
hence they are known as software modems or winmodems. rest are called hardware modems or even linmodems. |
All times are GMT -5. The time now is 03:20 AM. |