From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA13364; Mon, 11 Mar 2002 12:00:24 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA13830 for ; Mon, 11 Mar 2002 12:00:23 +0100 (MET) Received: from maties2.sun.ac.za (maties2.sun.ac.za [146.232.128.10]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g2BB0K103940 for ; Mon, 11 Mar 2002 12:00:21 +0100 (MET) Received: from bywoner.sun.ac.za ([146.232.129.121] helo=bywoner) by maties2.sun.ac.za with esmtp (Exim 3.35 #1) id 16kNXJ-0001oW-00 for caml-list@inria.fr; Mon, 11 Mar 2002 13:00:13 +0200 Received: from js by bywoner with local (Exim 3.34 #1 (Debian)) id 16kNXJ-00072N-00 for ; Mon, 11 Mar 2002 13:00:13 +0200 Date: Mon, 11 Mar 2002 13:00:13 +0200 From: Johann Spies To: caml-list@inria.fr Subject: [Caml-list] pcre-compilation problem Message-ID: <20020311110013.GA26963@adept.co.za> Mail-Followup-To: Johann Spies , caml-list@inria.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i X-Scanner: exiscan *16kNXJ-0001oW-00*3PYoBuTV4c6* http://duncanthrax.net/exiscan/ Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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