LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1051|回复: 1

make dep出现错误

[复制链接]
发表于 2006-11-20 22:55:07 | 显示全部楼层 |阅读模式
在编译uclinux时出现如下错误
[root@localhost uClinux-dist]# make dep
make ARCH=m68knommu CROSS_COMPILE=m68k-elf- -C linux-2.4.x dep
make[1]: Entering directory `/usr/local/Embeded/uClinux-dist/linux-2.4.x'
rm -f .depend .hdepend
make _sfdep_arch/m68knommu/kernel _sfdep_arch/m68knommu/mm _sfdep_arch/m68knommu/lib _sfdep_arch/m68knommu/platform/5307 _sfdep_kernel _sfdep_drivers _sfdep_mmnommu _sfdep_fs _sfdep_net _sfdep_ipc _sfdep_lib _sfdep_crypto _FASTDEP_ALL_SUB_DIRS="arch/m68knommu/kernel arch/m68knommu/mm arch/m68knommu/lib arch/m68knommu/platform/5307 kernel drivers mmnommu fs net ipc lib crypto"
make[2]: Entering directory `/usr/local/Embeded/uClinux-dist/linux-2.4.x'
make -C arch/m68knommu/kernel fastdep
make[3]: Entering directory `/usr/local/Embeded/uClinux-dist/linux-2.4.x/arch/m68knommu/kernel'
/usr/local/Embeded/uClinux-dist/linux-2.4.x/scripts/mkdep -fno-builtin -nostdinc -D__KERNEL__ -I/usr/local/Embeded/uClinux-dist/linux-2.4.x/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O1 -g -fno-strict-aliasing -fno-common -I/include -pipe -DNO_MM -DNO_FPU -m5307 -Wa,-S -Wa,-m5307 -D__ELF__ -DMAGIC_ROM_PTR -DUTS_SYSNAME=\"uClinux\" -D__linux__  -nostdinc -iwithprefix include -- bios32.c console.c m68k_defs.c m68k_ksyms.c process.c ptrace.c semaphore.c setup.c sys_m68k.c time.c traps.c > .depend
realpath(/include) failed, No such file or directory
make[3]: *** [fastdep] 错误 1
make[3]: Leaving directory `/usr/local/Embeded/uClinux-dist/linux-2.4.x/arch/m68knommu/kernel'
make[2]: *** [_sfdep_arch/m68knommu/kernel] 错误 2
make[2]: Leaving directory `/usr/local/Embeded/uClinux-dist/linux-2.4.x'
make[1]: *** [dep-files] 错误 2
make[1]: Leaving directory `/usr/local/Embeded/uClinux-dist/linux-2.4.x'
make: *** [dep] 错误 2
 楼主| 发表于 2006-11-22 19:33:12 | 显示全部楼层
搞定了
终于成功编译了uclinux
回复 支持 反对

使用道具 举报

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

本版积分规则

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