本文主要是介绍CentOS报错make: *** [fuzz-commit-graph.o] Error 1,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
目录
- 一、问题描述
- 二、解决方法
一、问题描述
CentOS 7 下执行 make profix=/usr/local/git 命令时报错:
[root@server-c00ef8c3-710d-4708-9cde-2c864e7c03e2 git-2.35.1]# make profix=/usr/local/gitCC fuzz-commit-graph.o
In file included from object-store.h:4:0,from commit-graph.h:5,from fuzz-commit-graph.c:1:
cache.h:21:18: fatal error: zlib.h: No such file or directory#include <zlib.h>^
compilation terminated.
make: *** [fuzz-commit-graph.o] Error 1
二、解决方法
安装 zlib-devel :
yum -y install zlib-devel
这篇关于CentOS报错make: *** [fuzz-commit-graph.o] Error 1的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!