请教TI的dvsdk_2_00_00_22源码的编译(DM6446)
时间:10-02
整理:3721RD
点击:
我在编译时遇到一些奇怪问题,请过来人帮帮忙。
1. 开始提示,如下错误
在dvsdk_2_00_00_22直接敲入 make 命令时,出现的错误:
ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
2. 我按照上面提示的办法,到linux-2.6.18_pro500目录下,运行“sudo make oldconfig”和“sudo make prepare"
运行make oldconfig会出现一堆显示信息,但是没报错。但是运行“make prepare"时,出现如下错误:
make: arm_v5t_le-gcc: Command not found
CHK include/linux/version.h
SYMLINK include/asm-arm/arch -> include/asm-arm/arch-versatile
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CC arch/arm/kernel/asm-offsets.s
/bin/sh: arm_v5t_le-gcc: not found
现在问题是,我明明在环境变量里包含了arm_v5t_le-gcc啊,但是为什么总是提示找不到呢。
我直接在终端敲入:arm_v5t_le-gcc,则提示如下信息:arm_v5t_le-gcc: no input files
这个提示说明arm_v5t_le-gcc应该可以找到的啊。
请过来人帮我看看,哪里出了问题,谢谢!
1. 开始提示,如下错误
在dvsdk_2_00_00_22直接敲入 make 命令时,出现的错误:
ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
2. 我按照上面提示的办法,到linux-2.6.18_pro500目录下,运行“sudo make oldconfig”和“sudo make prepare"
运行make oldconfig会出现一堆显示信息,但是没报错。但是运行“make prepare"时,出现如下错误:
make: arm_v5t_le-gcc: Command not found
CHK include/linux/version.h
SYMLINK include/asm-arm/arch -> include/asm-arm/arch-versatile
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CC arch/arm/kernel/asm-offsets.s
/bin/sh: arm_v5t_le-gcc: not found
现在问题是,我明明在环境变量里包含了arm_v5t_le-gcc啊,但是为什么总是提示找不到呢。
我直接在终端敲入:arm_v5t_le-gcc,则提示如下信息:arm_v5t_le-gcc: no input files
这个提示说明arm_v5t_le-gcc应该可以找到的啊。
请过来人帮我看看,哪里出了问题,谢谢!