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 UAA26868; Fri, 5 Jul 2002 20:25:15 +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 UAA27318 for ; Fri, 5 Jul 2002 20:25:14 +0200 (MET DST) Received: from relay.rinet.ru (relay.rinet.ru [195.54.192.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g65IPDf06975 for ; Fri, 5 Jul 2002 20:25:13 +0200 (MET DST) Received: (from uucp@localhost) by relay.rinet.ru (8.11.6/8.11.6) with UUCP id g65IPCd12373 for caml-list@inria.fr; Fri, 5 Jul 2002 22:25:12 +0400 (MSD) X-Envelope-To: caml-list@inria.fr Received: from bely.stormoff (BELY) [192.168.0.10] by stormoff with esmtp (Exim 3.12 #1 (Debian)) id 17QXie-0002HR-00; Fri, 05 Jul 2002 22:22:12 +0400 X-Comment-To: Sandeep Subramaniam To: caml-list@inria.fr Subject: Re: [Caml-list] reg : camlidl_malloc References: From: Dmitry Bely Date: Fri, 05 Jul 2002 22:22:12 +0400 In-Reply-To: (Sandeep Subramaniam's message of "Fri, 5 Jul 2002 10:54:20 -0500 (CDT)") Message-ID: <1yai3ui3.fsf@mail.ru> User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Economic Science (Windows [1]), i586-pc-win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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