LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-04-2008, 05:43 PM   #1
chakribobby
Member
 
Registered: Jan 2007
Posts: 49

Rep: Reputation: 15
problem with kernel configuring


hi
my system is instlled with Ubuntu 7.10 \n \l
i have downloaded the kernel 2.4.19 for kernel.org
after that i tried to configure the kernel
i got this error message
chakri@chakri-laptop:~/chakri/my-first-kernel/linux-2.4.19$ make xconfig ARCH=um
Makefile:252: arch/um/Makefile: No such file or directory
make: *** No rule to make target `arch/um/Makefile'. Stop.


chakri@chakri-laptop:~/chakri/my-first-kernel/linux-2.4.19$ make ARCH=um menuconfig
Makefile:252: arch/um/Makefile: No such file or directory
make: *** No rule to make target `arch/um/Makefile'. Stop.

can any one help me
thanks and regards
 
Old 04-04-2008, 05:48 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Try plain old make xconfig and then set the architecture when you go through the config.

Any particular reason you're using such an old kernel. I think the latest kernel is something like 2.6.24.
 
Old 04-04-2008, 07:42 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,063

Rep: Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918
You following a tutorial maybe ???. If so, get a newer one that describes 2.6 kernels. If you need 2.4 specifically, stay with what you have already.
Also try and get a Ubuntu specific one - their build procedure is quite different to a "vanilla" kernel. Using their (debian derived) tools would make the most sense to get it working, but won't necessarily be what you want to do.
Ubuntu also don't ship the compiler tools you'll need by default - I think you'll need to go get build-essentials and the headers for your (current) kernel.
 
Old 04-04-2008, 08:22 PM   #4
chakribobby
Member
 
Registered: Jan 2007
Posts: 49

Original Poster
Rep: Reputation: 15
thanks for your reply

now i am getting this error message

chakri@chakri-laptop:~/chakri/my-first-kernel/linux-2.4.19$ make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/home/chakri/chakri/my-first-kernel/linux-2.4.19/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
echo "set ARCH \"i386\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/home/chakri/chakri/my-first-kernel/linux-2.4.19/scripts'
wish -f scripts/kconfig.tk
make: wish: Command not found
make: *** [xconfig] Error 127
chakri@chakri-laptop:~/chakri/my-first-kernel/linux-2.4.19$ man wish
No manual entry for wish
chakri@chakri-laptop:~/chakri/my-first-kernel/linux-2.4.19$

Last edited by chakribobby; 04-04-2008 at 08:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problem while bootimg : 'Configuring Kernel Parameters [OK]' nagesh_sonone Red Hat 5 06-22-2007 03:40 PM
Problem with Configuring Guest -- Kernel panic - not syncing darshanbv Linux - Software 0 06-16-2006 12:52 AM
kernel configuring problem greklas Slackware 1 09-06-2004 10:44 AM
Problem of RedHat 9 kernel configuring to set CONFIG_PACKET=y ef1029 Linux - Networking 3 04-06-2004 10:17 PM
Configuring or not the Kernel mariomason Linux - Newbie 3 12-21-2000 12:48 AM


All times are GMT -5. The time now is 10:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration