LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   kernel configuration - how to? (https://www.linuxquestions.org/questions/slackware-14/kernel-configuration-how-to-189578/)

tomcat22 06-04-2004 04:13 AM

kernel configuration - how to?
 
hi there,

i'm using slackware 9.1 and i want to edit the following lines in kernel-config, but i dont know how... make menuconfig does not work (no rule to make target "menuconfig"). what will be the best way to include these lines?

CONFIG_SOUND=y
CONFIG_SOUND_OSS=y
CONFIG_SOUND_DMAP=y // (I had no problems without this option)
CONFIG_SOUND_SB=y // 100% SB compatible

thx, tom

DiWi 06-04-2004 04:25 AM

Hi tom

In order to use menuconfig you need the ncurses-devel package installed.
Than change to the linux-kernel source directory (e.g. /usr/src/linux-2.6.6) and do a make menuconfig . Alternatives are make xconfig make kconfig or a simple text front end make config. For all options try make help

Good luck ;)
Dirk

tomcat22 06-04-2004 04:45 AM

hi dirk,

thanx for quick reply, but also xconfig and kconfig will need ncurses-devel i think. the problem is, that there is almost no space left on harddisk for this package. isn't there any file i simply can edit?

tom

DiWi 06-04-2004 05:33 AM

try make config instead

have fun ;)

Dirk

tomcat22 06-04-2004 05:51 AM

i did, but same error-message appears... any other ideas? i never did something like that before... :(

tom

DiWi 06-04-2004 06:07 AM

which error message? make no rule to make target .... found

if so:
- are you in the correct directory. You can start make from the source root directory. The file Makefile should be rw for the current user. Under SuSE the kernel sources can be found under /usr/src/linux-2.x.xx

- did you install the whole kernel sources? No, first download the package (~30 to 40 MB)

Dirk

tomcat22 06-04-2004 06:32 AM

hi dirk,

i was in root-directoy (suse is a little different from common linux-distries), i was root, but i think the problem are the missing kernel sources. because i am working with an embedded-pc, harddisk is pretty small (512 mb) and there are only 20 mb left. isn't there any other possibility? i guess i was already on kernel-configuration mode some time ago, but i don't know how i got there. (possibly while installation?!)

tom

DiWi 06-04-2004 07:09 AM

Hi tom
Last resort: cross compile ;-) Compile it on another PC

Dirk

gargamel 06-04-2004 07:59 AM

ROCK Linux has scripts and a configuration and build system for just that: Cross-Build.
Both the scripts and the configuration system can be used on non-ROCK systems, certainly on Slackware. The download for the tools is less then 2 MB.

http://www.rocklinux.org

gargamel


All times are GMT -5. The time now is 08:09 AM.