caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Johann Spies <jspies@sun.ac.za>
To: caml-list@inria.fr
Subject: [Caml-list] pcre-compilation problem
Date: Mon, 11 Mar 2002 13:00:13 +0200	[thread overview]
Message-ID: <20020311110013.GA26963@adept.co.za> (raw)

I can compile the bytecode but not natural code with the using the
following Makefile:
================================
ogtknw: dummy
ocamlfind ocamlc  -c -package lablgtk -labels -c gtknw_glade_interface.ml
ocamlfind ocamlc  -c -package lablgtk -labels -c gtknw_glade_callbacks.ml
ocamlfind ocamlc  -c -package lablgtk,pcre -c gtknw_glade_main.ml
ocamlfind ocamlc -package lablgtk,pcre -o ogtknw lablgtk.cma pcre.cma gtkInit.cmo gtknw_glade_callbacks.cmo gtknw_glade_interface.cmo gtknw_glade_main.cmo
ogtknw.opt: dummy
ocamlfind ocamlopt -c -package lablgtk -labels -c gtknw_glade_interface.ml
ocamlfind ocamlopt -c -package lablgtk -labels -c gtknw_glade_callbacks.ml
ocamlfind ocamlopt -c -package lablgtk,pcre -c gtknw_glade_main.ml
ocamlfind ocamlopt -package lablgtk,pcre -labels -o ogtknw.opt pcre.cmxa lablgtk.cmxa gtkInit.cmx gtknw_glade_callbacks.cmx gtknw_glade_interface.cmx gtknw_glade_main.cmx
clean:
	rm -f *.cm* *.o a.out ogtknw ogtknw.opt
dummy:
------------------------

When trying to "make ogtknw.opt" I get the following type of errors:

ocamlfind ocamlopt -package lablgtk,pcre -labels -o ogtknw.opt
pcre.cmxa lablgtk.cmxa gtkInit.cmx gtknw_glade_callbacks.cmx
gtknw_glade_interface.cmx gtknw_glade_main.cmx
/usr/local/lib/ocaml/pcre/pcre.a(pcre.o): In function
`Pcre_find_all_pats_340':
pcre.o(.text+0xadd): undefined reference to `pcre_exec_wrapper'
/usr/local/lib/ocaml/pcre/pcre.a(pcre.o): In function
`Pcre_find_all_pats_393':

I would appreciate some help on this please.

Johann
-- 
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "I am the vine, ye are the branches; He that abideth in
      me, and I in him, the same bringeth forth much fruit; 
      for without me ye can do nothing."              
                                           John 15:5 
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


                 reply	other threads:[~2002-03-11 11:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020311110013.GA26963@adept.co.za \
    --to=jspies@sun.ac.za \
    --cc=caml-list@inria.fr \
    /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).