LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel make error. (https://www.linuxquestions.org/questions/linux-software-2/kernel-make-error-434889/)

njbrain 04-13-2006 02:41 PM

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.

uselpa 04-13-2006 04:36 PM

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.

njbrain 04-13-2006 04:38 PM

Thanks, I figured out what happened. I had tried to edit it manually, and later forgot! Thanks for the help.


All times are GMT -5. The time now is 11:16 AM.