From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 8AEE77F747 for ; Wed, 6 Aug 2014 21:12:27 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.01,813,1400018400"; d="scan'208";a="88515142" Received: from sympa.inria.fr ([193.51.193.213]) by mail2-relais-roc.national.inria.fr with ESMTP; 06 Aug 2014 21:12:27 +0200 Received: by sympa.inria.fr (Postfix, from userid 20132) id 7EE117F75C; Wed, 6 Aug 2014 21:12:27 +0200 (CEST) Date: Wed, 06 Aug 2014 21:12:23 +0200 To: caml-list@inria.fr Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7BIT From: X-Mailer: Sympa 6.1.17 Subject: [Caml-list] emacs ocaml toplevel exeternal functions Hello, I am trying to load .cmo file for ocaml code that calls external C functions in my emacs ocaml toplevel using #load "somefile.cmo" But I get an error "Error: The external function `some_function' is not available. Is there any way to get rid of this error inside emacs toplevel. How is it possible to load C object files inside emacs toplevel? Thanks.