directadmin

编译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时:error:`UINT16_MAX'未声明(首次在此函数中使用)

来源:梦飞科技 作者:梦飞 浏览量:142 更新:2018-05-20
编译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,再次安装。
部分文章来源与网络,若有侵权请联系站长删除!