* using log directory 'd:/Rcompile/CRANpkg/local/3.3/OpenMPController.Rcheck' * using R version 3.3.3 (2017-03-06) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'OpenMPController/DESCRIPTION' ... OK * this is package 'OpenMPController' version '0.2-4' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'OpenMPController' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.3/OpenMPController.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'OpenMPController' ... ** package 'OpenMPController' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpqQQxzK/R.INSTALL217c717e7cb7/OpenMPController/src-i386' d:/Compiler/gcc-4.9.3/mingw_32/bin/gcc -I"D:/RCompile/recent/R-3.3.3/include" -DNDEBUG -I"d:/Compiler/gcc-4.9.3/local330/include" -fopenmp -O3 -Wall -std=gnu99 -mtune=core2 -c omp_set_num_threads_ptr.c -o omp_set_num_threads_ptr.o omp_set_num_threads_ptr.c:18:8: error: unknown type name 'R_NativePrimitiveArgType' static R_NativePrimitiveArgType omp_set_num_threads_ptr_t[] = { ^ omp_set_num_threads_ptr.c:22:14: error: unknown type name 'R_CMethodDef' static const R_CMethodDef cMethods[] = { ^ omp_set_num_threads_ptr.c:23:4: warning: braces around scalar initializer {"omp_set_num_threads_ptr", (DL_FUNC) &omp_set_num_threads_ptr, 1, omp_set_num_threads_ptr_t}, ^ omp_set_num_threads_ptr.c:23:4: warning: (near initialization for 'cMethods[0]') omp_set_num_threads_ptr.c:23:4: warning: initialization makes integer from pointer without a cast omp_set_num_threads_ptr.c:23:4: warning: (near initialization for 'cMethods[0]') omp_set_num_threads_ptr.c:23:33: error: 'DL_FUNC' undeclared here (not in a function) {"omp_set_num_threads_ptr", (DL_FUNC) &omp_set_num_threads_ptr, 1, omp_set_num_threads_ptr_t}, ^ omp_set_num_threads_ptr.c:23:4: warning: excess elements in scalar initializer {"omp_set_num_threads_ptr", (DL_FUNC) &omp_set_num_threads_ptr, 1, omp_set_num_threads_ptr_t}, ^ omp_set_num_threads_ptr.c:23:4: warning: (near initialization for 'cMethods[0]') omp_set_num_threads_ptr.c:23:4: warning: excess elements in scalar initializer omp_set_num_threads_ptr.c:23:4: warning: (near initialization for 'cMethods[0]') omp_set_num_threads_ptr.c:23:4: warning: excess elements in scalar initializer omp_set_num_threads_ptr.c:23:4: warning: (near initialization for 'cMethods[0]') omp_set_num_threads_ptr.c:24:4: warning: braces around scalar initializer {NULL} ^ omp_set_num_threads_ptr.c:24:4: warning: (near initialization for 'cMethods[1]') omp_set_num_threads_ptr.c:24:4: warning: initialization makes integer from pointer without a cast omp_set_num_threads_ptr.c:24:4: warning: (near initialization for 'cMethods[1]') omp_set_num_threads_ptr.c:28:25: error: unknown type name 'DllInfo' R_init_OpenMPController(DllInfo *info) ^ make[1]: *** [omp_set_num_threads_ptr.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpqQQxzK/R.INSTALL217c717e7cb7/OpenMPController/src-i386' Warning: running command 'make -f "Makevars" -f "D:/RCompile/recent/R-3.3.3/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.3.3/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.3.3/share/make/winshlib.mk" SHLIB="OpenMPController.dll" OBJECTS="omp_set_num_threads_ptr.o"' had status 2 ERROR: compilation failed for package 'OpenMPController' * removing 'd:/Rcompile/CRANpkg/lib/3.3/OpenMPController' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.3/OpenMPController'