From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 729AB7EFCD for ; Wed, 12 Nov 2014 17:00:48 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of kennethadammiller@gmail.com) identity=pra; client-ip=209.85.218.43; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="kennethadammiller@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of kennethadammiller@gmail.com designates 209.85.218.43 as permitted sender) identity=mailfrom; client-ip=209.85.218.43; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="kennethadammiller@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-oi0-f43.google.com) identity=helo; client-ip=209.85.218.43; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="postmaster@mail-oi0-f43.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqgBACODY1TRVdorm2dsb2JhbABcg2JZBIMCuSiOGIFmiG0HFgEBAQEBEQEBAQEBBgsLCRQug3kiER0BGx4DEggBBzcCJAERAQUBV4gJAQMSqTmDIT0xizOBc4MSigkKGScNaIYsAQUOkSOCYYFUBYwLiwKHJIFxjgWEdhgphVQfMIJLAQEB X-IPAS-Result: AqgBACODY1TRVdorm2dsb2JhbABcg2JZBIMCuSiOGIFmiG0HFgEBAQEBEQEBAQEBBgsLCRQug3kiER0BGx4DEggBBzcCJAERAQUBV4gJAQMSqTmDIT0xizOBc4MSigkKGScNaIYsAQUOkSOCYYFUBYwLiwKHJIFxjgWEdhgphVQfMIJLAQEB X-IronPort-AV: E=Sophos;i="5.07,369,1413237600"; d="scan'208";a="106362886" Received: from mail-oi0-f43.google.com ([209.85.218.43]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 12 Nov 2014 17:00:47 +0100 Received: by mail-oi0-f43.google.com with SMTP id e131so8861248oig.30 for ; Wed, 12 Nov 2014 08:00:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=WsZXj/CJOr1Xz1LQoGAy8WfXkoiZAtmjKWUlj1x0RXg=; b=mYIiGvivz/E/HCdrh3rZCjWzhms2u6OwYo9t131YV0Qv6kFAl4wMIrddG0oHDjcmpE 6jnvnrI7d/wQiY8xwCNtKRhfjS/XXFg+hIc1oYLDjfOmQvrQx1xxuTw9cWFbZhsWj2vU sVKFiHr2GGsVVmEQlRK0NfpimBpngQH0rM5Qe6L8deiFIa/62loOT9UWaMimszcCEPVA QY3fGVxeIdS0ootDdkY9+Np5a2Z+a/O8lBqegx3ruua/g+NHb5VaN/zJAq1Kty+9a2XY qZRI5XA+tWPLkOciqChoZNwMZSBQof0SrOh/nx8kMz8zyA0RMjBNYoC+2m4TMiIByVXQ uqkg== MIME-Version: 1.0 X-Received: by 10.202.2.79 with SMTP id 76mr1168323oic.106.1415808046115; Wed, 12 Nov 2014 08:00:46 -0800 (PST) Received: by 10.182.197.1 with HTTP; Wed, 12 Nov 2014 08:00:46 -0800 (PST) Date: Wed, 12 Nov 2014 11:00:46 -0500 Message-ID: From: Kenneth Adam Miller To: caml-list@inria.fr Content-Type: multipart/alternative; boundary=001a1137bac8a8c8820507ab7f89 Subject: [Caml-list] Undefined global, yet included on command line --001a1137bac8a8c8820507ab7f89 Content-Type: text/plain; charset=UTF-8 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? --001a1137bac8a8c8820507ab7f89 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm getting the following error:

Re= ference to undefined global `Service_piqi'

Where I have a service.piqi file and I'm generating the interface auto= matically, even adding it to my compile command. Compilation is failing on = literally the last command when I should spit out the result:
ocamlfind ocamlc =C2=A0-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?
--001a1137bac8a8c8820507ab7f89--