LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Kernel headers? (https://www.linuxquestions.org/questions/fedora-35/kernel-headers-289797/)

Kyl3 02-13-2005 05:50 PM

Kernel headers?
 
I have to install drivers for my Eathernet so I ran the install script and got
Code:

[root@localhost ~]# cd Desktop/DriverInstall;./install.sh


Installation script for sk98lin driver.
Version 2.01 (20040511)
(C)Copyright 2003-2004 Marvell(R).
====================================================
Add to your trouble-report the logfile install.log
which is located in the  DriverInstall directory.
====================================================


1) user installation    3) generate patch
2) expert installation  4) exit
Choose your favorite installation method: 1











Please read this carfully!

This script will automatically compile and load the sk98lin
driver on your host system. Before performing both compilation
and loading, it is necessary to shutdown any device using the
sk98lin kernel module and to unload the old sk98lin kernel
module. This script will do this automatically per default.
If you want to shutdown and unload the old sk98lin kernel module
manually, run the script in the EXPERT mode.

Please plug a card into your machine. Without a card we aren't
able to check the full driver functionality.

Do you want proceed? (y/N) y










Create tmp dir (/tmp/Sk98IQclnZDgMKOoiTcAEYqRY)                      [  OK  ]
Check user id (0)                                                    [  OK  ]
Check kernel version (2.6.9-1.667smp)                                [  OK  ]
Check kernel symbol file (/boot/System.map-2.6.9-1.667smp)          [  OK  ]
Check kernel type (SMP)                                              [  OK  ]
Check number of CPUs (2)                                            [  OK  ]
Check architecture (found)                                          [  OK  ]
Set architecture (i386)                                              [  OK  ]
Check compiler (/usr/bin/gcc)                                        [  OK  ]
Check mcmodel flags (32bit)                                          [  OK  ]
Check module support (/sbin/insmod)                                  [  OK  ]
Check make (/usr/bin/make)                                          [  OK  ]
Check archive file (sk98lin)                                        [  OK  ]
Check kernel gcc version (3.4.2) (Kernel:3.4.2 == gcc:3.4.2)        [  OK  ]
Check sk98lin driver availability (not loaded)                      [  OK  ]
Check kernel header files (not found)                                [ failed ]
Kernel header not found. Please install the linux header files
development package or crate a symbolic link from the
/usr/src/KERNEL_VERSION directory to linux
    Example: ln -s /usr/src/KERNEL_VERSION /usr/src/linux

Installation of sk98lin driver module failed.
Delete temp directories (done)                                      [  OK  ]
[root@localhost DriverInstall]#

So how do I install these kernel headers? FC3

nonzero 02-13-2005 07:07 PM

su root

yum install kernel-source.

nz


All times are GMT -5. The time now is 12:07 AM.