threads - Infrastructure for using threads in R packages - check results
RForge.net

threads

About threads
SVN access
Download/Files
Check results

Version: 0.1-0
Result: ERROR
Check time: 2018-01-26 22:28

Install log for Linux

* installing *source* package 'threads' ...
** libs
gcc -I"/usr/local/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -c mutex.c -o mutex.o
gcc -I"/usr/local/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -c threads.c -o threads.o
threads.c: In function 'ptest':
threads.c:193:3: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration]
sleep(1);
^~~~~
gcc -shared -L/usr/local/R/R-devel/lib -L/usr/local/lib -o threads.so mutex.o threads.o -L/usr/local/R/R-devel/lib -lR
installing to /threads/libs
** R
** byte-compile and prepare package for lazy loading
** help
No man pages found in package 'threads'
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error: package or namespace load failed for 'threads' in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/threads/libs/threads.so':
/threads/libs/threads.so: undefined symbol: R_CollectFromIndex
Error: loading failed
Execution halted
ERROR: loading failed
* removing '/threads'

Distribution log

SVN checkout/GIT clone log


Build log for Mac OS X 10.5 (R 2.16.x)

Warning: invalid package 'hreads'
Error: ERROR: no packages specified

Build log for Windows 7 (R 3.0.x)

(threads 0.1-0)
* installing to library 'z:/rforge/Rlib/win7-3.0'
* installing *source* package 'threads' ...
** libs

*** arch - i386
gcc -m32 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O3 -Wall -std=gnu99 -mtune=core2 -c mutex.c -o mutex.o
gcc -m32 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O3 -Wall -std=gnu99 -mtune=core2 -c threads.c -o threads.o
threads.c:4:42: fatal error: Rinterface.h: No such file or directory
compilation terminated.
make: *** [threads.o] Error 1
ERROR: compilation failed for package 'threads'
* removing 'z:/rforge/Rlib/win7-3.0/threads'