Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Reference to undefined global `Toploop'
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Luca <ululuca@t...>
Subject: [Caml-list] Reference to undefined global `Toploop'
Hallo,  I just finished writing an implementation of logic resolution in
Ocaml, I always worked in toplevel but now that I tired to have a
standalone executable I get the following error


# ocamlc -pp "camlp4o" prog.ml
Error while loading "/usr/lib/ocaml/3.07/camlp4/camlp4o.cma": error
while linking /usr/lib/ocaml/3.07/camlp4/camlp4o.cma.
Reference to undefined global `Toploop'
Preprocessor error

In toplevel everything works fine, my file starts with

#load "camlp4o.cma";;
use Genlex;;

and then there is a little parser very similar to the one on the first
chapter of ocaml-reference manual.
I'm running ocaml 3.07 on a Debian ditribution of GNU/Linux.
Please anyone can help me, I spent a lot of time in writing this
program...:-(


-------------------
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