natinusala / linux-amlogic-toolkit

Allows to unpack and repack AMLogic images for Android 7 without the Customization Tool
173 stars 62 forks source link

关于部署失败的问题在虚拟机中 #1

Closed user1121114685 closed 6 years ago

user1121114685 commented 6 years ago

pifu@pifu-Virtual-Machine:~/linux-amlogic-toolkit$ ./bin/build umount: output/system: not mounted make: Entering directory '/home/pifu/linux-amlogic-toolkit/bin/src/simg2img' rm -f -f .o .a simg2img simg2simg img2simg append2simg .depend make: Leaving directory '/home/pifu/linux-amlogic-toolkit/bin/src/simg2img' Cleanup done make: Entering directory '/home/pifu/linux-amlogic-toolkit/bin/src/simg2img' cc -c -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude backed_block.c -o backed_block.o cc -c -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude output_file.c -o output_file.o output_file.c:30:18: fatal error: zlib.h: 没有那个文件或目录 compilation terminated. Makefile:95: recipe for target 'output_file.o' failed make: *** [output_file.o] Error 1 make: Leaving directory '/home/pifu/linux-amlogic-toolkit/bin/src/simg2img' cp: 无法获取'bin/src/simg2img/simg2img' 的文件状态(stat): 没有那个文件或目录 cp: 无法获取'bin/src/simg2img/img2simg' 的文件状态(stat): 没有那个文件或目录 Build done

zlib.h 是不是被修改了或者精简了,麻烦开发者看看感激!

user1121114685 commented 6 years ago

sudo apt-get install zlib1g.dev

输入这个就行了....