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] caml_callback_exn problem
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: James Tranovich <jht6586@r...>
Subject: [Caml-list] caml_callback_exn problem
Hello all,

I have a question regarding interfacing ocaml to C.

I've pretty much gotten ocaml callbacks working with C, which is very
cool and all, but I have a small problem. I can't get caml_callback_exn
to work at all. To be specific, if I try to link a program, I get the
following result:

warning: type and size of dynamic symbol `caml_callback_exn' are not

If I try to run the resulting executable, I get an "Illegal instruction"
message (SIGILL). Needless to say, the "normal" caml_callback calls work
fine. I'm using ocaml 3.08.1, just took a quick look at the sources.
Looked at asmrun/i386.S but can't seem to find anything out of the
ordinary. Am I not linking in a file I need?

What am I doing wrong here?

Any help is appreciated! Thanks,


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