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

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