LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-04-2004, 04:13 AM   #1
tomcat22
LQ Newbie
 
Registered: May 2004
Location: Germany
Distribution: slackware 9.1
Posts: 19

Rep: Reputation: 0
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
 
Old 06-04-2004, 04:25 AM   #2
DiWi
Member
 
Registered: Jun 2004
Location: Frankfurt/M Germany
Distribution: SuSE 9.3/10.2/10.3
Posts: 64

Rep: Reputation: 16
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
 
Old 06-04-2004, 04:45 AM   #3
tomcat22
LQ Newbie
 
Registered: May 2004
Location: Germany
Distribution: slackware 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 06-04-2004, 05:33 AM   #4
DiWi
Member
 
Registered: Jun 2004
Location: Frankfurt/M Germany
Distribution: SuSE 9.3/10.2/10.3
Posts: 64

Rep: Reputation: 16
try make config instead

have fun

Dirk
 
Old 06-04-2004, 05:51 AM   #5
tomcat22
LQ Newbie
 
Registered: May 2004
Location: Germany
Distribution: slackware 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
i did, but same error-message appears... any other ideas? i never did something like that before...

tom
 
Old 06-04-2004, 06:07 AM   #6
DiWi
Member
 
Registered: Jun 2004
Location: Frankfurt/M Germany
Distribution: SuSE 9.3/10.2/10.3
Posts: 64

Rep: Reputation: 16
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
 
Old 06-04-2004, 06:32 AM   #7
tomcat22
LQ Newbie
 
Registered: May 2004
Location: Germany
Distribution: slackware 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 06-04-2004, 07:09 AM   #8
DiWi
Member
 
Registered: Jun 2004
Location: Frankfurt/M Germany
Distribution: SuSE 9.3/10.2/10.3
Posts: 64

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

Dirk
 
Old 06-04-2004, 07:59 AM   #9
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using an old configuration for a new kernel mushmaster Linux - Software 2 02-16-2005 01:07 AM
New FAQ topic: Should I edit my kernel configuration?/Should I build a custom kernel? chort *BSD 10 09-10-2004 11:15 PM
Kernel Configuration berti Debian 2 02-08-2004 11:34 AM
kernel configuration hotrodowner Linux - Software 2 02-19-2003 09:04 AM
kernel configuration Syncrm Linux - General 2 03-07-2002 06:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration