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 nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 60910BB9A for ; Wed, 26 Oct 2005 13:11:28 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j9QBBRYd030397 for ; Wed, 26 Oct 2005 13:11:28 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA12688 for ; Wed, 26 Oct 2005 13:11:27 +0200 (MET DST) Received: from anthony.ics.uci.edu (anthony.ics.uci.edu [128.200.39.241]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id j9QBBPco003365 for ; Wed, 26 Oct 2005 13:11:26 +0200 Received: (qmail 18383 invoked by uid 1000); 26 Oct 2005 11:11:43 -0000 Date: Wed, 26 Oct 2005 04:11:43 -0700 From: Christian Stork To: caml-list@inria.fr Subject: Re: [Caml-list] CamlIDL question Message-ID: <20051026111143.GA18044@anthony.ics.uci.edu> Mail-Followup-To: caml-list@inria.fr References: <20051025222612.GA14471@anthony.ics.uci.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Archive: encrypt User-Agent: Mutt/1.5.11 X-Miltered: at nez-perce with ID 435F6460.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 435F645D.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 camlidl:01 camlidl:01 ocamlc:01 -verbose:01 -custom:01 -cclib:01 stubs:01 cmo:01 cmo:01 ocamlc:01 -verbose:01 -custom:01 -cclib:01 stubs:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Wed, Oct 26, 2005 at 01:03:45AM -0400, Igor Pechtchanski wrote: > On Tue, 25 Oct 2005, Christian Stork wrote: > > I must be making a stupid mistake but I just don't see it. I put together a > > simple example that shows the problem. Even though the camlidl library is > > found its symbol "camlidl_free" is not. How can that be? Can anybody > > reproduce the problem or is this some hickup on my system? > > Here's what make produces (all files attached): > > [snip] > > make extest > > ocamlc -verbose -custom -cclib -lcamlidl -o extest \ > > ex.o ex_stubs.o ex.cmo extest.cmo > Shouldn't this be > ocamlc -verbose -custom -cclib -o extest \ > ex.o ex_stubs.o ex.cmo extest.cmo -lcamlidl > instead? Libraries should follow objects that refer to them... Thanks, that was it. -- Chris Stork <> Support eff.org! <> http://www.ics.uci.edu/~cstork/ OpenPGP fingerprint: B08B 602C C806 C492 D069 021E 41F3 8C8D 50F9 CA2F