Re: [Monetdb-developers] [Monetdb-checkins] buildtools/autogen/autogen am.py, 1.30.2.6, 1.30.2.7
Niels (and others), my change below indeed yields the indented, i.e., modules' .mil files are only created if/after the respective library was compiled successfully, and thus, `make check` does not see and try to load modules unless (as required) both the .mil file and the respective library are avialable. However, it also has two negative effects: (1) automake 1.6.3 on Darwin/MacOS X complains about (e.g.) -------- src/mapi/Makefile.am:31: mapi.mil defined both conditionally and unconditionally -------- since now next to the former (conditional) -------- if NEED_MX ... mapi.mil: mapi.tmpmil ... ... endif -------- there's now also a (unconditional) -------- mapi.mil: lib_mapi.la -------- (on all other platforms, we use automake >= 1.8.3, hence, this might be and automake rather than a Darwin problem...) (2) `make dist` fails for MonetDB4 (only) with -------- gcc -DHAVE_CONFIG_H -I. -I/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf -I../../.. -I/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf -I/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-optimize_--enable-debug/include/MonetDB -I/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-optimize_--enable-debug/include/MonetDB/common -I/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-optimize_--enable-debug/include/MonetDB/gdk -I../../monet -I/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/../../monet -I../plain -I/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/../plain -Wall -Wextra -std=c99 -g -Werror-implicit-function-declaration -Werror -Wpointer-arith -Wdeclaration-after-statement -D_REENTRANT -c mnetcdf.c -fPIC -DPIC -o .libs/lib_mnetcdf_la-mnetcdf.o /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:93:20: error: netcdf.h: No such file or directory /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx: In function '_nc_open': /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:126: error: implicit declaration of function 'nc_open' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:126: error: 'NC_NOWRITE' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:126: error: (Each undeclared identifier is reported only once /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:126: error: for each function it appears in.) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:127: error: 'NC_NOERR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:127: error: implicit declaration of function 'nc_strerror' cc1: warnings being treated as errors /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:127: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx: In function '_nc_create': /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:138: error: implicit declaration of function 'nc_create' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:139: error: 'NC_NOERR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:139: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:151: error: implicit declaration of function 'nc_enddef' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:152: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx: In function '_nc_close': /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:163: error: implicit declaration of function 'nc_close' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:164: error: 'NC_NOERR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:164: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx: In function '_nc_list': /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:180: error: 'NC_MAX_NAME' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:182: error: implicit declaration of function 'nc_inq_nvars' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:183: error: 'NC_NOERR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:183: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:192: error: implicit declaration of function 'nc_inq_varname' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:193: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:180: warning: unused variable 'var_name' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx: In function '_nc_describe': /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:212: error: 'nc_type' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:212: error: expected ';' before 'xtype' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:213: error: 'NC_MAX_DIMS' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:213: warning: ISO C90 forbids mixed declarations and code /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:224: error: implicit declaration of function 'nc_inq_ndims' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:225: error: 'NC_NOERR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:225: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:231: error: implicit declaration of function 'nc_inq_dimlen' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:232: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:241: error: implicit declaration of function 'nc_inq_varid' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:242: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:243: error: implicit declaration of function 'nc_inq_vartype' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:243: error: 'xtype' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:244: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:245: error: implicit declaration of function 'nc_inq_varndims' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:246: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:247: error: implicit declaration of function 'nc_inq_varnatts' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:248: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:249: error: implicit declaration of function 'nc_inq_vardimid' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:250: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:272: error: 'NC_BYTE' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:276: error: 'NC_CHAR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:280: error: 'NC_SHORT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:284: error: 'NC_INT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:288: error: 'NC_FLOAT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:292: error: 'NC_DOUBLE' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:315: error: 'NC_MAX_NAME' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:317: error: implicit declaration of function 'nc_inq_attname' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:318: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:319: error: implicit declaration of function 'nc_inq_atttype' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:320: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:325: error: implicit declaration of function 'nc_get_att_schar' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:332: error: implicit declaration of function 'nc_inq_attlen' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:338: error: implicit declaration of function 'nc_get_att_text' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:344: error: implicit declaration of function 'nc_get_att_short' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:351: error: implicit declaration of function 'nc_get_att_int' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:358: error: implicit declaration of function 'nc_get_att_float' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:365: error: implicit declaration of function 'nc_get_att_double' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:374: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:315: warning: unused variable 'att_name' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:215: warning: unused variable 'shape' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:214: warning: unused variable 'var_axes' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:213: warning: unused variable 'glob_axes' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx: In function 'check_nil_bte': /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:403: error: 'NC_NOERR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:404: error: 'NC_FILL_BYTE' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx: In function 'check_nil_sht': /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:422: error: 'NC_NOERR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:423: error: 'NC_FILL_SHORT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx: In function 'check_nil_int': /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:441: error: 'NC_NOERR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:442: error: 'NC_FILL_INT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx: In function 'check_nil_flt': /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:460: error: 'NC_NOERR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:461: error: 'NC_FILL_FLOAT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx: In function 'check_nil_dbl': /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:479: error: 'NC_NOERR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:480: error: 'NC_FILL_DOUBLE' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx: In function '_nc_import': /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:495: error: 'nc_type' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:495: error: expected ';' before 'xtype' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:496: warning: ISO C90 forbids mixed declarations and code /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:497: error: 'NC_MAX_DIMS' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:509: error: 'NC_NOERR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:509: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:516: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:525: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:526: error: 'xtype' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:527: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:529: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:531: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:544: error: 'NC_BYTE' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:547: error: 'NC_CHAR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:550: error: 'NC_SHORT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:553: error: 'NC_INT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:556: error: 'NC_FLOAT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:559: error: 'NC_DOUBLE' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:581: error: implicit declaration of function 'nc_get_var_schar' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:589: error: implicit declaration of function 'nc_get_var_short' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:592: error: implicit declaration of function 'nc_get_var_int' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:595: error: implicit declaration of function 'nc_get_var_float' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:598: error: implicit declaration of function 'nc_get_var_double' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:604: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:499: warning: unused variable 'shape' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:498: warning: unused variable 'var_axes' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:497: warning: unused variable 'glob_axes' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx: In function '_nc_export': /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:646: error: 'NC_MAX_DIMS' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:654: error: 'nc_type' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:654: error: expected ';' before 'xtype' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:655: warning: ISO C90 forbids mixed declarations and code /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:693: error: 'xtype' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:693: error: 'NC_BYTE' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:696: error: 'NC_SHORT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:699: error: 'NC_INT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:702: error: 'NC_FLOAT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:705: error: 'NC_DOUBLE' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:747: error: implicit declaration of function 'nc_redef' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:748: error: 'NC_NOERR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:748: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:751: error: implicit declaration of function 'nc_def_dim' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:752: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:754: error: implicit declaration of function 'nc_def_var' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:755: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:759: error: implicit declaration of function 'nc_put_att_schar' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:762: error: implicit declaration of function 'nc_put_att_short' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:765: error: implicit declaration of function 'nc_put_att_int' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:768: error: implicit declaration of function 'nc_put_att_float' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:771: error: implicit declaration of function 'nc_put_att_double' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:778: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:781: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:793: warning: left-hand operand of comma expression has no effect /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:806: error: implicit declaration of function 'nc_put_var1_schar' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:809: error: implicit declaration of function 'nc_put_var1_short' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:812: error: implicit declaration of function 'nc_put_var1_int' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:815: error: implicit declaration of function 'nc_put_var1_float' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:818: error: implicit declaration of function 'nc_put_var1_double' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:825: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:838: error: implicit declaration of function 'nc_sync' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:839: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:652: warning: unused variable 'lenvector' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:651: warning: unused variable 'maxvector' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:650: warning: unused variable 'idxvector' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:649: warning: unused variable 'minvector' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:647: warning: unused variable 'dimid' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:646: warning: unused variable 'batptr' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx: In function '_nc_export_fast': /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:856: error: 'NC_MAX_DIMS' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:859: error: 'nc_type' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:859: error: expected ';' before 'xtype' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:860: warning: ISO C90 forbids mixed declarations and code /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:895: error: 'xtype' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:895: error: 'NC_BYTE' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:898: error: 'NC_SHORT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:901: error: 'NC_INT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:904: error: 'NC_FLOAT' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:907: error: 'NC_DOUBLE' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:915: error: 'NC_NOERR' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:915: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:918: error: 'NC_MAX_NAME' undeclared (first use in this function) /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:922: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:918: warning: unused variable 'dim_name' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:925: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:947: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:950: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:955: error: implicit declaration of function 'nc_put_var_schar' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:958: error: implicit declaration of function 'nc_put_var_short' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:961: error: implicit declaration of function 'nc_put_var_int' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:964: error: implicit declaration of function 'nc_put_var_float' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:967: error: implicit declaration of function 'nc_put_var_double' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:973: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:976: warning: passing argument 1 of 'GDKerror' makes pointer from integer without a cast /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:857: warning: unused variable 'dimid' /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:856: warning: unused variable 'shape' make[3]: *** [lib_mnetcdf_la-mnetcdf.lo] Error 1 -------- I honestly have no idea (yet??), why ... Would you have an idea what might go wrong? Would you have an idea how to achieve the intended behavior without the two problems above? Thanks in advance! Stefan On Sun, Apr 01, 2007 at 09:30:00PM +0000, Stefan Manegold wrote:
Update of /cvsroot/monetdb/buildtools/autogen/autogen In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv10150/autogen/autogen
Modified Files: Tag: MonetDB_1-16 am.py Log Message:
changed (fixed?) dependency to ensure that .mil files of modules are only created one the respective library was compiled successfully
Index: am.py =================================================================== RCS file: /cvsroot/monetdb/buildtools/autogen/autogen/am.py,v retrieving revision 1.30.2.6 retrieving revision 1.30.2.7 diff -u -d -r1.30.2.6 -r1.30.2.7 --- am.py 1 Apr 2007 15:34:12 -0000 1.30.2.6 +++ am.py 1 Apr 2007 21:29:58 -0000 1.30.2.7 @@ -338,9 +338,8 @@
# add dependency on library for mil modules if (is_mil_module(script, scripts['DEPS'])): # a bit of a hack .... - fd.write("script_%s: %s lib_%s.la\n" % (script, script, script[:-4])) - else: - fd.write("script_%s: %s\n" % (script, script)) + fd.write("%s: lib_%s.la\n" % (script, script[:-4])) + fd.write("script_%s: %s\n" % (script, script))
if sd == "$(sysconfdir)": fd.write("install-exec-local-%s: %s\n" % (script, script))
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Monetdb-checkins mailing list Monetdb-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
On 02-04-2007 09:16:01 +0200, Stefan Manegold wrote:
However, it also has two negative effects:
(1) automake 1.6.3 on Darwin/MacOS X complains about (e.g.) -------- src/mapi/Makefile.am:31: mapi.mil defined both conditionally and unconditionally -------- since now next to the former (conditional) -------- if NEED_MX ... mapi.mil: mapi.tmpmil ... ... endif -------- there's now also a (unconditional) -------- mapi.mil: lib_mapi.la -------- (on all other platforms, we use automake >= 1.8.3, hence, this might be and automake rather than a Darwin problem...)
Please give up on supporting ancient development software/tools.
On Mon, Apr 02, 2007 at 10:18:17AM +0200, Fabian Groffen wrote:
On 02-04-2007 09:16:01 +0200, Stefan Manegold wrote:
However, it also has two negative effects:
(1) automake 1.6.3 on Darwin/MacOS X complains about (e.g.) -------- src/mapi/Makefile.am:31: mapi.mil defined both conditionally and unconditionally -------- since now next to the former (conditional) -------- if NEED_MX ... mapi.mil: mapi.tmpmil ... ... endif -------- there's now also a (unconditional) -------- mapi.mil: lib_mapi.la -------- (on all other platforms, we use automake >= 1.8.3, hence, this might be and automake rather than a Darwin problem...)
Please give up on supporting ancient development software/tools.
in fact, newer automakes also "complain", but with them, ./bootstrap eventually succeeds in creating a "configure": -------- src/mapi/Makefile.am:39: mapi.mil was already defined in condition NEED_MX, which is included in condition TRUE ... src/mapi/Makefile.am:31: ... `mapi.mil' previously defined here -------- Stefan -- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
Maybe this helps a bit tracking down the problem: On 02-04-2007 09:16:01 +0200, Stefan Manegold wrote:
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:93:20: error: netcdf.h: No such file or directory
Are you confident that netcdf compilation is also enabled before this commit on your platform? I cannot find netcdf.h on my system.
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx: In function '_nc_open':
these look ok to me considering the error above. Maybe configure/make does something unexpected because of the conditional here.
participants (2)
-
Fabian Groffen
-
Stefan Manegold