LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2006, 09:21 AM   #1
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
make menuconfig fails


Hello!!

I do have some experience with building bsd/and linux kernels. Most of my linux experience comes from gentoo.

Normally, when i want to build a kernel i simply download the source from the distro:

cd /usr/src/linux
make menuconfig
# make changes
make
make install_modules

and then edit grub for the new kernel.

However, im trying to build a kernel in fedora5. I have downloaded the kernel from kernel.org. unpacked the kernel and cd /usr/src/linux (which is a sym link to /usr/src/linux-2.6.18).

Now, when i try to make menuconfig i'm getting errors.

Code:
/usr/src/linux # make menuconfig
builds a few then
scripts/kconfig/lsdialog/checklist.c:214: error: 'KEY_UP' undeclared (first use in this function)
# and a lot more like the above
make[2]: *** [script/kconfig/lsdialog/checklist.o] Error 1
make[1]: *** [menuconfig] error 2
Is there something im forgetting to do? thanks

Note im also having the same trouble if i try to build the fedora5 srcrpm.

is this because im using gcc 4.1?

thanks

Last edited by Fredstar; 10-07-2006 at 09:38 AM.
 
Old 10-07-2006, 12:51 PM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Are you building as root or user? Try both.
Assuming your system is setup properly for GCC 4.1 then that shouldn't be an issue.
 
Old 10-07-2006, 01:11 PM   #3
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Re: Make menuconfig fails

Make sure you have the kernel-devel rpm installed.
 
Old 10-07-2006, 01:17 PM   #4
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
Yes and yes, i have tried both as root and non root. Also kernel-devel is installed? I dont have an X server on this system and really dont want to. any other hints?

thanks
 
Old 10-07-2006, 03:05 PM   #5
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Fredstar
Yes and yes, i have tried both as root and non root. Also kernel-devel is installed? I dont have an X server on this system and really dont want to. any other hints?

thanks
Is there something else i need to install? something im missing? some headers?

I'm at a loss as of now!!
 
  


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
make menuconfig fails pafrica Linux - Software 10 02-05-2006 11:56 PM
make: *** No rule to make target 'menuconfig' yussef Debian 10 12-22-2005 09:23 AM
make: *** No rule to make target `menuconfig' Ezzy Linux - Newbie 3 04-21-2005 09:21 AM
make xconfig/make menuconfig don't work acidblue Debian 2 07-27-2004 07:36 AM
menuconfig fails to function properly in kernel 2.6.4 csvke Linux - Software 7 03-23-2004 07:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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