Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Problems with PCRE
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: ALBERTO MUNYOZ GALLEGO <albmg@t...>
Subject: [Caml-list] Problems with PCRE
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