* using log directory 'd:/Rcompile/CRANpkg/local/3.2/xgboost.Rcheck' * using R version 3.2.5 (2016-04-14) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'xgboost/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'xgboost' version '0.6-2' * 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 'xgboost' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.2/xgboost.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'xgboost' ... ** package 'xgboost' successfully unpacked and MD5 sums checked ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpK0IGRw/R.INSTALL1db44f81265c/xgboost/src-i386' g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -DRABIT_STRICT_CXX98_ -I"d:/RCompile/r-compiling/local/local323/include" -fopenmp -pthread -O2 -Wall -mtune=core2 -c xgboost_R.cc -o xgboost_R.o g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -DRABIT_STRICT_CXX98_ -I"d:/RCompile/r-compiling/local/local323/include" -fopenmp -pthread -O2 -Wall -mtune=core2 -c xgboost_custom.cc -o xgboost_custom.o gcc -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -DRABIT_STRICT_CXX98_ -I"d:/RCompile/r-compiling/local/local323/include" -O3 -Wall -std=gnu99 -mtune=core2 -c xgboost_assert.c -o xgboost_assert.o g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -DRABIT_STRICT_CXX98_ -I"d:/RCompile/r-compiling/local/local323/include" -fopenmp -pthread -O2 -Wall -mtune=core2 -c amalgamation/xgboost-all0.cc -o amalgamation/xgboost-all0.o In file included from d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/cstdio:44:0, from ./dmlc-core/include/dmlc/./logging.h:10, from ./dmlc-core/include/dmlc/registry.h:13, from ./include/xgboost/metric.h:10, from amalgamation/../src/metric/metric.cc:6, from amalgamation/xgboost-all0.cc:13: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/stdio.h:396:83: error: 'FILE* std::fopen(const char*, const char*)' should have been declared inside 'std' d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/stdio.h:396:83: error: declaration of 'FILE* std::fopen(const char*, const char*)' d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/stdio.h:395:17: error: conflicts with previous declaration 'FILE* fopen(const char*, const char*)' make[1]: *** [amalgamation/xgboost-all0.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpK0IGRw/R.INSTALL1db44f81265c/xgboost/src-i386' Warning: running command 'make -f "Makevars.win" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.2.5/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="xgboost.dll" ' had status 2 make[1]: Entering directory `/cygdrive/d/temp/RtmpK0IGRw/R.INSTALL1db44f81265c/xgboost/src-i386' g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -DRABIT_STRICT_CXX98_ -I"d:/RCompile/r-compiling/local/local323/include" -fopenmp -pthread -O2 -Wall -mtune=core2 -c amalgamation/xgboost-all0.cc -o amalgamation/xgboost-all0.o In file included from d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/cstdio:44:0, from ./dmlc-core/include/dmlc/./logging.h:10, from ./dmlc-core/include/dmlc/registry.h:13, from ./include/xgboost/metric.h:10, from amalgamation/../src/metric/metric.cc:6, from amalgamation/xgboost-all0.cc:13: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/stdio.h:396:83: error: 'FILE* std::fopen(const char*, const char*)' should have been declared inside 'std' d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/stdio.h:396:83: error: declaration of 'FILE* std::fopen(const char*, const char*)' d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/stdio.h:395:17: error: conflicts with previous declaration 'FILE* fopen(const char*, const char*)' make[1]: *** [amalgamation/xgboost-all0.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpK0IGRw/R.INSTALL1db44f81265c/xgboost/src-i386' Warning: running command 'make -f "Makevars.win" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.2.5/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="xgboost.dll" symbols.rds' had status 2 ERROR: compilation failed for package 'xgboost' * removing 'd:/Rcompile/CRANpkg/lib/3.2/xgboost' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.2/xgboost'