编译内核出现ln: creating symbolic link `include/asm' to `asm-arm': Operation not supported

今天在编译内核的时候出现了这样的错误:(2.6.30.4)

make: Warning: File `include/config/auto.conf.cmd' has modification time 3.5e+02 s in the future
  CHK     include/linux/version.h
make[1]: Warning: File `include/config/auto.conf' has modification time 3.6e+02 s in the future
make[1]: `include/asm-arm/mach-types.h' is up to date.
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
ln: creating symbolic link `include/asm' to `asm-arm': Operation not supported
make: *** [include/asm] Error 1

在网上查找原因得:

出现这类问题,主要是由于在编译的时候,要用ln去建立一些软链接,
而这些文件是从Windows中,通过VMWare虚拟机共享进Linux的,
而虽然此种操作在Linux系统中很常见,但Windows不支持,所以,
编译会报错。

解决问题的方法很多

我是把内核文件夹拷贝到了linux的/home/***目录下,我是把内核压缩包直接从windows拖到VM里面的,

之后再解压缩就可以了

tar -zjvxf linux-2.6.12-090915.tar

进到linux-2.6.12目录下就可以make zImage了

也可以用samba,感觉很麻烦!

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值