LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-13-2006, 02:41 PM   #1
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
Kernel make error.


I am running Slackware 10.2, kernel 2.6.15.6, and I am trying to compile my kernel. When I try to run "make menuconfig" or "make config", I get this error. root@Sagasto:/usr/src/linux# make menuconfig
.config:966: *** missing separator. Stop.
make: *** [scripts_basic] Error 2
root@Sagasto:/usr/src/linux#
Here is what that section of the make file looks like. I numbered the lines myself.

962# Modules not configured
963# ---------------------------------------------------------------------------

modules modules_install: FORCE
966 @echo
@echo "The present kernel configuration has modules disabled."
@echo "Type 'make config' and enable loadable module support."
@echo "Then build a kernel with module support enabled."
@echo
@exit 1

endif # CONFIG_MODULES

Any Ideas? Thank you.
 
Old 04-13-2006, 04:36 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
The .config file should only consist of remarks (# ....) and "CONFIG_foo_bar=value", so you seem to have messed up yours.
Try to regenerate a config file from your current kernel with `zcat /proc/config.gz > newconfig` and start with that one again.
 
Old 04-13-2006, 04:38 PM   #3
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Original Poster
Rep: Reputation: 30
Thanks, I figured out what happened. I had tried to edit it manually, and later forgot! Thanks for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
kernel make error edgjerp Linux - Software 0 03-15-2006 10:49 AM
Kernel 2.4.31 make menuconfig error technician Slackware 4 07-21-2005 10:11 PM
make bzImage - error with kernel 2.4.26 2mk-master Linux - Newbie 2 03-02-2005 03:28 PM
kernel 2.6.1 make error _mu_ Slackware 3 02-03-2004 10:33 PM
error during make install with kernel 2.4.23 Bruce Hill Slackware 9 12-26-2003 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration