Dragonfly 发表于 2003-5-4 07:21:56

ln -s linux-2.4.20 linux. then u have it.
need make bzImage, not bzImg

cnhnln 发表于 2003-5-4 11:08:30

cnhnln, can u tell us where u find the claim u referenced, i never do that and never have problem. so i really want to know why.
thx
http://www.neweasier.com/article/2002-08-04/1028404364.html (我看的那一篇和这个一样)
http://thunder.prohosting.com/~linuxlib/books/LinuxFAQ/common-compile-kernel.html
google上还能搜索到很多类似的

Dragonfly 发表于 2003-5-4 11:27:18

ic, thx. but the document in linux how to and documentation mention nothing about this. i wll check more doc to see why.

hit007 发表于 2003-5-4 12:31:29

我们所说的linux就是指的linux-***,简写了而已,因为linux内核版本很多,就统一用linux代替。

你可以做一个linux符号连接也可以,这样你的linux就指向linux-***.***是你的特定版本号:
ln -s linux linux-***

linjiang_82 发表于 2003-5-6 16:14:03

我遇到这个问题不知道怎么回事,
# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make: Entering directory `/usr/src/linux-2.4.20/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.cgcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkcond.o tkcond.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkgen.o tkgen.c
gcc -o tkparse tkparse.o tkcond.o tkgen.o
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: Leaving directory `/usr/src/linux-2.4.20/scripts'
wish -f scripts/kconfig.tk
make: wish: Command not found
make: *** Error 127
该怎么解决

linjiang_82 发表于 2003-5-6 22:18:58

i don't understand fully,which files should i link,i have linked some files like scsi,linux and asm
the problem shows that 'wish' command not found ,does there exsit this command in your linux???

Dragonfly 发表于 2003-5-6 22:50:36

i have this wish. try to use make menuconfig instead

cnhnln 发表于 2003-5-6 23:58:50

i don't understand fully,which files should i link,i have linked some files like scsi,linux and asm
the problem shows that 'wish' command not found ,does there exsit this command in your linux???

我不连接scsi,linux and asm着几个目录编译一切正常。但是只要连接了这3个目录编译就出错:?所以我就不做这一步了

Dragonfly 发表于 2003-5-7 01:20:12

funny. maybe that is for old 2.2 kenrel ? anyway, i never link them

linjiang_82 发表于 2003-5-7 12:01:43

thanks,buti make menuconfig ,still exsit this problem.
andwhether ilink those directory or not,there still exist this problem,
now i want to know which rpm should i install that will produce the wish command.

linjiang_82 发表于 2003-5-7 12:29:35

sorry,i've made a mistake
when i make menuconfig,the mistake is as following:
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status

>> Unable to find the Ncurses libraries.
>>
>> You must have Ncurses installed in order
>> to use 'make menuconfig'

linjiang_82 发表于 2003-5-7 20:47:31

yeah, i've found the reason ,it just like you said i lack of some packages
thx

Dragonfly 发表于 2003-5-7 21:11:35

u need ncurse for that. so the most simple and trouble way is to do make config.
页: 1 [2]
查看完整版本: 编译内核时/usr/include下的asm、linux、s