Olivier Andrieu <[EMAIL PROTECTED]> writes: > Bruce Stephens [Wednesday 19 October 2005] : > > > > # > > # old_revision [4e8b670a7090b6a49ea60440be4182b1bb6ca86c] > > # > > # patch "crypto/ocaml-openssl.c" > > # from [d8e9766c3e2818b722b4582213ebc1e21d1d8f94] > > # to [8817f67285b0bc6b42f1b547e545cd7ef7fb6411] > > # > > ============================================================ > > --- crypto/ocaml-openssl.c d8e9766c3e2818b722b4582213ebc1e21d1d8f94 > > +++ crypto/ocaml-openssl.c 8817f67285b0bc6b42f1b547e545cd7ef7fb6411 > > @@ -1,3 +1,4 @@ > > +#include <sys/types.h> > > #include <openssl/rc4.h> > > #include <openssl/sha.h> > > #include <openssl/rsa.h> > > > OK ... I've never had a problem compiling this file. What OS are you > using ?
It surprised me, too. I'm using Debian unstable (i386), with gcc 4.0.2-2, and libssl-dev is 0.9.8a-2. Maybe OpenSSL 0.9.8a changed something? The error I get is: cd crypto ; ocamlc -ccopt "" ocaml-openssl.c In file included from ocaml-openssl.c:2: /usr/include/openssl/sha.h:109: error: syntax error before 'size_t' /usr/include/openssl/sha.h:111: error: syntax error before 'size_t' /usr/include/openssl/sha.h:116: error: syntax error before 'size_t' /usr/include/openssl/sha.h:118: error: syntax error before 'size_t' /usr/include/openssl/sha.h:138: error: syntax error before 'size_t' /usr/include/openssl/sha.h:140: error: syntax error before 'size_t' /usr/include/openssl/sha.h:142: error: syntax error before 'size_t' /usr/include/openssl/sha.h:144: error: syntax error before 'size_t' /usr/include/openssl/sha.h:185: error: syntax error before 'size_t' /usr/include/openssl/sha.h:187: error: syntax error before 'size_t' /usr/include/openssl/sha.h:189: error: syntax error before 'size_t' /usr/include/openssl/sha.h:191: error: syntax error before 'size_t' _______________________________________________ Monotone-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monotone-devel
