[Rd] Trying to compile R 3.5.2 - 32 bit R - on Windows 10 64 bit - with ICU support

Andre Mikulec @ndre_m|ku|ec @end|ng |rom hotm@||@com
Sat Feb 16 11:12:38 CET 2019


Hi,

I am trying to compile R with ICU support.

I am following
https://cran.r-project.org/doc/manuals/R-admin.html#Building-from-source

I have downloaded and extracted
https://www.stats.ox.ac.uk/pub/Rtools/goodies/ICU_531.zip
to
W:\R-3.5._\App\R-Portable\ICU

I have modified MkRules.local

# set to use ICU
USE_ICU = YES
# path to parent of ICU headers
ICU_PATH = w:/R-3.5._/App/R-Portable/ICU

I have done

export R_ICU_LOCALE=en_US

When I try to compile ( 32 bit compile ), I am getting these errors.

w:/Rtools35/mingw_32/bin/gcc -std=gnu99 -m32 -shared -s -mwindows -o R.dll R.def console.o dynload.o editor.o embeddedR.o extra.o malloc.o opt.o pager.o pr
eferences.o psignal.o rhome.o rt_complete.o rui.o run.o shext.o sys-win32.o system.o dos_wglob.o dllversion.o e_pow.o ../main/libmain.a ../appl/libappl.a .
./nmath/libnmath.a getline/gl.a ../extra/xdr/libxdr.a ../extra/intl/libintl.a ../extra/trio/libtrio.a ../extra/tzone/libtz.a ../extra/tre/libtre.a -fopenmp
 -L. -lgfortran -lquadmath -lRblas -L../../bin/i386 -lRgraphapp -lRiconv -lcomctl32 -lwinmm -lversion -L"../../extsoft"/lib/i386 -lpcre -lz -lbz2 -llzma -L
"w:/R-3.5._/App/R-Portable/ICU"/lib/i386 -lsicuin -lsicuuc -lsicudt -lstdc++
w:/R-3.5._/App/R-Portable/ICU/lib/i386/libsicuin.a(ucol.ao):ucol.cpp:(.text+0x15): undefined reference to `__gxx_personality_sj0'
w:/R-3.5._/App/R-Portable/ICU/lib/i386/libsicuin.a(ucol.ao):ucol.cpp:(.text+0x2b): undefined reference to `_Unwind_SjLj_Register'
w:/R-3.5._/App/R-Portable/ICU/lib/i386/libsicuin.a(ucol.ao):ucol.cpp:(.text+0xde): undefined reference to `_Unwind_SjLj_Unregister'
w:/R-3.5._/App/R-Portable/ICU/lib/i386/libsicuin.a(ucol.ao):ucol.cpp:(.text+0xf5): undefined reference to `_Unwind_SjLj_Unregister'
w:/R-3.5._/App/R-Portable/ICU/lib/i386/libsicuin.a(ucol.ao):ucol.cpp:(.text+0x13e): undefined reference to `_Unwind_SjLj_Resume'

Thanks
Andre



[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>     Virus-free. www.avg.com<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>

	[[alternative HTML version deleted]]



More information about the R-devel mailing list