From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 94763BC57 for ; Fri, 28 May 2010 14:44:00 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjUCALpW/0tKfVI2mGdsb2JhbACDGJsGCBUBAQEBAQgJDAcRIq01OQqBeIVYLohPAQEDBYEggwVqBI0O X-IronPort-AV: E=Sophos;i="4.53,318,1272837600"; d="scan'208";a="63580958" Received: from mail-ww0-f54.google.com ([74.125.82.54]) by mail4-smtp-sop.national.inria.fr with ESMTP; 28 May 2010 14:44:00 +0200 Received: by wwb28 with SMTP id 28so908810wwb.27 for ; Fri, 28 May 2010 05:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=dHmmwuLLtx2nuI86uB8/ZTII/SRmaOA8wpNPghoeXIs=; b=Zum3OnWvoJdxojHpOqGOvJK57vqZb0mzH+DPvGgZfwKOeQteC0TVuN/EIkYGLrEhfv WJJH7q1/eI64ZN3KrDk2im0yzw2V4g16GBSZnpevzMcmbY/F109y3s/E2lEApUvDG9Qb GUhBN1t9aq5mVzEXJKdzpAAXF+iOgVDjgOdRY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=pGDJVZDhDGR7u0/sn8e+ywReKGcVaFh4egL90+XGpZJDeqoBwCvEKHYLB8EGIgpdZ5 K/NEN8RcLFpUryglwoVonMV3a7UyMSDeKAAp1v5kQjKxlH7NeNOobRFdNPie8C0/x50P rqqP7RxMkkSBiUCqHnu7lBsO+9y+gfuAoQO4g= Received: by 10.227.137.21 with SMTP id u21mr240592wbt.68.1275050639776; Fri, 28 May 2010 05:43:59 -0700 (PDT) Received: from [192.168.1.22] (241.16.197-77.rev.gaoland.net [77.197.16.241]) by mx.google.com with ESMTPS id h22sm10353226wbh.3.2010.05.28.05.43.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 28 May 2010 05:43:59 -0700 (PDT) Message-ID: <4BFFBA8A.4030804@gmail.com> Date: Fri, 28 May 2010 14:43:54 +0200 From: Matthieu Dubuget Reply-To: matthieu.dubuget@gmail.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8pre) Gecko/20100120 Shredder/3.0.2pre MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] OCaml compilation References: <4BFED850.2080006@gmail.com> <005701cafe33$ae9bbe30$0bd33a90$@romulus.metastack.com> <4BFF7AB7.6080003@gmail.com> <1275036886.4305.5.camel@Nokia-N900-02-8> <4BFF9589.6030308@gmail.com> In-Reply-To: <4BFF9589.6030308@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; matthieu:01 dubuget:01 matthieu:01 dubuget:01 ocaml:01 compilation:01 -verbose:01 -verbose:01 -cclib:01 -cclib:01 mingw:01 stdlib:01 otherlibs:01 otherlibs:01 systhreads:01 >> Certainly looks correct, I agree. One thought - have you remembered=20 >> to put C:\Tcl\bin in your PATH on the machines which are failing? >> >> Is flexlink definitely the same version on each machine? Two other=20 >> possibilities: >> >> 1. Try entering the command that's failing manually with -verbose and = >> then do the same with the flexlink command displayed, adding -v -v to = >> see exactly what flexlink is doing. I called the original command with -verbose -cclib -v -cclib -v If anybody can conclude anything from this? I will try the same command=20 with a working system, trying to spot differences=E2=80=A6 + flexlink -chain mingw -exe -o "ocamlbrowser.exe" "-L../../../stdlib" = "-L../../../otherlibs/win32unix" "-L../../../otherlibs/str"=20 "-L../../../otherlibs/systhreads" "-L../labltk" "-L../lib"=20 "-L../support" "-L../../../parsing" "-L../../../utils"=20 "-L../../../typing" ".\camlprim986116.c" "-llabltk" "-lthreads" "-lstr"=20 "-lunix" "-lws2_32" "winmain.o" "-v" "-v" "-lcamlrun" -lws2_32 -link=20 -Wl,--subsystem,windows C:/tcl/bin/tk85.dll C:/tcl/bin/tcl85.dll -lws2_32= ** Use cygpath: true ** Search path: =2E./../../typing =2E./../../utils =2E./../../parsing =2E./support =2E./lib =2E./labltk =2E./../../otherlibs/systhreads =2E./../../otherlibs/str =2E./../../otherlibs/win32unix =2E./../../stdlib /lib/mingw /lib /lib/w32api /usr/lib/gcc/i686-pc-mingw32/3.4.4 ** Default libraries: crt2.o -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 + gcc -mno-cygwin -c -o ".\dyndll255a54.o" -I"../../../typing"=20 -I"../../../utils" -I"../../../parsing" -I"../support" -I"../lib"=20 -I"../labltk" -I"../../../otherlibs/systhreads"=20 -I"../../../otherlibs/str" -I"../../../otherlibs/win32unix"=20 -I"../../../stdlib" .\camlprim986116.c ** Cannot resolve symbols for descriptor object: _Tcl_AppendResult _Tcl_CreateChannelHandler _Tcl_CreateCommand _Tcl_CreateInterp _Tcl_CreateTimerHandler _Tcl_DStringAppend _Tcl_DStringFree _Tcl_DStringInit _Tcl_DeleteChannelHandler _Tcl_DeleteTimerHandler _Tcl_DoOneEvent _Tcl_Eval _Tcl_EvalFile _Tcl_ExternalToUtfDString _Tcl_Finalize _Tcl_FindExecutable _Tcl_Free _Tcl_GetCommandInfo _Tcl_GetInt _Tcl_GetVar _Tcl_Init _Tcl_MakeFileChannel _Tcl_MakeTcpClientChannel _Tcl_Merge _Tcl_ResetResult _Tcl_SetResult _Tcl_SetVar _Tcl_SplitList _Tcl_TraceVar _Tcl_UntraceVar _Tcl_UntraceVar2 _Tcl_UtfToExternalDString _Tk_GeometryRequest _Tk_Init _Tk_MainLoop _Tk_MainWindow + objdump -p C:/tcl/bin/tk85.dll > .\dyndll5dd309.dmp + objdump -p C:/tcl/bin/tcl85.dll > .\dyndll4644ba.dmp ** open: C:/cygwin/lib/mingw/crt2.o ** open: C:/cygwin/lib/mingw/libmingw32.a ** open: C:/cygwin/lib/gcc/i686-pc-mingw32/3.4.4/libgcc.a ** open: C:/cygwin/lib/mingw/libmoldname.a ** open: C:/cygwin/lib/mingw/libmingwex.a ** open: C:/cygwin/lib/mingw/libmsvcrt.a ** open: C:/cygwin/lib/w32api/libuser32.a ** open: C:/cygwin/lib/w32api/libkernel32.a ** open: C:/cygwin/lib/w32api/libadvapi32.a ** open: C:/cygwin/lib/w32api/libshell32.a File "_none_", line 1, characters 0-1: Error: Error while building custom runtime system