LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-04-2009, 09:21 AM   #1
naleen
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Rep: Reputation: 0
Kernel Compile error - make menuconfig


I am new to linux and to Ubuntu. For a University project i have to install a new kernel. Currently i am using Ubuntu and the kernel is '2.6.27-7-generic'. I tried to upgrade the kernel into 'linux-2.6.4'. I downloaded the kernel from kernel.org and extracted it into /usr/src. But when i try to run the command 'make menuconfig' i get the following error. Can someone pls help me to sort this out. Thanks a lot.

Code:
root@hasantha-laptop:/usr/src/linux-2.6.4# make menuconfig
make[1]: `scripts/fixdep' is up to date.
  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
scripts/kconfig/mconf.c: In function âexec_confâ:
scripts/kconfig/mconf.c:225: warning: ignoring return value of âpipeâ, declared with attribute warn_unused_result
scripts/kconfig/mconf.c: In function âshow_textboxâ:
scripts/kconfig/mconf.c:553: warning: ignoring return value of âwriteâ, declared with attribute warn_unused_result
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [menuconfig] Error 2
 
Old 03-04-2009, 09:26 AM   #2
tokico
Member
 
Registered: Jan 2009
Posts: 49

Rep: Reputation: 18
The kernel version you are trying to install is older than the one you have installed. I suppose that's why you can't compile the kernel. But i don't know...
 
Old 03-04-2009, 01:13 PM   #3
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Here is an easy to follow tutorial on how to compile a new kernel for Ubuntu:
http://www.howtoforge.com/roll_a_ker...ian_ubuntu_way
Also see this:
https://help.ubuntu.com/community/Kernel/Compile
Keep in mind that the Ubuntu kernel has a lot of patches that are added by the Ubuntu developers.
 
  


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
I get this error when trying to compile a custome kernel on make menuconfig golpemortal Fedora 1 12-23-2006 07:07 AM
Error during make menuconfig in kernel 2.6.8 Nitin Jerath Linux - General 3 05-23-2006 06:52 AM
linux-2.6.16 compile error - while make menuconfig ibvinoj Linux - General 2 04-17-2006 11:32 PM
linux-2.6.16 compile error - while make menuconfig ibvinoj Debian 0 04-16-2006 06:48 AM
Kernel Compile Menuconfig Error Xian Debian 6 09-06-2005 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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