Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: "Joel Reymont" <joelr1@gmail.com>
Cc: "OCaml List" <caml-list@inria.fr>, "Richard Jones" <rich@annexia.org>
Subject: Re: [Caml-list] camlp4, calendar and undefined global Str
Date: Mon, 21 May 2007 13:06:17 +0200	[thread overview]
Message-ID: <cd67f63a0705210406q33f87f66nd29773a6b2f0e374@mail.gmail.com> (raw)
In-Reply-To: <42E0263B-7676-40C4-ADB0-F6345FDC23BE@gmail.com>

On 5/21/07, Joel Reymont <joelr1@gmail.com> wrote:
> Folks,
>
> Does this tell you something? How do you fix this?

You need to link with str. Perhaps just a -package str,unix,extlib,pcre,calendar

>
>         Thanks, Joel
>
> ---
>
> ocamlfind ocamlc -g -package unix,extlib,pcre,calendar -I ../ocaml-
> csv-1.1.6 -linkpkg csv.cma \
>    -pp "camlp4o /usr/local/lib/ocaml/unix.cma -I +pcre /usr/local/lib/
> ocaml/site-lib/pcre/pcre.cma -I +extlib /usr/local/lib/ocaml/site-lib/
> extlib/extLib.cma -I +calendar /usr/local/lib/ocaml/site-lib/calendar/
> calendar.cma -I ../ocaml-csv-1.1.6 csv.cma ./pgocaml.cma ./
> pa_pgsql.cmo" -c test_pgocaml.ml
> Camlp4: Uncaught exception: DynLoader.Error ("/usr/local/lib/ocaml/
> site-lib/calendar/calendar.cma", "error while linking /usr/local/lib/
> ocaml/site-lib/calendar/calendar.cma.\nReference to undefined global
> `Str'")
>
> Preprocessor error
> make: *** [test_pgocaml.cmo] Error 2
>
> --
> http://wagerlabs.com/
>
>
>
>
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>


-- 
Nicolas Pouillard


  reply	other threads:[~2007-05-21 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-21 11:04 Joel Reymont
2007-05-21 11:06 ` Nicolas Pouillard [this message]
2007-05-21 11:07 ` Joel Reymont

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=cd67f63a0705210406q33f87f66nd29773a6b2f0e374@mail.gmail.com \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=joelr1@gmail.com \
    --cc=rich@annexia.org \
    /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