Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > The Linux Kernel
Reload this Page "make menuconfig" problem?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Linux Kernel Compiling, theory, programming or other discussion about the linux kernel

Reply
 
Thread Tools Display Modes
Old 05-17-2008   #1 (permalink)
Just Joined!
 
Join Date: May 2008
Posts: 9
"make menuconfig" problem?

I hope to compile kernel (linux-2.6. under SUSE Linux 10.1
Code:
make menuconfig
But the error occured as follows:
Code:
  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: *** [menuconfig] Error 2
Anyone can tell me why? and how can I using "make menuconfig" and compile the kernel?

Thanks!
jlam is offline   Reply With Quote
Old 05-17-2008   #2 (permalink)
Linux Newbie
 
dxqcanada's Avatar
 
Join Date: Sep 2006
Posts: 132
Did you install all the required packages for kernel development ?
__________________

Men occasionally stumble over the truth,
but most of them pick themselves up
and hurry off as if nothing had happened.

Winston Churchill


... then the Unix-Gods created "man" ...
dxqcanada is offline   Reply With Quote
Old 05-17-2008   #3 (permalink)
Just Joined!
 
Join Date: May 2008
Posts: 9
I have already install all the packages for kernel development.

When I use "make menuconfig" to make the kernel of SUSE Linux 10.1, there is no problem.
But I make the kernel (linux-2.6., the problem occur.
jlam is offline   Reply With Quote
Old 05-17-2008   #4 (permalink)
Linux Newbie
 
dxqcanada's Avatar
 
Join Date: Sep 2006
Posts: 132
What kernel are you compiling ?

Could be problem with your kernel headers ... did you update that also ?
__________________

Men occasionally stumble over the truth,
but most of them pick themselves up
and hurry off as if nothing had happened.

Winston Churchill


... then the Unix-Gods created "man" ...
dxqcanada is offline   Reply With Quote
Old 05-17-2008   #5 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Cowtown, Texas
Posts: 2,361
I saw a similar thread on another forum awhile back, these guys were discussing the same problem and thought that it might be related to the header files, he upgraded to a newer kernel and header files then everything worked just Dandy after that.
__________________
All new Users please read: FAQ
MikeTbob is offline   Reply With Quote
Old 05-17-2008   #6 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,158
Quote:
Originally Posted by jlam View Post
I hope to compile kernel (linux-2.6. under SUSE Linux 10.1
Code:
make menuconfig
But the error occured as follows:
Code:
  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: *** [menuconfig] Error 2
Anyone can tell me why? and how can I using "make menuconfig" and compile the kernel?

Thanks!
Are you using custom patches or something? And, why do you want to use 2.6.8? It's quite old. Try a newer kernel.

Quote:
Originally Posted by dxqcanada View Post
What kernel are you compiling ?

Could be problem with your kernel headers ... did you update that also ?
No. The kernel headers package is what user land programs use when they need to know something about the kernel (at least that's the intended way, and what it should be).

The kernel has it's own headers and don't need a external package to get them. That is, ... unless the SuSE packages are sooo weird.
i92guboj is offline   Reply With Quote
Old 05-18-2008   #7 (permalink)
Just Joined!
 
Join Date: Mar 2008
Location: Hyderabad
Posts: 88
Open SUSE 10.1 has a kernel version 2.6.16 i guess, an a new gcc compiler.
2.6.0 is very old version,
New kernels fix various bugs of the older on's so whenever you will compile an old kernel with a better gcc errors will be there.
As suggested by many of the member above go for a new kernel and greater than what you are running will be a better option
digvijay.gahlot is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 12:18 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0