English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2004-09-15 (02:23)
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 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