From: Damien Doligez <Damien.Doligez@inria.fr>
To: John Skaller <skaller@ozemail.com.au>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Dumb question on bytecode compiler
Date: Tue, 17 Jun 2003 14:26:56 +0200 [thread overview]
Message-ID: <FC1C11A2-A0BE-11D7-9A67-0003930FCE12@inria.fr> (raw)
In-Reply-To: <3EEDDDEE.2000100@ozemail.com.au>
On Monday, June 16, 2003, at 05:10 PM, John Skaller wrote:
> Error while linking src/flxlib.cma(Flx_lex):
> Reference to undefined global `Flx_lex'
You have used a fully-qualified identifier of Flx_lex inside Flx_lex
itself (for example, Flx_lex.foobar). This is a violation of the
scoping
rules of O'Caml : the name of the current module is not visible inside
the body of the module itself. The native-code linker doesn't notice
because
it is restricted to a flat name space.
> FYI: the source for Flx_lex is generated by ocamllex.
The bug is in a part that you have written by hand.
-- Damien
-------------------
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
prev parent reply other threads:[~2003-06-17 12:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-16 15:10 John Skaller
2003-06-17 12:26 ` Damien Doligez [this message]
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=FC1C11A2-A0BE-11D7-9A67-0003930FCE12@inria.fr \
--to=damien.doligez@inria.fr \
--cc=caml-list@inria.fr \
--cc=skaller@ozemail.com.au \
/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