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 WAA20326; Thu, 1 Jul 2004 22:10:31 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 WAA20459 for ; Thu, 1 Jul 2004 22:10:30 +0200 (MET DST) Received: from web90107.mail.scd.yahoo.com (web90107.mail.scd.yahoo.com [66.218.94.78]) by nez-perce.inria.fr (8.12.10/8.12.10) with SMTP id i61KATEV011584 for ; Thu, 1 Jul 2004 22:10:29 +0200 Message-ID: <20040701201028.99244.qmail@web90107.mail.scd.yahoo.com> Received: from [155.99.182.148] by web90107.mail.scd.yahoo.com via HTTP; Thu, 01 Jul 2004 13:10:28 PDT Date: Thu, 1 Jul 2004 13:10:28 -0700 (PDT) From: Andy Yang Subject: [Caml-list] Toplevel with external functions crashes. Any ideas? To: caml-list@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at nez-perce with ID 40E46FB5.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; crashes:01 libray:01 promotions:99 ocaml:01 ocaml:01 toplevel:01 toplevel:01 segmentation:01 external:03 interface:03 interface:03 library:03 anybody:03 functions:05 functions:05 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, all I am trying to build an Ocaml interface for a C++ library. I build a set of C wrapper functions for the libray, and build the C/Ocaml interface with it. The Ocaml interface works well when I call them in .ml files. However, when I tried to build a toplevel which can interactively call these functions, segmentation fault happens. It seems that it is not because of the errors in my interface codes. Does anybody have any idea about this? Thanks a lot! Andy __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ------------------- 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