caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Undefined global, yet included on command line
@ 2014-11-12 16:00 Kenneth Adam Miller
  2014-11-12 16:04 ` David Allsopp
  0 siblings, 1 reply; 4+ messages in thread
From: Kenneth Adam Miller @ 2014-11-12 16:00 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

I'm getting the following error:

Reference to undefined global `Service_piqi'

Where I have a service.piqi file and I'm generating the interface
automatically, even adding it to my compile command. Compilation is failing
on literally the last command when I should spit out the result:

ocamlfind ocamlc  -o Serve
serve.cmo main.cmo service_piqi.cmo

Even when I open up the machine generated ml file, it includes the correct
declaration for the module that I want to use. If I change the module name
in serve.ml, which uses the module in service_piqi.ml, I get unbound module
errors. I have no earthly idea what is going on.

How do I get compilation to complete?

[-- Attachment #2: Type: text/html, Size: 963 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-12 16:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-12 16:00 [Caml-list] Undefined global, yet included on command line Kenneth Adam Miller
2014-11-12 16:04 ` David Allsopp
2014-11-12 16:14   ` Kenneth Adam Miller
2014-11-12 16:18     ` Gabriel Scherer

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