From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 7A5967EC41 for ; Mon, 22 Oct 2012 09:04:04 +0200 (CEST) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of rixed@happyleptic.org) identity=pra; client-ip=212.27.42.4; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="rixed@happyleptic.org"; x-sender="rixed@happyleptic.org"; x-conformance=sidf_compatible Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of rixed@happyleptic.org) identity=mailfrom; client-ip=212.27.42.4; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="rixed@happyleptic.org"; x-sender="rixed@happyleptic.org"; x-conformance=sidf_compatible Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp4-g21.free.fr) identity=helo; client-ip=212.27.42.4; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="rixed@happyleptic.org"; x-sender="postmaster@smtp4-g21.free.fr"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqICALvuhFDUGyoElGdsb2JhbABFi2i1IyMBAQEBCQsJCRQDJIIhAQU6Tws0EhQoiDy6a48rgkNgA5Vwkys X-IronPort-AV: E=Sophos;i="4.80,628,1344204000"; d="scan'208";a="159871631" Received: from smtp4-g21.free.fr ([212.27.42.4]) by mail4-smtp-sop.national.inria.fr with ESMTP; 22 Oct 2012 09:04:03 +0200 Received: from ombreroze.happyleptic.org (unknown [82.229.213.209]) by smtp4-g21.free.fr (Postfix) with ESMTP id 98CFE4C8161 for ; Mon, 22 Oct 2012 09:03:59 +0200 (CEST) Received: from rixed by ombreroze.happyleptic.org with local (Exim 4.80) (envelope-from ) id 1TQC3K-0001eQ-5h for caml-list@inria.fr; Mon, 22 Oct 2012 09:03:58 +0200 Date: Mon, 22 Oct 2012 09:03:58 +0200 From: rixed@happyleptic.org To: caml-list@inria.fr Message-ID: <20121022070357.GA3222@ombreroze.happyleptic.org> References: <20121015122152.GA17466@securactive.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121015122152.GA17466@securactive.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [Caml-list] Compiler can't find a stub anymore Answering my own question for my old days: the problem was that parmap library was not compiled with -custom while it's META file does not set any linkopts. I fixed it using -custom since I find it easier, but I wonder what's the prefered way to add these link flags between custom or linkopts? BTW, I couldn't find where to add -custom in ocamlbuild. Hopefully parmap wraps ocamlbuild into Makefile so I could work around it. Any doc on how to add -custom flag? I tried with -lflag but for some reason the flag was also added to ocamlopt invocations. Anyway, much ado about nothing as usual.