* using log directory 'd:/Rcompile/CRANpkg/RNetCDF.Rcheck' * checking for file 'RNetCDF/DESCRIPTION' ... OK * checking if this is a source package ... OK * checking whether package 'RNetCDF' can be installed ... ERROR Installation failed. The installation logfile: Using auto-selected zip options ' RNetCDF-HELP=ziponly' ---------- Making package RNetCDF ------------ ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** adding build stamp to DESCRIPTION making DLL ... making RNetCDF.d from RNetCDF.c gcc -Id:/Rcompile/recent/R/include -Wall -O2 -c RNetCDF.c -o RNetCDF.o RNetCDF.c:48:20: netcdf.h: No such file or directory RNetCDF.c:49:21: udunits.h: No such file or directory RNetCDF.c: In function `R_nc_copy_att': RNetCDF.c:67: error: `NC_MAX_NAME' undeclared (first use in this function) RNetCDF.c:67: error: (Each undeclared identifier is reported only once RNetCDF.c:67: error: for each function it appears in.) RNetCDF.c:89: error: `NC_GLOBAL' undeclared (first use in this function) RNetCDF.c:99: warning: implicit declaration of function `nc_redef' RNetCDF.c:100: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:101: warning: implicit declaration of function `nc_strerror' RNetCDF.c:101: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:108: warning: implicit declaration of function `nc_copy_att' RNetCDF.c:111: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:116: warning: implicit declaration of function `nc_enddef' RNetCDF.c:118: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:67: warning: unused variable `ncattname' RNetCDF.c: In function `R_nc_delete_att': RNetCDF.c:136: error: `NC_MAX_NAME' undeclared (first use in this function) RNetCDF.c:158: error: `NC_GLOBAL' undeclared (first use in this function) RNetCDF.c:164: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:165: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:172: warning: implicit declaration of function `nc_del_att' RNetCDF.c:174: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:181: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:136: warning: unused variable `ncattname' RNetCDF.c: In function `R_nc_get_att': RNetCDF.c:200: error: `NC_MAX_NAME' undeclared (first use in this function) RNetCDF.c:224: error: `NC_GLOBAL' undeclared (first use in this function) RNetCDF.c:229: warning: implicit declaration of function `nc_inq_attlen' RNetCDF.c:230: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:231: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:240: warning: implicit declaration of function `nc_get_att_double' RNetCDF.c:242: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:255: warning: implicit declaration of function `nc_get_att_text' RNetCDF.c:258: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:200: warning: unused variable `ncattname' RNetCDF.c: In function `R_nc_inq_att': RNetCDF.c:285: error: `NC_MAX_NAME' undeclared (first use in this function) RNetCDF.c:287: error: `nc_type' undeclared (first use in this function) RNetCDF.c:287: error: parse error before "xtype" RNetCDF.c:323: error: `NC_GLOBAL' undeclared (first use in this function) RNetCDF.c:329: warning: implicit declaration of function `nc_inq_attid' RNetCDF.c:330: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:331: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:340: warning: implicit declaration of function `nc_inq_attname' RNetCDF.c:342: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:350: warning: implicit declaration of function `nc_inq_att' RNetCDF.c:350: error: `xtype' undeclared (first use in this function) RNetCDF.c:353: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:362: error: `NC_BYTE' undeclared (first use in this function) RNetCDF.c:364: error: `NC_CHAR' undeclared (first use in this function) RNetCDF.c:366: error: `NC_SHORT' undeclared (first use in this function) RNetCDF.c:368: error: `NC_INT' undeclared (first use in this function) RNetCDF.c:370: error: `NC_FLOAT' undeclared (first use in this function) RNetCDF.c:372: error: `NC_DOUBLE' undeclared (first use in this function) RNetCDF.c:285: warning: unused variable `atttype' RNetCDF.c:285: warning: unused variable `ncattname' RNetCDF.c: In function `R_nc_put_att': RNetCDF.c:399: error: `NC_MAX_NAME' undeclared (first use in this function) RNetCDF.c:400: error: `nc_type' undeclared (first use in this function) RNetCDF.c:400: error: parse error before "xtype" RNetCDF.c:423: error: `NC_GLOBAL' undeclared (first use in this function) RNetCDF.c:429: error: `xtype' undeclared (first use in this function) RNetCDF.c:429: error: `NC_BYTE' undeclared (first use in this function) RNetCDF.c:431: error: `NC_SHORT' undeclared (first use in this function) RNetCDF.c:433: error: `NC_INT' undeclared (first use in this function) RNetCDF.c:435: error: `NC_FLOAT' undeclared (first use in this function) RNetCDF.c:437: error: `NC_DOUBLE' undeclared (first use in this function) RNetCDF.c:439: error: `NC_CHAR' undeclared (first use in this function) RNetCDF.c:449: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:450: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:458: warning: implicit declaration of function `nc_put_att_double' RNetCDF.c:461: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:466: warning: implicit declaration of function `nc_put_att_text' RNetCDF.c:469: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:477: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:399: warning: unused variable `ncattname' RNetCDF.c: In function `R_nc_rename_att': RNetCDF.c:496: error: `NC_MAX_NAME' undeclared (first use in this function) RNetCDF.c:519: error: `NC_GLOBAL' undeclared (first use in this function) RNetCDF.c:525: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:526: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:533: warning: implicit declaration of function `nc_rename_att' RNetCDF.c:535: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:542: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:496: warning: unused variable `ncattname' RNetCDF.c:496: warning: unused variable `ncnewname' RNetCDF.c: In function `R_nc_close': RNetCDF.c:577: warning: implicit declaration of function `nc_close' RNetCDF.c:578: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:579: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c: In function `R_nc_create': RNetCDF.c:617: error: `NC_CLOBBER' undeclared (first use in this function) RNetCDF.c:619: error: `NC_NOCLOBBER' undeclared (first use in this function) RNetCDF.c:628: warning: implicit declaration of function `nc_create' RNetCDF.c:630: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:631: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:640: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c: In function `R_nc_def_dim': RNetCDF.c:680: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:681: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:689: warning: implicit declaration of function `nc_def_dim' RNetCDF.c:690: error: `NC_UNLIMITED' undeclared (first use in this function) RNetCDF.c:692: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:699: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:707: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c: In function `R_nc_inq_dim': RNetCDF.c:727: error: `NC_MAX_NAME' undeclared (first use in this function) RNetCDF.c:764: warning: implicit declaration of function `nc_inq_dimid' RNetCDF.c:765: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:766: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:774: warning: implicit declaration of function `nc_inq_dim' RNetCDF.c:776: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:783: warning: implicit declaration of function `nc_inq_unlimdim' RNetCDF.c:785: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:727: warning: unused variable `ncdimname' RNetCDF.c: In function `R_nc_rename_dim': RNetCDF.c:818: error: `NC_MAX_NAME' undeclared (first use in this function) RNetCDF.c:843: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:844: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:854: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:861: warning: implicit declaration of function `nc_rename_dim' RNetCDF.c:863: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:870: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:818: warning: unused variable `ncdimname' RNetCDF.c:818: warning: unused variable `ncnewname' RNetCDF.c: In function `R_nc_inq_file': RNetCDF.c:921: warning: implicit declaration of function `nc_inq' RNetCDF.c:922: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:923: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c: In function `R_nc_open': RNetCDF.c:965: error: `NC_NOWRITE' undeclared (first use in this function) RNetCDF.c:967: error: `NC_WRITE' undeclared (first use in this function) RNetCDF.c:976: warning: implicit declaration of function `nc_open' RNetCDF.c:978: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:979: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c: In function `R_nc_sync': RNetCDF.c:1012: warning: implicit declaration of function `nc_sync' RNetCDF.c:1013: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:1014: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c: In function `R_nc_def_var': RNetCDF.c:1030: error: `nc_type' undeclared (first use in this function) RNetCDF.c:1030: error: parse error before "xtype" RNetCDF.c:1054: error: `xtype' undeclared (first use in this function) RNetCDF.c:1054: error: `NC_BYTE' undeclared (first use in this function) RNetCDF.c:1056: error: `NC_SHORT' undeclared (first use in this function) RNetCDF.c:1058: error: `NC_INT' undeclared (first use in this function) RNetCDF.c:1060: error: `NC_FLOAT' undeclared (first use in this function) RNetCDF.c:1062: error: `NC_DOUBLE' undeclared (first use in this function) RNetCDF.c:1064: error: `NC_CHAR' undeclared (first use in this function) RNetCDF.c:1074: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:1075: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1082: warning: implicit declaration of function `nc_def_var' RNetCDF.c:1085: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1092: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1029: warning: unused variable `i' RNetCDF.c: In function `R_nc_get_vara_double': RNetCDF.c:1113: error: `MAX_NC_DIMS' undeclared (first use in this function) RNetCDF.c:1135: warning: implicit declaration of function `nc_inq_varndims' RNetCDF.c:1136: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:1137: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1157: warning: implicit declaration of function `nc_get_vara_double' RNetCDF.c:1160: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1113: warning: unused variable `s_start' RNetCDF.c:1113: warning: unused variable `s_count' RNetCDF.c: In function `R_nc_get_vara_text': RNetCDF.c:1189: error: `MAX_NC_DIMS' undeclared (first use in this function) RNetCDF.c:1217: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:1218: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1238: warning: implicit declaration of function `nc_get_vara_text' RNetCDF.c:1241: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1189: warning: unused variable `s_start' RNetCDF.c:1189: warning: unused variable `s_count' RNetCDF.c: In function `R_nc_inq_var': RNetCDF.c:1272: error: `NC_MAX_NAME' undeclared (first use in this function) RNetCDF.c:1273: error: `nc_type' undeclared (first use in this function) RNetCDF.c:1273: error: parse error before "xtype" RNetCDF.c:1315: warning: implicit declaration of function `nc_inq_varid' RNetCDF.c:1316: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:1317: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1327: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1343: warning: implicit declaration of function `nc_inq_var' RNetCDF.c:1343: error: `xtype' undeclared (first use in this function) RNetCDF.c:1346: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1353: error: `NC_BYTE' undeclared (first use in this function) RNetCDF.c:1355: error: `NC_CHAR' undeclared (first use in this function) RNetCDF.c:1357: error: `NC_SHORT' undeclared (first use in this function) RNetCDF.c:1359: error: `NC_INT' undeclared (first use in this function) RNetCDF.c:1361: error: `NC_FLOAT' undeclared (first use in this function) RNetCDF.c:1363: error: `NC_DOUBLE' undeclared (first use in this function) RNetCDF.c:1272: warning: unused variable `ncvarname' RNetCDF.c:1272: warning: unused variable `vartype' RNetCDF.c: In function `R_nc_put_vara_double': RNetCDF.c:1393: error: `MAX_NC_DIMS' undeclared (first use in this function) RNetCDF.c:1412: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:1413: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1432: warning: implicit declaration of function `nc_put_vara_double' RNetCDF.c:1435: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1393: warning: unused variable `s_start' RNetCDF.c:1393: warning: unused variable `s_count' RNetCDF.c: In function `R_nc_put_vara_text': RNetCDF.c:1453: error: `MAX_NC_DIMS' undeclared (first use in this function) RNetCDF.c:1475: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:1476: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1512: warning: implicit declaration of function `nc_put_vara_text' RNetCDF.c:1515: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1453: warning: unused variable `s_start' RNetCDF.c:1453: warning: unused variable `s_count' RNetCDF.c: In function `R_nc_rename_var': RNetCDF.c:1535: error: `NC_MAX_NAME' undeclared (first use in this function) RNetCDF.c:1560: error: `NC_NOERR' undeclared (first use in this function) RNetCDF.c:1561: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1571: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1578: warning: implicit declaration of function `nc_rename_var' RNetCDF.c:1580: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1587: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast RNetCDF.c:1535: warning: unused variable `ncvarname' RNetCDF.c:1535: warning: unused variable `ncnewname' RNetCDF.c: In function `R_ut_strerror': RNetCDF.c:1608: error: `UT_EOF' undeclared (first use in this function) RNetCDF.c:1610: error: `UT_ENOFILE' undeclared (first use in this function) RNetCDF.c:1612: error: `UT_ESYNTAX' undeclared (first use in this function) RNetCDF.c:1614: error: `UT_EUNKNOWN' undeclared (first use in this function) RNetCDF.c:1616: error: `UT_EIO' undeclared (first use in this function) RNetCDF.c:1618: error: `UT_EINVALID' undeclared (first use in this function) RNetCDF.c:1620: error: `UT_ENOINIT' undeclared (first use in this function) RNetCDF.c:1622: error: `UT_ECONVERT' undeclared (first use in this function) RNetCDF.c:1624: error: `UT_EALLOC' undeclared (first use in this function) RNetCDF.c:1626: error: `UT_ENOROOM' undeclared (first use in this function) RNetCDF.c:1628: error: `UT_ENOTTIME' undeclared (first use in this function) RNetCDF.c: In function `R_ut_calendar': RNetCDF.c:1645: error: `utUnit' undeclared (first use in this function) RNetCDF.c:1645: error: parse error before "utunit" RNetCDF.c:1665: warning: implicit declaration of function `utScan' RNetCDF.c:1665: error: `utunit' undeclared (first use in this function) RNetCDF.c:1675: warning: implicit declaration of function `utIsTime' RNetCDF.c:1677: error: `UT_ENOTTIME' undeclared (first use in this function) RNetCDF.c:1684: warning: implicit declaration of function `utHasOrigin' RNetCDF.c:1686: error: `UT_EINVALID' undeclared (first use in this function) RNetCDF.c:1697: warning: implicit declaration of function `utCalendar' RNetCDF.c: In function `R_ut_init': RNetCDF.c:1745: warning: implicit declaration of function `utInit' RNetCDF.c: In function `R_ut_inv_calendar': RNetCDF.c:1768: error: `utUnit' undeclared (first use in this function) RNetCDF.c:1768: error: parse error before "utunit" RNetCDF.c:1791: error: `utunit' undeclared (first use in this function) RNetCDF.c:1803: error: `UT_ENOTTIME' undeclared (first use in this function) RNetCDF.c:1812: error: `UT_EINVALID' undeclared (first use in this function) RNetCDF.c:1828: warning: implicit declaration of function `utInvCalendar' make[3]: *** [RNetCDF.o] Error 1 make[2]: *** [srcDynlib] Error 2 make[1]: *** [all] Error 2 make: *** [pkg-RNetCDF] Error 2 *** Installation of RNetCDF failed ***