BincImap: `errno' was not declared in this scope

July 31, 2006

Going ahead with the compilation of BincIMAP as described in yesterdays post. On CentOS it comes up with this error
maildir-writecache.cc: In member function `bool Binc::Maildir::writeCache()':
maildir-writecache.cc:80: error: `errno' was not declared in this scope
maildir-writecache.cc:80: error: `EROFS' was not declared in this scope
maildir-writecache.cc:80: error: `EINVAL' was not declared in this scope
maildir-writecache.cc:80: warning: unused variable 'EROFS'
maildir-writecache.cc:80: warning: unused variable 'EINVAL'
maildir-writecache.cc:91: error: `errno' was not declared in this scope
maildir-writecache.cc:91: error: `EROFS' was not declared in this scope
maildir-writecache.cc:91: error: `EINVAL' was not declared in this scope
maildir-writecache.cc:91: warning: unused variable 'EROFS'
maildir-writecache.cc:91: warning: unused variable 'EINVAL'
make[2]: *** [maildir-writecache.o] Error 1
This is of course a variation of the plenty of times on Fedora Core. Just open up ./src/maildir-writecache.cc in your editor and add a line that just says:
#include <errno.h>
Posted by raditha at July 31, 2006 11:58 AM
Your Ad Here

 

Jabber  |  Linux  |  mySQL  |  PHP  |  Java  |  Site Map  |  Wiki

Downloads  |  About  |  Links  |  Contact  |  Home

 

Copyright © Raditha Dissanayake 2003 - 2007

Terms of Use  |  Privacy

 

 

July 2006
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31