* using log directory 'd:/Rcompile/CRANpkg/local/2.14/aqr.Rcheck' * using R version 2.14.2 (2012-02-29) * using platform: i386-pc-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'aqr/DESCRIPTION' ... OK * this is package 'aqr' version '0.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 whether package 'aqr' can be installed ... ERROR Installation failed. The installation logfile: * installing *source* package 'aqr' ... ** package 'aqr' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/Rcompile/CRANpkg/local/2.14/aqr/src-i386' gcc -I"D:/Rcompile/recent/R-2.14.2/include" -I"d:/Rcompile/CRANpkg/extralibs215/local215/include" -O3 -Wall -std=gnu99 -mtune=core2 -c am.c -o am.o In file included from D:/Rcompile/recent/R-2.14.2/include/R.h:44:0, from am.c:49: D:/Rcompile/recent/R-2.14.2/include/R_ext/RS.h:43:0: warning: "ERROR" redefined [enabled by default] d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/wingdi.h:70:0: note: this is the location of the previous definition gcc -shared -s -static-libgcc -o aqr.dll tmp.def am.o -lwsock32 -Ld:/Rcompile/CRANpkg/extralibs215/local215/lib/i386 -Ld:/Rcompile/CRANpkg/extralibs215/local215/lib -LD:/Rcompile/recent/R-2.14.2/bin/i386 -lR am.o:am.c:(.text+0xddf): undefined reference to `pthread_mutex_lock' am.o:am.c:(.text+0xe67): undefined reference to `pthread_mutex_unlock' am.o:am.c:(.text+0xe73): undefined reference to `pthread_mutex_lock' am.o:am.c:(.text+0xe89): undefined reference to `pthread_cond_signal' am.o:am.c:(.text+0xe95): undefined reference to `pthread_mutex_unlock' am.o:am.c:(.text+0xf88): undefined reference to `pthread_exit' am.o:am.c:(.text+0x11ec): undefined reference to `pthread_create' am.o:am.c:(.text+0x18e3): undefined reference to `pthread_mutex_lock' am.o:am.c:(.text+0x19df): undefined reference to `pthread_mutex_lock' am.o:am.c:(.text+0x19f5): undefined reference to `pthread_mutex_unlock' am.o:am.c:(.text+0x1a01): undefined reference to `pthread_mutex_unlock' am.o:am.c:(.text+0x1a4a): undefined reference to `pthread_mutex_lock' am.o:am.c:(.text+0x1a70): undefined reference to `pthread_cond_wait' am.o:am.c:(.text+0x1a85): undefined reference to `pthread_mutex_unlock' am.o:am.c:(.text+0x1ad2): undefined reference to `pthread_mutex_lock' am.o:am.c:(.text+0x1b74): undefined reference to `pthread_mutex_unlock' collect2: ld returned 1 exit status make[1]: Leaving directory `/cygdrive/d/Rcompile/CRANpkg/local/2.14/aqr/src-i386' ERROR: compilation failed for package 'aqr' * removing 'd:/Rcompile/CRANpkg/lib/2.14/aqr' * restoring previous 'd:/Rcompile/CRANpkg/lib/2.14/aqr'