You should probably also include "-package num -linkpkg". On Wed, Nov 12, 2014 at 5:14 PM, Kenneth Adam Miller < kennethadammiller@gmail.com> wrote: > 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 > > >