From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA28106; Fri, 5 Jul 2002 21:19:34 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 VAA28189 for ; Fri, 5 Jul 2002 21:19:33 +0200 (MET DST) Received: from stephens.ittc.ku.edu (stephens.ittc.ku.edu [129.237.125.220]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g65JJWf07970 for ; Fri, 5 Jul 2002 21:19:32 +0200 (MET DST) Received: from astro.ittc.ku.edu (astro.ittc.ku.edu [129.237.126.119]) by stephens.ittc.ku.edu (8.11.2/8.11.2/ITTC-NOSPAM-NOVIRUS-2.2) with ESMTP id g65JJV026421; Fri, 5 Jul 2002 14:19:31 -0500 Received: from localhost by astro.ittc.ku.edu (8.9.3/KU-4.0-client) id OAA01256; Fri, 5 Jul 2002 14:19:31 -0500 Date: Fri, 5 Jul 2002 14:19:31 -0500 (CDT) From: Sandeep Subramaniam To: Dmitry Bely cc: caml-list@inria.fr Subject: Re: [Caml-list] reg : camlidl_malloc In-Reply-To: <1yai3ui3.fsf@mail.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Thanx for that. Sandeep Subramaniam Graduate Research Assistant ITTC, Raymond Nichols Hall, University of Kansas On Fri, 5 Jul 2002, Dmitry Bely wrote: > Sandeep Subramaniam writes: > > > But when dynamically linking this C code with Caml code I get the error : > > > > "Error on dynamically loaded library: ./test1_stubs.so: undefined symbol: > > camlidl_malloc" > > > > It seems that camlidl_malloc() is declared in camlidlruntime.h but not > > defined . > > > > So how do I solve this error ? > > Add -lcamlidl to your link options. > > Hope to hear from you soon, > Dmitry > > > ------------------- > To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr > Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners