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 CBFBEBB9A for ; Wed, 26 Oct 2005 07:03:49 +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 j9Q53mIB028973 for ; Wed, 26 Oct 2005 07:03:49 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id HAA06048 for ; Wed, 26 Oct 2005 07:03:48 +0200 (MET DST) Received: from slinky.cs.nyu.edu (SLINKY.CS.NYU.EDU [128.122.20.14]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j9Q53lps028969 for ; Wed, 26 Oct 2005 07:03:48 +0200 Received: from localhost (localhost [127.0.0.1]) by slinky.cs.nyu.edu (8.12.10+Sun/8.12.10) with ESMTP id j9Q53jr4020265; Wed, 26 Oct 2005 01:03:46 -0400 (EDT) Date: Wed, 26 Oct 2005 01:03:45 -0400 (EDT) From: Igor Pechtchanski Reply-To: caml-list@inria.fr To: Christian Stork Cc: caml-list@inria.fr Subject: Re: [Caml-list] CamlIDL question In-Reply-To: <20051025222612.GA14471@anthony.ics.uci.edu> Message-ID: References: <20051025222612.GA14471@anthony.ics.uci.edu> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Miltered: at nez-perce with ID 435F0E35.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 435F0E33.000 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 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... HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA