Browse thread
[Caml-list] Toplevel with external functions crashes. Any ideas?
-
Andy Yang
- Richard Jones
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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? Rich. -- Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment C2LIB is a library of basic Perl/STL-like types for C. Vectors, hashes, trees, string funcs, pool allocator: http://www.annexia.org/freeware/c2lib/ ------------------- 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