计算机冲冲冲——修炼ARM11:解压u-boot源码包错误解决
在实验室研究了一段时间的裸板程序,放假回家了本来还想继续玩下去的,结果USB转串口线出问题了,不能在我的笔记本上玩裸板,只好先看看U-boot移植。
我的虚拟机环境是RedHat 5,昨天晚上尝试解压U-boot源码包的时候报如下错误:
tar: uboot1.1.6/include/asm-arm/arch: Cannot create symlink to `arch-s3c64xx': Operation not supported
tar: uboot1.1.6/include/asm-arm/proc: Cannot create symlink to `proc-armv': Operation not supported
tar: uboot1.1.6/include/regs.h: Cannot create symlink to `s3c6410.h': Operation not supported
tar: uboot1.1.6/include/asm: Cannot create symlink to `asm-arm': Operation not supported
tar: uboot1.1.6/tools/crc32.c: Cannot create symlink to `../lib_generic/crc32.c': Operation not supported
tar: uboot1.1.6/tools/environment.c: Cannot create symlink to `../common/environment.c': Operation not supported
tar: Exiting with failure status due to previous errors
我刚开始以为是权限问题,也不对啊,我用的是root。后来上网查过资料,原来解压U-boot源码包不能在共享文件夹下进行。因为宿主机的文件系统和虚拟机上的Linux文件系统不同,是不能创建上述的一些链接文件。
把源码包拷贝到Linux文件系统上一个地方,解压就解决问题了。