Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Toplevel with external functions crashes. Any ideas?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Toplevel with external functions crashes. Any ideas?
On Thu, Jul 01, 2004 at 01:10:28PM -0700, Andy Yang wrote:
> 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?

Not much to go on here.  Can you post some minimal code which
demonstrates the problem, and/or post a stack trace from gdb?


Richard Jones.
Merjis Ltd. - improving website return on investment
C2LIB is a library of basic Perl/STL-like types for C. Vectors, hashes,
trees, string funcs, pool allocator:

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: