Dragonfly 发表于 2003-4-29 10:53:28

cheungming, 我又作了一遍,还是出错!但我发现,no rule to make target的原因好像是cross2.95.3/bin下的arm-linux-ld和arm-linux-nm大小为0byte所致。请问:
1、linux原码是否可释放在/usr/src
2、我做make dep时仍报错,我自己在/include/asm-arm/arch-arm下改写了一个param.h,你做make dep 时有无报错
3、我用的cross-2.95.3是从handhelds.org上下的,后又下了一个2003年的arm-linux-gcc3.2.3,编译还报错,你的arm-linux-gcc2.95.3是从那里下的
4、Makefile中关于cross_compile的路径你是如何设定的
谢谢!!!!!!!!!!!!!!!!!!!!

1) u can put under /usr/src. but why u want to put there. u will get confused with this after some times. so why not put under u work directory?
2) i have no error in make dep
3) u can download from ftp://ftp.arm.linux.org.uk/pub/armlinux/toolchain/
4) since arm-linux-gcc in my patch, i set to arm-linux- only. u can add that bin to u path.

i will check it tomorrow.

xinlan104 发表于 2003-5-1 08:12:14

cheungming, 谢谢你的帮助,我想我现在知道是哪的错了,我的cross2.95.3以前一直都是在windows下解开后再mount到linux的目录下的,我现在在linux下直接解压,用bzip2 -dc cross2.95.3.tar.bz2,却全是乱码,什么也不出来,请问这是何原因?

Dragonfly 发表于 2003-5-1 08:46:46

u can use the bzip2 -t to check the *bz2 u downloaded.
u need not the -c option. -d is enough, bunzip2 is simpler.

xinlan104 发表于 2003-5-1 09:51:09

cheungming,:-) 多谢,我刚才先用bzip2 -d 去掉了.bz2后缀,又用 tar -vxf 将包解开了,再后来,各步就都对了,可以生成 zImage了。非常感谢你一直以来的帮助!

Dragonfly 发表于 2003-5-1 11:19:39

u are welcome. at least u let me know that the cross compiler uncompressed under fat is unusable. i guess there are some symbol link errors. if u can, u can try to uncompress under windows again and see if there are any warning.
页: 1 [2]
查看完整版本: help!!!如何解决no rule to make tar