linux内核编译出错
Makefile:527: recipe for target 'scripts' failedmake: *** Error 2
CC scripts/mod/empty.o
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../libexec/gcc/arm-fsl-linux-gnueabi/4.6.2/cc1: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
scripts/Makefile.build:308: recipe for target 'scripts/mod/empty.o' failed
make: *** Error 1
scripts/Makefile.build:455: recipe for target 'scripts/mod' failed
make: *** Error 2
Makefile:527: recipe for target 'scripts' failed
make: *** Error 2
直接按照手册里面搭建的编译环境,然后将资料里面的源码解压后编译出错
请问那个高人能帮忙指导一下
你可以尝试使用飞凌提供的标准环境。链接:https://pan.baidu.com/s/1hr9PA3i 密码:m6x8
用这个环境如果编译还有问题 那有可能是源码问题
版主,我在使用setup_env,sh搭建编译环境时,系统提示
./setup_env.sh: line 24: syntax error: unexpected end of file
我使用的是Ubuntu16.04 64bit版本
gdwy_yyb 发表于 2018-2-7 22:16
版主,我在使用setup_env,sh搭建编译环境时,系统提示
./setup_env.sh: line 24: syntax error: unexpecte ...
这个提示不影响正常使用,但不建议用这个版本的Ubuntu,版本高可能导致库不兼容,建议用和飞凌一致的版本。
页:
[1]