LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-11-2009, 01:00 PM   #1
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 637

Rep: Reputation: 32
Question Getting error while tryin to compile kernel


I am trying to compile a kernel abd I am gettign the folowing error when I envoke make menuconfig (or make):

[root@localhost linux]# make menuconfig
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
[root@localhost linux]#

Any ideas on what i need to do?
 
Old 01-11-2009, 03:26 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
AFAIK this has something to do with the gcc version
use gcc-3.3 for compiling... 4.0 is... restrictive/buggy.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error tryin to install jar Executable khalil_noura Linux - Newbie 1 12-15-2008 02:13 PM
Tryin to load wrong kernel PeteWieland SUSE / openSUSE 1 04-12-2008 03:50 AM
2.6.14 kernel compile error, slzckboy Slackware 18 11-25-2005 11:31 AM
error tryin to dl rpmdrake juke Mandriva 0 03-08-2004 07:58 PM
Tryin' to install debian thru Knoppix but kernel panic Kgi Debian 1 10-14-2003 04:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:37 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