[TRE-general] Strange regcomp memory problems
Ville Laurikari
ville at laurikari.net
Mon Feb 26 21:08:54 EET 2007
On Mon, Feb 26, 2007 at 01:23:26PM -0500, Seb Martin wrote:
> It seems like regcomp() is writing outside its memory space. Here is my
[clip]
> something? The only thing that I can think of is that I am declaring a gnu
> regex_t . That, or there is a severe memory issue with regcomp().
I'd be willing to bet you're just forgetting to link your program with
libtre. If so, you're using the TRE headers with the functions from
the C library, and that will produce effects exactly as you
described.
Try adding "-ltre" to the linker command line.
--
http://www.iki.fi/vl/
More information about the TRE-general
mailing list