LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with kernel configuring (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-kernel-configuring-633111/)

chakribobby 04-04-2008 04:43 PM

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

pljvaldez 04-04-2008 04:48 PM

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.

syg00 04-04-2008 06:42 PM

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.

chakribobby 04-04-2008 07:22 PM

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$


All times are GMT -5. The time now is 06:00 PM.