QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: cnhnln

编译内核时/usr/include下的asm、linux、s

[复制链接]
发表于 2003-5-4 07:21:56 | 显示全部楼层
ln -s linux-2.4.20 linux. then u have it.
need make bzImage, not bzImg
回复

使用道具 举报

 楼主| 发表于 2003-5-4 11:08:30 | 显示全部楼层
[quote:5d0672f141="cheungming"]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[/quote]
http://www.neweasier.com/article/2002-08-04/1028404364.html (我看的那一篇和这个一样)
http://thunder.prohosting.com/~linuxlib/books/LinuxFAQ/common-compile-kernel.html
google上还能搜索到很多类似的
回复

使用道具 举报

发表于 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.
回复

使用道具 举报

发表于 2003-5-4 12:31:29 | 显示全部楼层
我们所说的linux就是指的linux-***,简写了而已,因为linux内核版本很多,就统一用linux代替。

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

使用道具 举报

发表于 2003-5-6 16:14:03 | 显示全部楼层
我遇到这个问题不知道怎么回事,
[root@Lin linux]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: 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[1]: Leaving directory `/usr/src/linux-2.4.20/scripts'
wish -f scripts/kconfig.tk
make: wish: Command not found
make: *** [xconfig] Error 127
该怎么解决
回复

使用道具 举报

发表于 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???
回复

使用道具 举报

发表于 2003-5-6 22:50:36 | 显示全部楼层
i have this wish. try to use make menuconfig instead
回复

使用道具 举报

 楼主| 发表于 2003-5-6 23:58:50 | 显示全部楼层
[quote:af14a0a983="linjiang_82"]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???[/quote]

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

使用道具 举报

发表于 2003-5-7 01:20:12 | 显示全部楼层
funny. maybe that is for old 2.2 kenrel ? anyway, i never link them
回复

使用道具 举报

发表于 2003-5-7 12:01:43 | 显示全部楼层
thanks,but  i make menuconfig ,still exsit this problem.
and  whether i  link 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.
回复

使用道具 举报

发表于 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'
回复

使用道具 举报

发表于 2003-5-7 20:47:31 | 显示全部楼层
yeah, i've found the reason ,it just like you said i lack of some packages
thx
回复

使用道具 举报

发表于 2003-5-7 21:11:35 | 显示全部楼层
u need ncurse for that. so the most simple and trouble way is to do make config.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-18 11:53 , Processed in 0.111182 second(s), 13 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表