[R] problem compiling R-1.6.1 on WinNT: pcre

Liaw, Andy andy_liaw at merck.com
Sat Nov 2 05:07:21 CET 2002


Dear R-help,

(This is the first time I tried compiling 1.6.x from source on WinNT4, so
please bear with me...)

I tried following the instruction in src/gnuwin32/INSTALL as closely as I
could, but encounter the following errors at the make step.  Can some kind
soul please help?  I'm using pcre-3.9 and MinGW-2.0.0-3.  I checked and
libRpcre.a _is_ in src/extra/pcre.

TIA,
Andy

...
gcc  --shared -s -mwindows -o R.dll R.def R.a malloc.o libmain.a libappl.a
libmath.a ga.a gl.a xdr.a ../extra/zlib/libz.a ../extra/pcre/libRpcre.a
../extra/bzip2/libbz2.a dllversion.o -L. -lg2c -lRblas -lcomctl32 -lversion
libmain.a(pcre.o)(.text+0x108):pcre.c: undefined reference to `pcre_compile'
libmain.a(pcre.o)(.text+0x16e):pcre.c: undefined reference to `pcre_exec'
libmain.a(pcre.o)(.text+0x19d):pcre.c: undefined reference to `pcre_free'
libmain.a(pcre.o)(.text+0x499):pcre.c: undefined reference to `pcre_compile'
libmain.a(pcre.o)(.text+0x4bb):pcre.c: undefined reference to `pcre_info'
libmain.a(pcre.o)(.text+0x587):pcre.c: undefined reference to `pcre_exec'
libmain.a(pcre.o)(.text+0x603):pcre.c: undefined reference to `pcre_free'
libmain.a(pcre.o)(.text+0x611):pcre.c: undefined reference to `pcre_free'
libmain.a(pcre.o)(.text+0x6ca):pcre.c: undefined reference to `pcre_exec'
libmain.a(pcre.o)(.text+0x882):pcre.c: undefined reference to `pcre_compile'
libmain.a(pcre.o)(.text+0x909):pcre.c: undefined reference to `pcre_exec'
libmain.a(pcre.o)(.text+0x939):pcre.c: undefined reference to `pcre_free'
../extra/pcre/libRpcre.a(get.o)(.text+0x9e):get.c: undefined reference to
`pcre_malloc'
../extra/pcre/libRpcre.a(get.o)(.text+0x12c):get.c: undefined reference to
`pcre_free'
../extra/pcre/libRpcre.a(get.o)(.text+0x17a):get.c: undefined reference to
`pcre_malloc'
../extra/pcre/libRpcre.a(get.o)(.text+0x1cc):get.c: undefined reference to
`pcre_free'
../extra/pcre/libRpcre.a(maketables.o)(.text+0x20):maketables.c: undefined
reference to `pcre_malloc'
../extra/pcre/libRpcre.a(study.o)(.text+0x64e):study.c: undefined reference
to `pcre_malloc'
make[1]: *** [R.dll] Error 1
make[1]: Leaving directory `/cygdrive/g/Rbuild/R-1.6.1/src/gnuwin32'
make: *** [all] Error 2




------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message.  If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it.

==============================================================================

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list