* using log directory 'd:/Rcompile/CRANpkg/local/2.11/triggr.Rcheck' * using R version 2.11.1 Patched (2010-07-29 r52657) * using session charset: ISO8859-1 * checking for file 'triggr/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'triggr' version '0.2' * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'triggr' can be installed ... ERROR Installation failed. The installation logfile: * installing *source* package 'triggr' ... ** libs making DLL ... make[1]: Entering directory `/cygdrive/d/Rcompile/CRANpkg/local/2.11/triggr/src' gcc -I"d:/Rcompile/recent/R32-2.11.1/include" -I"d:/RCompile/CRANpkg/extralibs/local/include" -O3 -Wall -std=gnu99 -c code.c -o code.o code.c:15:21: error: pthread.h: No such file or directory code.c:17:25: error: sys/socket.h: No such file or directory code.c:18:24: error: netinet/in.h: No such file or directory In file included from code.c:27: ev.c:522:23: error: ev_win32.c: No such file or directory In file included from code.c:27: ev.c: In function 'ev_time': ev.c:768: warning: implicit declaration of function 'gettimeofday' ev.c: In function 'ev_feed_event': ev.c:898: warning: unused variable 'ocur_' ev.c: In function 'feed_reverse': ev.c:907: warning: unused variable 'ocur_' ev.c: In function 'fd_reify': ev.c:986: warning: left-hand operand of comma expression has no effect ev.c: In function 'fd_change': ev.c:1019: warning: unused variable 'ocur_' ev.c: In function 'evpipe_init': ev.c:1285: warning: implicit declaration of function 'pipe' In file included from ev.c:1512, from code.c:27: ev_select.c: In function 'select_modify': ev_select.c:82: warning: left-hand operand of comma expression has no effect ev_select.c:88: warning: suggest explicit braces to avoid ambiguous 'else' ev_select.c:96: warning: suggest explicit braces to avoid ambiguous 'else' ev_select.c: In function 'select_poll': ev_select.c:178: warning: suggest explicit braces to avoid ambiguous 'else' In file included from code.c:27: ev.c: In function 'verify_watcher': ev.c:1928: warning: left-hand operand of comma expression has no effect ev.c:1931: warning: left-hand operand of comma expression has no effect ev.c: In function 'verify_heap': ev.c:1941: warning: left-hand operand of comma expression has no effect ev.c:1942: warning: left-hand operand of comma expression has no effect ev.c:1943: warning: left-hand operand of comma expression has no effect ev.c: In function 'array_verify': ev.c:1954: warning: left-hand operand of comma expression has no effect ev.c: In function 'ev_verify': ev.c:1972: warning: left-hand operand of comma expression has no effect ev.c:1979: warning: left-hand operand of comma expression has no effect ev.c:1980: warning: left-hand operand of comma expression has no effect ev.c: In function 'timers_reify': ev.c:2160: warning: left-hand operand of comma expression has no effect ev.c: In function 'periodics_reify': ev.c:2199: warning: left-hand operand of comma expression has no effect ev.c:2186: warning: unused variable 'feed_count' ev.c: In function 'ev_run': ev.c:2348: warning: left-hand operand of comma expression has no effect ev.c: In function 'clear_pending': ev.c:2565: warning: dereferencing type-punned pointer will break strict-aliasing rules ev.c: In function 'ev_clear_pending': ev.c:2579: warning: dereferencing type-punned pointer will break strict-aliasing rules ev.c: In function 'ev_io_start': ev.c:2621: warning: left-hand operand of comma expression has no effect ev.c:2622: warning: left-hand operand of comma expression has no effect ev.c:2630: warning: suggest parentheses around arithmetic in operand of | ev.c: In function 'ev_io_stop': ev.c:2643: warning: left-hand operand of comma expression has no effect ev.c: In function 'ev_timer_start': ev.c:2663: warning: left-hand operand of comma expression has no effect ev.c:2669: warning: unused variable 'ocur_' ev.c: In function 'ev_timer_stop': ev.c:2691: warning: left-hand operand of comma expression has no effect ev.c: In function 'ev_periodic_start': ev.c:2751: warning: left-hand operand of comma expression has no effect ev.c:2762: warning: unused variable 'ocur_' ev.c: In function 'ev_periodic_stop': ev.c:2784: warning: left-hand operand of comma expression has no effect ev.c: In function 'ev_signal_start': ev.c:2821: warning: left-hand operand of comma expression has no effect ev.c:2824: warning: left-hand operand of comma expression has no effect ev.c: In function 'ev_stat_start': ev.c:3273: warning: dereferencing type-punned pointer will break strict-aliasing rules ev.c: In function 'ev_idle_start': ev.c:3335: warning: unused variable 'ocur_' ev.c: In function 'ev_prepare_start': ev.c:3375: warning: unused variable 'ocur_' ev.c: In function 'ev_check_start': ev.c:3413: warning: unused variable 'ocur_' ev.c: In function 'ev_embed_start': ev.c:3508: warning: left-hand operand of comma expression has no effect ev.c: In function 'ev_fork_start': ev.c:3560: warning: unused variable 'ocur_' ev.c: In function 'ev_cleanup_start': ev.c:3598: warning: unused variable 'ocur_' ev.c: In function 'ev_async_start': ev.c:3643: warning: unused variable 'ocur_' ev.c: In function 'ev_once': ev.c:3741: warning: dereferencing type-punned pointer will break strict-aliasing rules ev.c:3857:27: warning: "/*" within comment ev.c:3858:27: warning: "/*" within comment code.c:31:24: error: Rinterface.h: No such file or directory In file included from code.c:36: defs.h: At top level: defs.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'idleC' defs.h:88: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'idleM' defs.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'outSchedC' defs.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'outSchedM' defs.h:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gqM' In file included from code.c:39: InBuffer.c:26: warning: C99 inline functions are not supported; using GNU89 InBuffer.c:26: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute InBuffer.c:41: warning: C99 inline functions are not supported; using GNU89 InBuffer.c: In function 'tillRNRN': InBuffer.c:80: error: 'EWOULDBLOCK' undeclared (first use in this function) InBuffer.c:80: error: (Each undeclared identifier is reported only once InBuffer.c:80: error: for each function it appears in.) InBuffer.c: At top level: InBuffer.c:96: warning: C99 inline functions are not supported; using GNU89 In file included from code.c:43: WorkBuffer.c: In function 'killWorkBuffer': WorkBuffer.c:12: warning: unused variable 'c' In file included from code.c:45: Connection.c: At top level: Connection.c:12: warning: C99 inline functions are not supported; using GNU89 Connection.c:16: warning: C99 inline functions are not supported; using GNU89 Connection.c:21: warning: C99 inline functions are not supported; using GNU89 Connection.c: In function 'scheduleWork': Connection.c:86: warning: implicit declaration of function 'pthread_mutex_lock' Connection.c:86: error: 'gqM' undeclared (first use in this function) Connection.c:109: warning: implicit declaration of function 'pthread_mutex_unlock' Connection.c:112: error: 'idleM' undeclared (first use in this function) Connection.c:115: warning: implicit declaration of function 'pthread_cond_signal' Connection.c:115: error: 'idleC' undeclared (first use in this function) Connection.c: In function 'cbRead': Connection.c:139: error: 'gqM' undeclared (first use in this function) Connection.c: In function 'cbWrite': Connection.c:149: error: 'gqM' undeclared (first use in this function) Connection.c: In function 'cbAccept': Connection.c:182: error: 'socklen_t' undeclared (first use in this function) Connection.c:182: error: expected ';' before 'cliLen' Connection.c:184: error: 'cliLen' undeclared (first use in this function) Connection.c:186: warning: implicit declaration of function 'fcntl' Connection.c:186: error: 'F_SETFL' undeclared (first use in this function) Connection.c:186: error: 'F_GETFL' undeclared (first use in this function) Connection.c:186: error: 'O_NONBLOCK' undeclared (first use in this function) Connection.c:200: error: 'gqM' undeclared (first use in this function) Connection.c:214: warning: assignment from incompatible pointer type In file included from code.c:47: Trigger.c: In function 'cbIdleAgain': Trigger.c:12: error: 'gqM' undeclared (first use in this function) Trigger.c:22: error: 'outSchedM' undeclared (first use in this function) Trigger.c:23: error: 'outSchedC' undeclared (first use in this function) Trigger.c: In function 'trigger': Trigger.c:37: error: 'idleM' undeclared (first use in this function) Trigger.c:42: warning: dereferencing type-punned pointer will break strict-aliasing rules code.c: In function 'makeGlobalQueue': code.c:50: error: 'gqM' undeclared (first use in this function) code.c:54: warning: assignment from incompatible pointer type code.c: In function 'startTrigger': code.c:74: error: 'R_CStackLimit' undeclared (first use in this function) code.c:74: error: 'uintptr_t' undeclared (first use in this function) code.c:76: warning: assignment makes pointer from integer without a cast code.c:78: error: 'pthread_t' undeclared (first use in this function) code.c:78: error: expected ';' before 'thread' code.c:82: error: 'SIGPIPE' undeclared (first use in this function) code.c:87: warning: implicit declaration of function 'bzero' code.c:87: warning: incompatible implicit declaration of built-in function 'bzero' code.c:90: warning: passing argument 1 of 'htons' makes integer from pointer without a cast code.c:100: error: 'idleM' undeclared (first use in this function) code.c:101: warning: implicit declaration of function 'pthread_create' code.c:101: error: 'thread' undeclared (first use in this function) code.c:109: warning: implicit declaration of function 'pthread_cond_wait' code.c:109: error: 'idleC' undeclared (first use in this function) code.c:112: error: 'gqM' undeclared (first use in this function) code.c:162: error: 'outSchedM' undeclared (first use in this function) code.c:165: error: 'outSchedC' undeclared (first use in this function) code.c:174: warning: implicit declaration of function 'pthread_join' make[1]: *** [code.o] Error 1 make[1]: Leaving directory `/cygdrive/d/Rcompile/CRANpkg/local/2.11/triggr/src' ... done ERROR: compilation failed for package 'triggr' * removing 'd:/Rcompile/CRANpkg/lib/2.11/triggr'