欢迎来到云服务器

Directadmin Linux面板

编译vm-pop3d时:error:`UINT16_MAX'未声明(首次在此函数中使用)

编译vm-pop3d:(在Linux上使用--prefix = / usr)

wget http://files.directadmin.com/services/da_vm-pop3d-1.1.7f.tar.gz
tar xvzf da_vm-pop3d-1.1.7f.tar.gz
cd da_vm-pop3d-1.1.7f
./configure --prefix=/usr/local
make
make  install

如果是这样:

vm-pop3d.c: In function `main':
vm-pop3d.c:126: error: `UINT16_MAX' undeclared (first use in this function)
vm-pop3d.c:126: error: (Each undeclared identifier is reported only once
vm-pop3d.c:126: error: for each function it appears in.)

然后编辑config.h,并添加:

#define UINT16_MAX 65535

并输入make,再次安装。
腾讯云代理

Copyright © 2003-2021 MFISP.COM. 国外vps服务器租用 梦飞云服务器租用 版权所有 粤ICP备11019662号