From hin-tak.leung at cimr.cam.ac.uk  Fri Jan 19 15:31:14 2007
From: hin-tak.leung at cimr.cam.ac.uk (Hin-Tak Leung)
Date: Fri, 19 Jan 2007 14:31:14 +0000
Subject: [Rd] pcre library in R (PR#9319)
In-Reply-To: <f13f1c9c0701182319r532aa912p22b3584765911884@mail.gmail.com>
References: <f13f1c9c0701182319r532aa912p22b3584765911884@mail.gmail.com>
Message-ID: <45B0D632.6040600@cimr.cam.ac.uk>

The usual drill: The problem is fixed in R 2.4.1 (i.e. please do
not report bugs on old versions). In addition, you need newer mingw
than you have.

Daniel Berg wrote:
> I have the same problem, trying to cross-compile.
> 
> I'm running Ubuntu Edgy, kernel 2.6.17-10-generic, on an IBM T60.
> 
> I downloaded the Makefile from CRAN and ran make CrossCompileBuild
> with the following error messages (also ran each make one at the time
> and the problem occurs in make R):
> 
> ../extra/pcre/libpcre.a(pcre_dfa_exec.o):pcre_dfa_exec.c:(.text+0x1703):
> undefined reference to `__pcre_ucp_findprop'
> ../extra/pcre/libpcre.a(pcre_dfa_exec.o):pcre_dfa_exec.c:(.text+0x1740):
> undefined reference to `__pcre_ucp_findprop'
> ../extra/pcre/libpcre.a(pcre_dfa_exec.o):pcre_dfa_exec.c:(.text+0x1848):
> undefined reference to `__pcre_ucp_findprop'
> ../extra/pcre/libpcre.a(pcre_dfa_exec.o):pcre_dfa_exec.c:(.text+0x187f):
> undefined reference to `__pcre_ucp_findprop'
> ../extra/pcre/libpcre.a(pcre_dfa_exec.o):pcre_dfa_exec.c:(.text+0x1966):
> undefined reference to `__pcre_ucp_findprop'
> ../extra/pcre/libpcre.a(pcre_dfa_exec.o):pcre_dfa_exec.c:(.text+0x1f2a):
> more undefined references to `__pcre_ucp_findprop' follow
> collect2: ld returned 1 exit status
> make[4]: *** [R.dll] Error 1
> make[3]: *** [../../bin/R.dll] Error 2
> make[2]: *** [rbuild] Error 2
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/daniel/Jobb/R/RCrossBuild/WinR/R-2.4.0/src/gnuwin32'
> 
> Can you please report in greater detail how you added the files
> pcre_ucp_searchfuncs.c and ucptable.c Mr. Kinney?
> I have downloaded the files but I don't know where to put them, under
> /WinR/R-2.4.0/src/extra/pcre? And to which makefile, Makefilw.win?
> 
> Thank you.
> 
> Best wishes,
> Daniel Berg



[Rd] pcre library in R (PR#9319)
Hin-Tak Leung