Hi,

There's a problem compiling the current CVS version of isync on Mac OS
X. Compilation of drv_imap.c fails with the following error:
    In file included from /usr/include/openssl/evp.h:109,
                 from /usr/include/openssl/x509.h:67,
                 from /usr/include/openssl/ssl.h:177,
                 from drv_imap.c:54:
    /usr/include/openssl/blowfish.h:104: error: syntax error before
numeric constant

The problem is caused by the following lines in isync.h:
  #define M 0 /* master */
  #define S 1 /* slave */
Blowfish.h has a struct with a member 'S'. I fixed it by moving
inclusion of ssl.h up higher in the file (as shown in the attached
patch), but the best solution would be to replace this macro by
something slightly less easy to expand.

cheers,
Remko

Attachment: mbsync_fix.diff
Description: Binary data

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to