From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr 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 553787EFCD for ; Wed, 12 Nov 2014 17:14:07 +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.214.170; 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.214.170 as permitted sender) identity=mailfrom; client-ip=209.85.214.170; 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-ob0-f170.google.com) identity=helo; client-ip=209.85.214.170; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="postmaster@mail-ob0-f170.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqgBANKGY1TRVdaqm2dsb2JhbABcg2JZBIMCuHaOSoFuh08CgRQHFgEBAQEBEQEBAQEBBgsLCRQuhAIBAQEDARIRHQEbEgwDAQsGAwIEBw0NHQICIgERAQUBChIZEggIiAkBAwkJDZwVkD49MYszgXODEooJChknAwpohgYBAQEHAQEBAQEBFgEFDpECCxaCYYFUBYUiBYZkiwKCSIRcgTQ9kGyCDxgphVQfMIJLAQEB X-IPAS-Result: AqgBANKGY1TRVdaqm2dsb2JhbABcg2JZBIMCuHaOSoFuh08CgRQHFgEBAQEBEQEBAQEBBgsLCRQuhAIBAQEDARIRHQEbEgwDAQsGAwIEBw0NHQICIgERAQUBChIZEggIiAkBAwkJDZwVkD49MYszgXODEooJChknAwpohgYBAQEHAQEBAQEBFgEFDpECCxaCYYFUBYUiBYZkiwKCSIRcgTQ9kGyCDxgphVQfMIJLAQEB X-IronPort-AV: E=Sophos;i="5.07,369,1413237600"; d="scan'208";a="106366283" Received: from mail-ob0-f170.google.com ([209.85.214.170]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 12 Nov 2014 17:14:06 +0100 Received: by mail-ob0-f170.google.com with SMTP id nt9so10251706obb.1 for ; Wed, 12 Nov 2014 08:14:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3WIMWqZnwBcoalg+xyeiwKB6YCJOR5tTikT0A6pLjK4=; b=f8KIP9suwjFR0pcVARg7iDzqos6we4ZrRQqKdUr3iQgjIml9Ll6xlEix8oXE8PyNve 3NxSCKkkVmi46SLy/3/vmozIXptzg0sQh2OMVmB2JBeHxjD72QpFb2DihEVkwsQN5ZiO CGKQn/zZm2ldVEY5av9b9P/+T4LUqfLGEuWhjyXwh2UgAKc5g0mtAB3afjAEvFNHasd4 7EyHH4F44T2qdWt8G1w3rgeyr3zK5JnLRrwUUhdM/3pV3pWPrHlxp6PqxDIftif+57t3 wyiaOdkEaPrAXsJmlfXS40Gq9N0VWJApGtccfxdgooKpA8sEw3gNFcrh/fI5j+ronE2g 7f9g== MIME-Version: 1.0 X-Received: by 10.202.217.137 with SMTP id q131mr1292573oig.100.1415808845550; Wed, 12 Nov 2014 08:14:05 -0800 (PST) Received: by 10.182.197.1 with HTTP; Wed, 12 Nov 2014 08:14:05 -0800 (PST) In-Reply-To: References: Date: Wed, 12 Nov 2014 11:14:05 -0500 Message-ID: From: Kenneth Adam Miller To: caml-list@inria.fr Content-Type: multipart/alternative; boundary=001a113d40d84f1c3c0507abaf9b Subject: Re: [Caml-list] Undefined global, yet included on command line --001a113d40d84f1c3c0507abaf9b Content-Type: text/plain; charset=UTF-8 Cool!! Thanks, now I'm getting "Reference to undefined global 'Big_int'" On Wed, Nov 12, 2014 at 11:04 AM, David Allsopp wrote: > Kenneth Adam Miller wrote: > > 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 > > Your module order is wrong. service_piqi.cmo needs to come before > serve.cmo (because it uses it). > > > David > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs --001a113d40d84f1c3c0507abaf9b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Cool!! Thanks, now I'm getting "Reference to unde= fined global 'Big_int'"

On Wed, Nov 12, 2014 at 11:04 AM, David Allsopp <d= ra-news@metastack.com> wrote:
Kenneth Adam Miller wrote:
> 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 litera= lly the
> last command when I should spit out the result:
>
> ocamlfind ocamlc =C2=A0-o Serve
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0serve.cmo main.cmo service_piqi.cm= o

Your module order is wrong. service_piqi.cmo needs to come before se= rve.cmo (because it uses it).


David

--
Caml-list mailing list.=C2=A0 Subscription management and archives:
ht= tps://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
<= br>
--001a113d40d84f1c3c0507abaf9b--