LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-04-2008, 07:53 AM   #1
clonas
LQ Newbie
 
Registered: Aug 2008
Posts: 11

Rep: Reputation: 0
Kernel 2.6.5 compiling mconf and xconfig errors


I have installed slackware 12.1 and module-init-tools-3.4 (in usr/local/bin). Then I try to install linux kernel 2.6.5 I get this :
# cd /usr/src/linux
# /usr/src/linux# make xconfig
HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: error: static declaration of 'current_menu' follows non-static declaration
scripts/kconfig/lkc.h:63: error: previous declaration of 'current_menu' was here
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [xconfig] Error 2

What should I change ?
 
Old 08-06-2008, 02:58 AM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Try to do it as mentioned here: edit the file "package/config/mconf.c" and change "static struct menu *current_menu;" to "struct menu *current_menu;"

Eventually change kernel version and/or gcc and/or glib.
 
  


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
Newbie needs a 'how-to' guide to menuconfig/xconfig for compiling slim kernel chaz_bro1972 Linux - Kernel 12 05-26-2008 11:37 PM
kernel compiling problem with menuconfig and xconfig option lbdgwgt SUSE / openSUSE 5 10-10-2006 11:12 AM
Errors from 'make xconfig' with kernel 2.6.7 Khang Linux - General 7 08-12-2004 11:01 PM
Kernel Compile Problem / xconfig / QT ERRORS muzicman82 Linux - General 1 02-18-2004 03:41 PM
compiling kernel, option xconfig j-charles Linux - General 3 12-06-2002 05:40 AM

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

All times are GMT -5. The time now is 05:06 AM.

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