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


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » TroubleShooting

When compiling vm-pop3d: error: `UINT16_MAX' undeclared (first use in this function)Last Modified: Jan 2, 2008, 12:12 pm
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.

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST