From: Luca <ululuca@tiscali.it>
To: caml-list@inria.fr
Subject: [Caml-list] Reference to undefined global `Toploop'
Date: Sun, 04 Jul 2004 17:02:54 +0200 [thread overview]
Message-ID: <40E81C1E.4000201@tiscali.it> (raw)
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
next reply other threads:[~2004-07-04 15:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-04 15:02 Luca [this message]
2004-07-04 15:09 Luca
2004-07-05 2:00 ` Keisuke Nakano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40E81C1E.4000201@tiscali.it \
--to=ululuca@tiscali.it \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).