* using log directory 'd:/Rcompile/CRANpkg/local/2.11/VBmix.Rcheck' * using R version 2.11.1 Patched (2010-07-29 r52657) * using session charset: ISO8859-1 * checking for file 'VBmix/DESCRIPTION' ... OK * this is package 'VBmix' version '0.2.5' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'VBmix' can be installed ... ERROR Installation failed. The installation logfile: * installing *source* package 'VBmix' ... ** libs making DLL ... make[1]: Entering directory `/cygdrive/d/Rcompile/CRANpkg/local/2.11/VBmix/src' gcc -I"d:/Rcompile/recent/R32-2.11.1/include" -I"d:/RCompile/CRANpkg/extralibs/local/include" -O3 -Wall -std=gnu99 -c couple.c -o couple.o gcc -I"d:/Rcompile/recent/R32-2.11.1/include" -I"d:/RCompile/CRANpkg/extralibs/local/include" -O3 -Wall -std=gnu99 -c dirichlet.c -o dirichlet.o gcc -I"d:/Rcompile/recent/R32-2.11.1/include" -I"d:/RCompile/CRANpkg/extralibs/local/include" -O3 -Wall -std=gnu99 -c getLabels.c -o getLabels.o getLabels.c: In function 'getLabels': getLabels.c:29: warning: unused variable 'd' g++ -I"d:/Rcompile/recent/R32-2.11.1/include" -I"d:/RCompile/CRANpkg/extralibs/local/include" -O2 -Wall -c gmmkmsock.cpp -o gmmkmsock.o In file included from gmmkmsock.cpp:11: vbconstr.h:16:7: warning: no newline at end of file gmmkmsock.cpp:19:24: error: sys/socket.h: No such file or directory gmmkmsock.cpp:20:24: error: netinet/in.h: No such file or directory gmmkmsock.cpp:21:23: error: arpa/inet.h: No such file or directory gmmkmsock.cpp:22:19: error: netdb.h: No such file or directory gmmkmsock.cpp: In function 'void init_connection(SEXPREC*)': gmmkmsock.cpp:55: error: 'AF_INET' was not declared in this scope gmmkmsock.cpp:55: error: 'SOCK_STREAM' was not declared in this scope gmmkmsock.cpp:55: error: 'socket' was not declared in this scope gmmkmsock.cpp:56: error: variable 'SOCKADDR_IN sin' has initializer but incomplete type gmmkmsock.cpp:66: error: 'gethostbyname' was not declared in this scope gmmkmsock.cpp:74: error: invalid use of incomplete type 'struct hostent' gmmkmsock.cpp:57: error: forward declaration of 'struct hostent' gmmkmsock.cpp:75: error: 'htons' was not declared in this scope gmmkmsock.cpp:78: error: invalid application of 'sizeof' to incomplete type 'SOCKADDR' gmmkmsock.cpp:78: error: 'connect' was not declared in this scope gmmkmsock.cpp: In function 'SEXPREC* gmmkmsock(SEXPREC*, SEXPREC*, SEXPREC*, SEXPREC*, SEXPREC*)': gmmkmsock.cpp:383: error: 'send' was not declared in this scope gmmkmsock.cpp:385: warning: suggest parentheses around assignment used as truth value gmmkmsock.cpp:112: warning: unused variable 'd' gmmkmsock.cpp: At global scope: gmmkmsock.cpp:49: warning: 'void interrupt(int)' defined but not used make[1]: *** [gmmkmsock.o] Error 1 make[1]: Leaving directory `/cygdrive/d/Rcompile/CRANpkg/local/2.11/VBmix/src' ... done ERROR: compilation failed for package 'VBmix' * removing 'd:/Rcompile/CRANpkg/lib/2.11/VBmix'