caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Nicolas George <nicolas.george@ens.fr>
To: Johann Spies <jhspies@adept.co.za>
Cc: ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] How to use pcre (3)
Date: Thu, 6 Sep 2001 23:12:11 +0200	[thread overview]
Message-ID: <20010906231211.A3186@aimlin> (raw)
In-Reply-To: <87heug5c81.fsf_-_@adept.co.za>; from jhspies@adept.co.za on Thu, Sep 06, 2001 at 09:51:58PM +0200

Le jeudi 06 septembre 2001 à 21:51, Johann Spies a écrit :
> $ocamlfind ocamlopt -o rex -I /usr/lib/ocaml/contrib -ccopt
> -L/usr/lib/ocaml/contrib  -cclib -llibpcre.a -linkall /tmp/rex.ml
>
> No implementations provided for the following modules:
>   Pcre referenced from /tmp/rex.cmx

You provide code for the C-OCaml binding, but not the OCaml functions of
Pcre. You should try something like that:

ocamlopt -o rex -I +contrib pcre.cmxa /tmp/rex.ml

The archives (cma and cmxa) il the latest versions of OCaml, record the
compiler options needed. And the +contrib is a shortcut for
/path/of/ocaml/distribution/contrib.
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


  reply	other threads:[~2001-09-06 22:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-06 13:03 [Caml-list] How to use pcre Johann Spies
2001-09-06 13:29 ` Markus Mottl
2001-09-06 13:44   ` Johann Spies
2001-09-06 14:21   ` [Caml-list] How to use pcre (2) Johann Spies
2001-09-06 14:45     ` Markus Mottl
2001-09-06 19:51       ` [Caml-list] How to use pcre (3) Johann Spies
2001-09-06 21:12         ` Nicolas George [this message]
2001-09-06 21:23         ` Markus Mottl
2001-09-07  6:59           ` Johann Spies
2001-09-06 21:28         ` Gerd Stolpmann
2001-09-06 21:55           ` Markus Mottl
2001-09-06 22:14           ` Alain Frisch

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=20010906231211.A3186@aimlin \
    --to=nicolas.george@ens.fr \
    --cc=caml-list@inria.fr \
    --cc=jhspies@adept.co.za \
    /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;
as well as URLs for NNTP newsgroup(s).