caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Problems with PCRE
@ 2003-09-24  8:34 ALBERTO MUNYOZ GALLEGO
  2003-09-24 14:22 ` Markus Mottl
  0 siblings, 1 reply; 2+ messages in thread
From: ALBERTO MUNYOZ GALLEGO @ 2003-09-24  8:34 UTC (permalink / raw)
  To: caml-list

Hi there, 
 
We are using PCRE (4.3 -latest version- and 4.2) 
and PCRE OCAML (5.02 and 5.03) libraries for a UE 
project called POESIA. When compiling the 
application, we get the following errors: 
 
/usr/local/lib/ocaml/site-lib/pcre/libpcre_stubs.a(pcre_stubs.o): 
In function `pcre_ocaml_init': 
pcre_stubs.o(.text+0x159): undefined reference to 
`pcre_callout' 
/usr/local/lib/ocaml/site-lib/pcre/libpcre_stubs.a(pcre_stubs.o): 
In function `pcre_get_stringnumber_wrapper': 
pcre_stubs.o(.text+0x9bd): undefined reference to 
`pcre_get_stringnumber' 
/usr/local/lib/ocaml/site-lib/pcre/libpcre_stubs.a(pcre_stubs.o): 
In function `pcre_config_int': 
pcre_stubs.o(.text+0x9ff): undefined reference to 
`pcre_config' 
 
Apparently, the error is the same as the one that 
Makus Mottl posted last 30th July. 
It was like this: 
> when i install the lates version of pcre-ocaml , 
i can not make examples.  
> here is the error code. 
> 
../../lib/libpcre_stubs.a(pcre_stubs.o)(.text+0x1f5): 
In function `pcre_ocaml_init': 
> : undefined reference to `pcre_callout' 
[snip] 
> can anybody tell me what's wrong and how to 
solve it. 
 
The solution proposed was to install the latest 
version of PCRE. We've tried 4.3 -latest- version 
and 4.2, but the errors remain the same. 
 
Could anyone help us? 
 
Thank you very much from Boecillo (Spain). 
 

-------------------
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] Problems with PCRE
  2003-09-24  8:34 [Caml-list] Problems with PCRE ALBERTO MUNYOZ GALLEGO
@ 2003-09-24 14:22 ` Markus Mottl
  0 siblings, 0 replies; 2+ messages in thread
From: Markus Mottl @ 2003-09-24 14:22 UTC (permalink / raw)
  To: ALBERTO MUNYOZ GALLEGO; +Cc: caml-list

On Wed, 24 Sep 2003, ALBERTO MUNYOZ GALLEGO wrote:
> We are using PCRE (4.3 -latest version- and 4.2) 
> and PCRE OCAML (5.02 and 5.03) libraries for a UE 
> project called POESIA. When compiling the 
> application, we get the following errors: 
[snip]
> The solution proposed was to install the latest 
> version of PCRE. We've tried 4.3 -latest- version 
> and 4.2, but the errors remain the same. 

It is obviously the case that library paths are set incorrectly, i.e. the
wrong (an old) version of PCRE is linked with PCRE-OCaml. You can change
this by setting the LIBDIRS-path in Makefile.conf accordingly.

Regards,
Markus Mottl

-- 
Markus Mottl          http://www.oefai.at/~markus          markus@oefai.at

-------------------
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-24 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-24  8:34 [Caml-list] Problems with PCRE ALBERTO MUNYOZ GALLEGO
2003-09-24 14:22 ` Markus Mottl

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).