From ripley at stats.ox.ac.uk  Tue Apr 29 12:11:40 2003
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue Apr 29 12:11:53 2003
Subject: [Rd] Red Hat 9 regex symbol conflict
In-Reply-To: <Pine.LNX.4.44.0304291041130.5286-100000@gannet.stats>
Message-ID: <Pine.LNX.4.44.0304291109120.5367-100000@gannet.stats>

On Tue, 29 Apr 2003, Prof Brian Ripley wrote:

> 2) Can you explore the use of -DUSE_SYSTEM_REGEX, which is designed for 
> exactly this sort of problem?
> 
> As I understand it, you are getting calls from regex.o in libR.so resolved
> into some other library rather than the symbol in the same module.
> (re_compile_fastmap is called nowhere else).  If that can happen (and it
> seems perverse), surely regcomp and regexp called from e.g. character.o
> could get resolved to a library other than libR.so.  I don't see we have
> much option but to remap the names R uses to be safe.

Sorry, my grep missed this: the names used are already remapped in 
Rregex.h.

I've made the others static in R-patched.

B
-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] Red Hat 9 regex symbol conflict
Prof Brian Ripley