From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=AWL,DNS_FROM_RFC_POST, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id E7382BBB7 for ; Wed, 26 Nov 2008 18:38:36 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.33,670,1220220000"; d="scan'208";a="20428779" Received: from concorde.inria.fr ([192.93.2.39]) by mail1-smtp-roc.national.inria.fr with ESMTP; 26 Nov 2008 18:38:36 +0100 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id mAQHca7W021622 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Wed, 26 Nov 2008 18:38:36 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlMAADcYLUnYSfEMkWdsb2JhbACMSocWAQEBAQkLCgcRBLE7jgeCfQ X-IronPort-AV: E=Sophos;i="4.33,670,1220220000"; d="scan'208";a="17652460" Received: from info-smtp-004.amnh.org ([216.73.241.12]) by mail2-smtp-roc.national.inria.fr with ESMTP; 26 Nov 2008 18:38:35 +0100 Received: from localhost (localhost.localdomain [127.0.0.1]) by info-smtp-004.amnh.org (Postfix) with ESMTP id 3F1951CD57E; Wed, 26 Nov 2008 12:38:34 -0500 (EST) X-Virus-Scanned: amavisd-new at amnh.org Received: from info-smtp-004.amnh.org ([127.0.0.1]) by localhost (info-smtp-004.amnh.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZXzPKdqLmShJ; Wed, 26 Nov 2008 12:38:33 -0500 (EST) Received: from samson.internal.amnh.org (216-73-250-201.dynamic.amnh.org [216.73.250.201]) by info-smtp-004.amnh.org (Postfix) with ESMTPSA id 1F1091CD57C; Wed, 26 Nov 2008 12:38:33 -0500 (EST) Cc: caml users Message-Id: From: Andres Varon To: Xavier Leroy In-Reply-To: <492D81E2.1060809@inria.fr> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: [Caml-list] OCaml 3.11.0 release candidate Date: Wed, 26 Nov 2008 12:38:32 -0500 References: <77D0D110-16C4-4EAF-A371-B782568860B0@inria.fr> <6C930735-0FE0-4D02-BCC9-E24A8490F895@gmail.com> <492D81E2.1060809@inria.fr> X-Mailer: Apple Mail (2.929.2) X-Miltered: at concorde with ID 492D899C.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 ocaml-:01 compilation:01 ocaml-:01 makefile:01 systhreads:01 dynlink:01 bigarray:01 otherlibs:01 otherlibs:01 unix':01 nologo:01 byterun:01 syntax:01 unix':01 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