Browse thread
OCaml 3.11.0 release candidate
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2008-11-26 (17:38) |
From: | Andres Varon <avaron@g...> |
Subject: | Re: [Caml-list] OCaml 3.11.0 release candidate |
On Nov 26, 2008, at 12:05 PM, Xavier Leroy wrote: >> So far our tests have compiled and run successfully in most platforms >> [1] excepting Windows 64 bits (but it's the first time I attempt to >> compile in this architecture). I am getting this error message: > > There are two problems with Windows 64 that I forgot to fix before > this RC1 release; this is one of them. A patch is available at > > http://gallium.inria.fr/~xleroy/ocaml-3.11rc1-win64.patch > Thanks. This time the compilation went further, but failed with the errors below. > andres@WIN-X85PMN663RN ~/ocaml-3.11.0+rc1 > $ make -f Makefile.nt world > .... > make[1]: Entering directory `/home/andres/ocaml-3.11.0+rc1/stdlib' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/home/andres/ocaml-3.11.0+rc1/stdlib' > for i in win32unix systhreads str num win32graph dynlink bigarray; > do make -f Ma > kefile.nt -C otherlibs/$i all; done > make[1]: Entering directory `/home/andres/ocaml-3.11.0+rc1/otherlibs/ > win32unix' > cl /nologo -D_CRT_SECURE_NO_DEPRECATE /I 'C:/Program Files/Microsoft > Platform SD > K/Include/crt' /I 'C:/Program Files/Microsoft Platform SDK/ > Include' /Ox /MD -I. > ./../byterun -I../unix -c accept.c > accept.c > accept.c(58) : error C2146: syntax error : missing ';' before > identifier 'fd' > make[1]: *** [accept.obj] Error 2 > make[1]: Leaving directory `/home/andres/ocaml-3.11.0+rc1/otherlibs/ > win32unix' > make[1]: Entering directory `/home/andres/ocaml-3.11.0+rc1/otherlibs/ > systhreads' > > cl /nologo -D_CRT_SECURE_NO_DEPRECATE /I 'C:/Program Files/Microsoft > Platform SD > K/Include/crt' /I 'C:/Program Files/Microsoft Platform SDK/ > Include' /Ox /MD -I. > ./../byterun -c win32.c > win32.c > win32.c(217) : error C2037: left of 'mutex' specifies undefined > struct/union 'ch > annel' > win32.c(225) : error C2037: left of 'mutex' specifies undefined > struct/union 'ch > annel' > win32.c(228) : error C2037: left of 'mutex' specifies undefined > struct/union 'ch > annel' > win32.c(231) : error C2037: left of 'mutex' specifies undefined > struct/union 'ch > annel' > win32.c(231) : error C2198: 'WaitForSingleObject' : too few > arguments for call t > hrough pointer-to-function > win32.c(236) : error C2037: left of 'mutex' specifies undefined > struct/union 'ch > annel' > win32.c(236) : warning C4022: 'WaitForSingleObject' : pointer > mismatch for actua > l parameter 1 > win32.c(236) : error C2198: 'WaitForSingleObject' : too few > arguments for call t > hrough pointer-to-function > win32.c(248) : error C2037: left of 'mutex' specifies undefined > struct/union 'ch > annel' > win32.c(248) : error C2198: 'ReleaseMutex' : too few arguments for > call through > pointer-to-function > win32.c(328) : error C2065: 'caml_channel_mutex_free' : undeclared > identifier > win32.c(328) : warning C4047: '=' : 'int' differs in levels of > indirection from > 'void (__cdecl *)(channel *)' > win32.c(329) : error C2065: 'caml_channel_mutex_lock' : undeclared > identifier > win32.c(329) : warning C4047: '=' : 'int' differs in levels of > indirection from > 'void (__cdecl *)(channel *)' > win32.c(330) : error C2065: 'caml_channel_mutex_unlock' : undeclared > identifier > win32.c(330) : warning C4047: '=' : 'int' differs in levels of > indirection from > 'void (__cdecl *)(channel *)' > win32.c(331) : error C2065: 'caml_channel_mutex_unlock_exn' : > undeclared identif > ier > win32.c(331) : warning C4047: '=' : 'int' differs in levels of > indirection from > 'void (__cdecl *)(void)' > make[1]: *** [win32_b.obj] Error 2 > make[1]: Leaving directory `/home/andres/ocaml-3.11.0+rc1/otherlibs/ > systhreads' > make[1]: Entering directory `/home/andres/ocaml-3.11.0+rc1/otherlibs/ > str' > cl /nologo -D_CRT_SECURE_NO_DEPRECATE /I 'C:/Program Files/Microsoft > Platform SD > K/Include/crt' /I 'C:/Program Files/Microsoft Platform SDK/ > Include' /Ox /MD -I. > ./../byterun -c strstubs.c > strstubs.c > strstubs.c(294) : warning C4047: 'initializing' : 'backtrack_stack > *' differs in > levels of indirection from 'int' > strstubs.c(345) : error C2065: 'res' : undeclared identifier > strstubs.c(346) : error C2143: syntax error : missing ';' before > 'type' > strstubs.c(347) : error C2143: syntax error : missing ';' before > 'type' > strstubs.c(348) : error C2143: syntax error : missing ';' before > 'type' > strstubs.c(349) : error C2143: syntax error : missing ';' before > 'type' > strstubs.c(351) : error C2065: 'n' : undeclared identifier > strstubs.c(352) : error C2065: 'i' : undeclared identifier > strstubs.c(353) : error C2065: 'group' : undeclared identifier > strstubs.c(353) : warning C4047: '=' : 'int' differs in levels of > indirection fr > om 're_group *' > strstubs.c(354) : error C2223: left of '->start' must point to > struct/union > strstubs.c(354) : error C2223: left of '->end' must point to struct/ > union > strstubs.c(358) : error C2223: left of '->start' must point to > struct/union > strstubs.c(358) : error C2065: 'starttxt' : undeclared identifier > strstubs.c(359) : error C2223: left of '->end' must point to struct/ > union > strstubs.c(462) : error C2275: 'mlsize_t' : illegal use of this type > as an expre > ssion > c:\cygwin\home\andres\ocaml-3.11.0+rc1\byterun > \mlvalues.h(58) : see decl > aration of 'mlsize_t' > strstubs.c(462) : error C2146: syntax error : missing ';' before > identifier 'sta > rt' > strstubs.c(462) : error C2065: 'start' : undeclared identifier > strstubs.c(462) : error C2065: 'end' : undeclared identifier > strstubs.c(462) : error C2065: 'len' : undeclared identifier > strstubs.c(463) : error C2143: syntax error : missing ';' before > 'type' > strstubs.c(464) : error C2143: syntax error : missing ';' before > 'type' > strstubs.c(467) : error C2065: 'p' : undeclared identifier > strstubs.c(467) : warning C4047: '=' : 'int' differs in levels of > indirection fr > om 'char *' > strstubs.c(470) : error C2065: 'c' : undeclared identifier > strstubs.c(470) : error C2100: illegal indirection > strstubs.c(475) : error C2100: illegal indirection > strstubs.c(496) : warning C4047: '=' : 'int' differs in levels of > indirection fr > om 'char *' > strstubs.c(497) : error C2065: 'q' : undeclared identifier > strstubs.c(497) : warning C4047: '=' : 'int' differs in levels of > indirection fr > om 'char *' > strstubs.c(500) : error C2100: illegal indirection > strstubs.c(502) : error C2100: illegal indirection > strstubs.c(502) : error C2106: '=' : left operand must be l-value > strstubs.c(504) : error C2100: illegal indirection > strstubs.c(507) : error C2100: illegal indirection > strstubs.c(507) : error C2106: '=' : left operand must be l-value > strstubs.c(514) : warning C4022: 'memmove' : pointer mismatch for > actual paramet > er 1 > strstubs.c(518) : error C2100: illegal indirection > strstubs.c(518) : error C2106: '=' : left operand must be l-value > strstubs.c(518) : error C2100: illegal indirection > strstubs.c(518) : error C2106: '=' : left operand must be l-value > make[1]: *** [strstubs.obj] Error 2 > make[1]: Leaving directory `/home/andres/ocaml-3.11.0+rc1/otherlibs/ > str' > make[1]: Entering directory `/home/andres/ocaml-3.11.0+rc1/otherlibs/ > num' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/home/andres/ocaml-3.11.0+rc1/otherlibs/ > num' > make[1]: Entering directory `/home/andres/ocaml-3.11.0+rc1/otherlibs/ > win32graph' > > cl /nologo -D_CRT_SECURE_NO_DEPRECATE /I 'C:/Program Files/Microsoft > Platform SD > K/Include/crt' /I 'C:/Program Files/Microsoft Platform SDK/ > Include' /Ox /MD -I. > ./../byterun -c draw.c > draw.c > draw.c(555) : error C2146: syntax error : missing ';' before > identifier 'img' > draw.c(618) : error C2146: syntax error : missing ';' before > identifier 'matrix' > > make[1]: *** [draw.obj] Error 2 > make[1]: Leaving directory `/home/andres/ocaml-3.11.0+rc1/otherlibs/ > win32graph' > make[1]: Entering directory `/home/andres/ocaml-3.11.0+rc1/otherlibs/ > dynlink' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/home/andres/ocaml-3.11.0+rc1/otherlibs/ > dynlink' > make[1]: Entering directory `/home/andres/ocaml-3.11.0+rc1/otherlibs/ > bigarray' > cl /nologo -D_CRT_SECURE_NO_DEPRECATE /I 'C:/Program Files/Microsoft > Platform SD > K/Include/crt' /I 'C:/Program Files/Microsoft Platform SDK/ > Include' /Ox /MD -I. > ./../byterun -I../win32unix -DIN_OCAML_BIGARRAY -DCAML_NAME_SPACE - > c bigarray_s > tubs.c > bigarray_stubs.c > bigarray_stubs.c(840) : warning C4047: '=' : 'caml_ba_proxy *' > differs in levels > of indirection from 'int' > bigarray_stubs.c(856) : error C2065: 'res' : undeclared identifier > bigarray_stubs.c(857) : error C2275: 'intnat' : illegal use of this > type as an e > xpression > c:\cygwin\home\andres\ocaml-3.11.0+rc1\byterun > \config.h(47) : see declar > ation of 'intnat' > bigarray_stubs.c(857) : error C2146: syntax error : missing ';' > before identifie > r 'index' > bigarray_stubs.c(857) : error C2065: 'index' : undeclared identifier > bigarray_stubs.c(857) : error C2109: subscript requires array or > pointer type > bigarray_stubs.c(858) : error C2143: syntax error : missing ';' > before 'type' > bigarray_stubs.c(859) : error C2275: 'intnat' : illegal use of this > type as an e > xpression > c:\cygwin\home\andres\ocaml-3.11.0+rc1\byterun > \config.h(47) : see declar > ation of 'intnat' > bigarray_stubs.c(859) : error C2146: syntax error : missing ';' > before identifie > r 'offset' > bigarray_stubs.c(859) : error C2065: 'offset' : undeclared identifier > bigarray_stubs.c(860) : error C2275: 'intnat' : illegal use of this > type as an e > xpression > c:\cygwin\home\andres\ocaml-3.11.0+rc1\byterun > \config.h(47) : see declar > ation of 'intnat' > bigarray_stubs.c(860) : error C2065: 'sub_dims' : undeclared > identifier > bigarray_stubs.c(861) : error C2143: syntax error : missing ';' > before 'type' > bigarray_stubs.c(864) : error C2065: 'num_inds' : undeclared > identifier > bigarray_stubs.c(870) : error C2065: 'i' : undeclared identifier > bigarray_stubs.c(870) : error C2109: subscript requires array or > pointer type > bigarray_stubs.c(871) : error C2109: subscript requires array or > pointer type > bigarray_stubs.c(872) : warning C4047: 'function' : 'intnat *' > differs in levels > of indirection from 'int' > bigarray_stubs.c(872) : warning C4024: 'caml_ba_offset' : different > types for fo > rmal and actual parameter 2 > bigarray_stubs.c(873) : warning C4047: '=' : 'int' differs in levels > of indirect > ion from 'intnat *' > bigarray_stubs.c(877) : error C2109: subscript requires array or > pointer type > bigarray_stubs.c(878) : error C2109: subscript requires array or > pointer type > bigarray_stubs.c(879) : warning C4047: 'function' : 'intnat *' > differs in levels > of indirection from 'int' > bigarray_stubs.c(879) : warning C4024: 'caml_ba_offset' : different > types for fo > rmal and actual parameter 2 > bigarray_stubs.c(880) : warning C4047: '=' : 'int' differs in levels > of indirect > ion from 'intnat *' > bigarray_stubs.c(882) : error C2065: 'sub_data' : undeclared > identifier > bigarray_stubs.c(884) : warning C4047: '=' : 'int' differs in levels > of indirect > ion from 'char *' > bigarray_stubs.c(886) : warning C4022: 'caml_ba_alloc' : pointer > mismatch for ac > tual parameter 3 > bigarray_stubs.c(886) : warning C4047: 'function' : 'intnat *' > differs in levels > of indirection from 'int' > bigarray_stubs.c(886) : warning C4024: 'caml_ba_alloc' : different > types for for > mal and actual parameter 4 > bigarray_stubs.c(902) : error C2275: 'intnat' : illegal use of this > type as an e > xpression > c:\cygwin\home\andres\ocaml-3.11.0+rc1\byterun > \config.h(47) : see declar > ation of 'intnat' > bigarray_stubs.c(902) : error C2146: syntax error : missing ';' > before identifie > r 'ofs' > bigarray_stubs.c(902) : error C2065: 'ofs' : undeclared identifier > bigarray_stubs.c(903) : error C2275: 'intnat' : illegal use of this > type as an e > xpression > c:\cygwin\home\andres\ocaml-3.11.0+rc1\byterun > \config.h(47) : see declar > ation of 'intnat' > bigarray_stubs.c(903) : error C2146: syntax error : missing ';' > before identifie > r 'len' > bigarray_stubs.c(903) : error C2065: 'len' : undeclared identifier > bigarray_stubs.c(904) : error C2143: syntax error : missing ';' > before 'type' > bigarray_stubs.c(905) : error C2275: 'intnat' : illegal use of this > type as an e > xpression > c:\cygwin\home\andres\ocaml-3.11.0+rc1\byterun > \config.h(47) : see declar > ation of 'intnat' > bigarray_stubs.c(905) : error C2146: syntax error : missing ';' > before identifie > r 'mul' > bigarray_stubs.c(905) : error C2065: 'mul' : undeclared identifier > bigarray_stubs.c(906) : error C2143: syntax error : missing ';' > before 'type' > bigarray_stubs.c(913) : error C2065: 'changed_dim' : undeclared > identifier > bigarray_stubs.c(925) : warning C4047: '=' : 'int' differs in levels > of indirect > ion from 'char *' > bigarray_stubs.c(927) : warning C4022: 'caml_ba_alloc' : pointer > mismatch for ac > tual parameter 3 > bigarray_stubs.c(1049) : error C2275: 'intnat' : illegal use of this > type as an > expression > c:\cygwin\home\andres\ocaml-3.11.0+rc1\byterun > \config.h(47) : see declar > ation of 'intnat' > bigarray_stubs.c(1049) : error C2146: syntax error : missing ';' > before identifi > er 'dim' > bigarray_stubs.c(1049) : error C2065: 'dim' : undeclared identifier > bigarray_stubs.c(1049) : error C2109: subscript requires array or > pointer type > bigarray_stubs.c(1050) : error C2275: 'mlsize_t' : illegal use of > this type as a > n expression > ../../byterun\mlvalues.h(58) : see declaration of 'mlsize_t' > bigarray_stubs.c(1050) : error C2146: syntax error : missing ';' > before identifi > er 'num_dims' > bigarray_stubs.c(1050) : error C2065: 'num_dims' : undeclared > identifier > bigarray_stubs.c(1051) : error C2275: 'uintnat' : illegal use of > this type as an > expression > c:\cygwin\home\andres\ocaml-3.11.0+rc1\byterun > \config.h(48) : see declar > ation of 'uintnat' > bigarray_stubs.c(1051) : error C2146: syntax error : missing ';' > before identifi > er 'num_elts' > bigarray_stubs.c(1051) : error C2065: 'num_elts' : undeclared > identifier > bigarray_stubs.c(1052) : error C2143: syntax error : missing ';' > before 'type' > bigarray_stubs.c(1059) : error C2109: subscript requires array or > pointer type > bigarray_stubs.c(1060) : error C2109: subscript requires array or > pointer type > bigarray_stubs.c(1060) : error C2109: subscript requires array or > pointer type > bigarray_stubs.c(1062) : error C2109: subscript requires array or > pointer type > bigarray_stubs.c(1068) : warning C4047: 'function' : 'intnat *' > differs in level > s of indirection from 'int' > bigarray_stubs.c(1068) : warning C4024: 'caml_ba_alloc' : different > types for fo > rmal and actual parameter 4 > make[1]: *** [bigarray_stubs.obj] Error 2 > make[1]: Leaving directory `/home/andres/ocaml-3.11.0+rc1/otherlibs/ > bigarray' > make: *** [otherlibraries] Error 2 > > andres@WIN-X85PMN663RN ~/ocaml-3.11.0+rc1 > $ this fix. > > > Regards, > > - Xavier Leroy