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=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id DD77FBC50 for ; Fri, 6 Oct 2006 17:11:44 +0200 (CEST) Received: from defang20.it.ohio-state.edu (defang20.it.ohio-state.edu [128.146.216.134]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k96FBgPR015967 for ; Fri, 6 Oct 2006 17:11:44 +0200 Received: from defang20.it.ohio-state.edu (localhost.localdomain [127.0.0.1]) by defang20.it.ohio-state.edu (8.13.7/8.13.1) with ESMTP id k96FBdrP028181 for ; Fri, 6 Oct 2006 11:11:41 -0400 Received: (from defang@localhost) by defang20.it.ohio-state.edu (8.13.7/8.13.1/Submit) id k96FBJDu028028 for caml-list@yquem.inria.fr; Fri, 6 Oct 2006 11:11:19 -0400 X-Authentication-Warning: defang20.it.ohio-state.edu: defang set sender to using -f X-MIMEDefang-Relay-6e104725c4c19a394237685584bdf8f4153a690a: 140.254.115.95 Received: from PHILIP_VITON.osu.edu (dhcp-140-254-115-95.homenet.ohio-state.edu [140.254.115.95]) by smtp.service.ohio-state.edu (envelope-sender ) (MIMEDefang) with ESMTP id k96FBAQB027930; Fri, 06 Oct 2006 11:11:19 -0400 (EDT) Message-Id: <7.0.1.0.2.20061006104319.022cbd88@osu.edu> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Fri, 06 Oct 2006 11:11:07 -0400 To: caml-list@yquem.inria.fr From: "Philip A. Viton" Subject: ocamlopt under win32 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-CanItPRO-Stream: outbound X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.146.216.134 X-Miltered: at concorde with ID 4526722E.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocamlopt:01 ocamlopt:01 3.09.0:01 hevea:01 verbose:01 ocaml:01 hevea:01 ocaml:01 cmx:01 libasmrun:01 lib:01 libasmrun:01 lib:01 verbose:01 -verbose:01 Can anyone tell me what's going wrong here? Computer: running win xp/sp2 on amd 64 ocamlopt: 3.09.0 ms files: from visual studio 6 I try the following (the smallest independent part of the Hevea distribution): ==== non verbose ===== C:\ProgramFiles\OCaml\hevea\hevea-1.09\native> c:\ProgramFiles\ocaml\bin\ocamlopt -c bibhva.ml C:\ProgramFiles\OCaml\hevea\hevea-1.09\native> c:\ProgramFiles\ocaml\bin\ocamlopt -o bibhva.exe bibhva.cmx libasmrun.lib(compact.obj) : error LNK2001: unresolved external symbol __ftol2 libasmrun.lib(ints.obj) : error LNK2001: unresolved external symbol __ftol2 libasmrun.lib(floats.obj) : error LNK2001: unresolved external symbol __ftol2 libasmrun.lib(major_gc.obj) : error LNK2001: unresolved external symbol __ftol2 libasmrun.lib(gc_ctrl.obj) : error LNK2001: unresolved external symbol __ftol2 bibhva.exe : fatal error LNK1120: 1 unresolved externals Error during linking ===================== verbose C:\ProgramFiles\OCaml\hevea\hevea-1.09\native>c:\ProgramFiles\ocaml\bin\ocamlopt -verbose -c bibhva.ml + ml /nologo /coff /Cp /c /Fo"bibhva.obj" "c:\temp\camlasmfaa835.asm">NUL C:\ProgramFiles\OCaml\hevea\hevea-1.09\native>c:\ProgramFiles\ocaml\bin\ocamlopt -verbose -o bibhva.exe bibhva.cmx + ml /nologo /coff /Cp /c /Fo"c:\temp\camlstartupca51b3.obj" "c:\temp\camlstartu p7461f9.asm">NUL + cl /nologo /MT /Fe"bibhva.exe" -I"C:\ProgramFiles\OCaml\lib" "c:\temp\camlstar tupca51b3.obj" "C:\ProgramFiles\OCaml\lib\std_exit.obj" "bibhva.obj" "C:\Program Files\OCaml\lib\stdlib.lib" "C:\ProgramFiles\OCaml\lib\libasmrun.lib" advapi32. lib libasmrun.lib(compact.obj) : error LNK2001: unresolved external symbol __ftol2 libasmrun.lib(ints.obj) : error LNK2001: unresolved external symbol __ftol2 libasmrun.lib(floats.obj) : error LNK2001: unresolved external symbol __ftol2 libasmrun.lib(major_gc.obj) : error LNK2001: unresolved external symbol __ftol2 libasmrun.lib(gc_ctrl.obj) : error LNK2001: unresolved external symbol __ftol2 bibhva.exe : fatal error LNK1120: 1 unresolved externals Error during linking This link failure (with the same unresolved externals message) appears for all other parts of the hevea distribution too, so it seems that something is going wrong with any attempt to link. There's an earlier message on the list to the effect that VC6 isn't usable with the most recent ocaml distribution: is this really true? There's also a remark in the most recent ocaml bugfix release to the effect that something is being fixed specifically for the AMD chip : could that be the problem? Any help very gratefully received! ------------------------ Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue, Columbus OH 43210 viton.1@osu.edu