From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA12360; Tue, 29 May 2001 16:22:12 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA12324 for ; Tue, 29 May 2001 16:22:11 +0200 (MET DST) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f4TEMAD22801 for ; Tue, 29 May 2001 16:22:10 +0200 (MET DST) Received: from clipper.ens.fr (clipper-gw.ens.fr [129.199.1.22]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id f4TEM4R26870 ; Tue, 29 May 2001 16:22:04 +0200 (CEST) Received: from localhost (frisch@localhost) by clipper.ens.fr (8.9.2/jb-1.1) id QAA22448 ; Tue, 29 May 2001 16:22:04 +0200 (MET DST) Date: Tue, 29 May 2001 16:22:04 +0200 (MET DST) From: Alain Frisch To: Tore Lund cc: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Porting to EPOC In-Reply-To: <3B13ADD1.5C30D630@online.no> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 29 May 2001, Tore Lund wrote: > Sorry, doesn't work. I try to compile the following file: > > let _ = c_test ();; > > and all I get is this: > > C:\Data\ocaml>ocamlc -use-prims prims ctest.ml > File "ctest.ml", line 1, characters 8-14: > Unbound value c_test > > even though I have put c_test at the bottom of the list in prims. > > Any ideas? You have to declare the primitive to Caml: external c_test: unit -> unit = "c_test" -- Alain Frisch ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr