happyfish100 / fastdfs

FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. Wechat/Weixin public account (Chinese Language): fastdfs
GNU General Public License v3.0
9.02k stars 1.99k forks source link

error: ‘O_NOATIME’ undeclared (first use in this function) #728

Open star-blink opened 1 day ago

star-blink commented 1 day ago

6.07执行./make.sh && ./make.sh install 编译时报错 tracker_service.c: In function ‘tracker_service_init’: tracker_service.c:139:18: error: ‘O_NOATIME’ undeclared (first use in this function) 139 | O_NONBLOCK | O_NOATIME)) != 0)

./make.sh:行152: perl: 未找到命令 ./make.sh:行153: perl: 未找到命令 ./make.sh:行154: perl: 未找到命令 ./make.sh:行120: perl: 未找到命令 ./make.sh:行121: perl: 未找到命令 ./make.sh:行122: perl: 未找到命令 ./make.sh:行123: perl: 未找到命令 ./make.sh:行124: perl: 未找到命令 mkdir -p /bin mkdir -p mkdir: 缺少操作数

系统版本 CentOS Linux release 7.9.2009 (Core) NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.9.2009 (Core) CentOS Linux release 7.9.2009 (Core)

happyfish100 commented 1 day ago
  1. 安装perl
  2. 使用fastdfs版本太低,请使用最新版本的fastdfs