When compiling vm-pop3d: error: `UINT16_MAX' undeclared (first use in this function)

To compile vm-pop3d: (use –prefix=/usr on Linux)

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

If you get:

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.)

Then edit the config.h, and add:

#define UINT16_MAX 65535

and type make, make install again.

 
troubleshooting/vm-pop3d.txt · Last modified: 2010/02/20 22:18 by muscardin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Please visit Automatic Backlinks to start earning free backlinks Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki