|
求助:rk3328-roc-cc内核编译错误
发表于 2018-1-22 19:39:28
浏览:6997
|
回复:2
打印
只看该作者
[复制链接]
楼主
我按照官网所示操作步骤编译linux内核,提示以下错误:
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/empty.o
aarch64-linux-gnu-gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
compilation terminated.
scripts/Makefile.build:258: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 1
scripts/Makefile.build:403: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:574: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** 正在等待未完成的任务....
MAKE KERNEL IMAGE FAILED.
请大神指点一下如何解决,谢谢! |
|