Where are the kernel headers?
In attempting yet again to install the latest NVIDIA drivers, I've run into a problem with unresolved symbols. According to the writeup, the kernel module has most likely been built using header files for a different kernel version than the one I'm using (stock 2.4.4). To fix that I need to provide the path to the kernel headers. But where are they? If I knew at least the name of the directory containing them or some of the files in that directory I could probably find the path by using "locate'. Paul
Does anybody know how can i use the command "banner" ? I have some scripts developed in others UNIXs using this command, and i intend to use them in linux too. Thanks .
Ok Mark !
man banner
it shows me the usage : banner [ -wn ] message .... but the message apears in a vertical way. And i would like to change it to horizontal. As in others unix. ( all of them ). I just write "banner hello" and the response comes as i want.
AFAIK this is the difference between the BSD version of banner (ours) and the System V version. One solution is to use figlet instead of banner in your scripts. It's included in the SuSE distro and displays different "fonts". Best regards Anders tisdagen den 29 maj 2001 19:52 skrev Marcello Leão:
Ok Mark !
man banner
it shows me the usage : banner [ -wn ] message ....
but the message apears in a vertical way. And i would like to change it to horizontal.
As in others unix. ( all of them ). I just write "banner hello" and the response comes as i want.
-- "The illegal we do immediately. The unconstitutional takes a bit longer." -- Henry Kissinger
Marcello Leão wrote:
Ok Mark !
man banner
it shows me the usage : banner [ -wn ] message ....
but the message apears in a vertical way. And i would like to change it to horizontal.
As in others unix. ( all of them ). I just write "banner hello" and the response comes as i want.
Looks like it doesn't work the way you want it to. You can always get the sources and see if there is maybe some configure option to change the way it outputs. It's from the package bsdgames. Sources are on the CDs. I don't think there is any other way to change it. There certainly aren't any command line options to change it are there? Regards Mark
Paul Abrahams wrote:
In attempting yet again to install the latest NVIDIA drivers, I've run into a problem with unresolved symbols. According to the writeup, the kernel module has most likely been built using header files for a different kernel version than the one I'm using (stock 2.4.4). To fix that I need to provide the path to the kernel headers. But where are they? If I knew at least the name of the directory containing them or some of the files in that directory I could probably find the path by using "locate'.
Paul
If you are uning a vanilla 2.4.4 kernel then you must have compiled your own kernel. The kernel headers are in /usr/src/linux/include/linux. You should have a link from /usr/include/linux to the above.
ls -al /usr/include/linux lrwxrwxrwx 1 root root 28 May 7 14:05 /usr/include/linux -> /usr/src/linux/include/linux
If you are installing other than tarball you will have problems if /usr/src/linux is not a link to /usr/src/linux-2.4.4. If you are installing from the tarballs and your kernel source tree is not in /usr/src/linux you can modifiy the makefile to find the kernel headers even if not in /usr/src/linux/include/linux. It sounds to me like your /usr/src/linux is not pointing to /usr/src/linux-2.4.4. just make the link and you should be ok. Mark
participants (4)
-
Anders Dahlqvist
-
Marcello Leão
-
Mark Hounschell
-
Paul Abrahams