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=2.3 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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 3FE1ABB84 for ; Wed, 11 Feb 2009 10:28:11 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ak8BACspkknRVdsVkGdsb2JhbACUBz8BAQEBCQkMBxEDrSoIfpAXAQMBA4QXBoI2gSY X-IronPort-AV: E=Sophos;i="4.38,191,1233529200"; d="scan'208";a="22800630" Received: from mail-ew0-f21.google.com ([209.85.219.21]) by mail3-smtp-sop.national.inria.fr with ESMTP; 11 Feb 2009 10:28:10 +0100 Received: by ewy14 with SMTP id 14so146563ewy.9 for ; Wed, 11 Feb 2009 01:28:10 -0800 (PST) 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:content-type :content-transfer-encoding; bh=HRDFnD5Y8drk3HnX586MtpG0dvoiR6MCRn2OJcVbnmA=; b=IYSXtxfDFPGu9Ag5POKjK0fsDXyPWf6k9brBJiFrqL6b77ICBSVUrZp/UrKmOIdDV+ 0AWbwWSq6HKnQptB4dsx8hoMI3uM/mpMnij4dbZv3xNB42MlhX969ZZEnv5Z+FJjM4Ss XSvJ0T3DOkFarfHImENZga0FWtX0Jw2y4q3n8= 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 :content-type:content-transfer-encoding; b=b7iww5xJavbDsi6Nk53zpVDuNSxwQIHOeOqw6BRY6YRLbZSc8WDGrH+mFaDPJqLUwp T7zlqh2u1TVvwsYcelV2iteuN3BzY9rmbdhDcHybgGLUlDxk68XzjJKGDTsmcKkw8kZo fMqdcdKiU51ndGltNjEQSO7jX1wWh959ZAj9I= Received: by 10.210.38.17 with SMTP id l17mr351140ebl.192.1234344490649; Wed, 11 Feb 2009 01:28:10 -0800 (PST) Received: from ?192.168.0.102? (papillon.metalscan.fr [212.73.210.234]) by mx.google.com with ESMTPS id 5sm1916272eyf.42.2009.02.11.01.28.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 11 Feb 2009 01:28:10 -0800 (PST) Message-ID: <49929A28.8070708@gmail.com> Date: Wed, 11 Feb 2009 10:28:08 +0100 From: Matthieu Dubuget Reply-To: matthieu.dubuget@gmail.com User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: caml-list@inria.fr Subject: Strange compilation problem Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; matthieu:01 dubuget:01 matthieu:01 dubuget:01 compilation:01 ocamlfind:01 -linkpkg:01 -package:01 findlib:01 ocamlfind:01 cygwin:01 ocamlmgw:01 lib:01 site-lib:01 cygwin:01 This command line fails during the linking stage: > ocamlfind opt -linkpkg -package miniscan test.ml -o test.exe > ** Fatal error: Cannot find file "libmingw32" > File "caml_startup", line 1, characters 0-1: > Error: Error during linking Since this seems to be a problem with my "miniscan" findlib package, I gather some information and by-pass it > $ ocamlfind query miniscan > C:/cygwin/home/matt/ocamlmgw/lib/site-lib/miniscan > $ cat C:/cygwin/home/matt/ocamlmgw/lib/site-lib/miniscan/META > description = "Binding Miniscan" > archive(byte) = "miniscan.cma" > archive(native) = "miniscan.cmxa" > requires = "mtsvrac,ojson,log,dsn153,okenveloppe,traite" and this command line works, and produces a working test.exe file: > ocamlfind opt -linkpkg -package mtsvrac,ojson,log,dsn153,okenveloppe,traite -I c:/cygwin/home/matt/ocamlmgw/lib/site-lib/miniscan miniscan.cmxa test.ml -o test.exe Any idea what the problem could be? Or what I should check next? Salutations Matt