Dear list,

I am trying to install add-ons on GRASS (6.4.0) through g.extension, as Markus mentioned this should be possible with RC07. Had to import grass-dev package, create a directory "build" in directory "/" (which is not mentioned in wiki) and change rights to chmod -777 that it would start running. When running g.extension extension=v.vectstats it creates following error:

Fetching <v.vect.stats> from GRASS-Addons SVN (be patient)...
A v.vect.stats/grass7.patch
A v.vect.stats/main.c
A v.vect.stats/description.html
A v.vect.stats/grass65.patch
A v.vect.stats/Makefile
U v.vect.stats
Checked out revision 44346.
Compiling <v.vect.stats>...
test -d OBJ.i486-pc-linux-gnu || mkdir -p OBJ.i486-pc-linux-gnu
gcc -I/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/include -Wall -g -O -I/usr/include/gdal -DPACKAGE=\""grassmods"\" -I/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/include -o OBJ.i486-pc-linux-gnu/main.o -c main.c
main.c:23:23: error: grass/gis.h: No such file or directory
main.c:24:27: error: grass/glocale.h: No such file or directory
main.c:25:25: error: grass/stats.h: No such file or directory
main.c:26:24: error: grass/dbmi.h: No such file or directory
main.c:27:24: error: grass/Vect.h: No such file or directory
main.c:31: error: expected specifier-qualifier-list before ‘stat_func’
main.c:39: error: ‘c_sum’ undeclared here (not in a function)

(complete log file is attached)

Do I need to set some other paths before? I still try to avoid installing GRASS from svn. Wiki-link: http://josef.fsv.cvut.cz/WIKI/grass-osgeo/index.php/GRASS_AddOns#Building_and_installing_Addons

Thanks for your kind help

Patrick (Schirmer)
Fetching <v.vect.stats> from GRASS-Addons SVN (be patient)...
A    v.vect.stats/grass7.patch
A    v.vect.stats/main.c
A    v.vect.stats/description.html
A    v.vect.stats/grass65.patch
A    v.vect.stats/Makefile
 U   v.vect.stats
Checked out revision 44346.
Compiling <v.vect.stats>...
test -d OBJ.i486-pc-linux-gnu || mkdir -p OBJ.i486-pc-linux-gnu
gcc -I/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/include  -Wall -g -O    -I/usr/include/gdal    -DPACKAGE=\""grassmods"\"  -I/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/include -o OBJ.i486-pc-linux-gnu/main.o -c main.c
main.c:23:23: error: grass/gis.h: No such file or directory
main.c:24:27: error: grass/glocale.h: No such file or directory
main.c:25:25: error: grass/stats.h: No such file or directory
main.c:26:24: error: grass/dbmi.h: No such file or directory
main.c:27:24: error: grass/Vect.h: No such file or directory
main.c:31: error: expected specifier-qualifier-list before ‘stat_func’
main.c:39: error: ‘c_sum’ undeclared here (not in a function)
main.c:39: warning: excess elements in struct initializer
main.c:39: warning: (near initialization for ‘menu[0]’)
main.c:39: warning: excess elements in struct initializer
main.c:39: warning: (near initialization for ‘menu[0]’)
main.c:39: warning: excess elements in struct initializer
main.c:39: warning: (near initialization for ‘menu[0]’)
main.c:39: warning: excess elements in struct initializer
main.c:39: warning: (near initialization for ‘menu[0]’)
main.c:40: error: ‘c_ave’ undeclared here (not in a function)
main.c:40: warning: excess elements in struct initializer
main.c:40: warning: (near initialization for ‘menu[1]’)
main.c:40: warning: excess elements in struct initializer
main.c:40: warning: (near initialization for ‘menu[1]’)
main.c:40: warning: excess elements in struct initializer
main.c:40: warning: (near initialization for ‘menu[1]’)
main.c:40: warning: excess elements in struct initializer
main.c:40: warning: (near initialization for ‘menu[1]’)
main.c:41: error: ‘c_median’ undeclared here (not in a function)
main.c:41: warning: excess elements in struct initializer
main.c:41: warning: (near initialization for ‘menu[2]’)
main.c:41: warning: excess elements in struct initializer
main.c:41: warning: (near initialization for ‘menu[2]’)
main.c:41: warning: excess elements in struct initializer
main.c:41: warning: (near initialization for ‘menu[2]’)
main.c:41: warning: excess elements in struct initializer
main.c:41: warning: (near initialization for ‘menu[2]’)
main.c:42: error: ‘c_mode’ undeclared here (not in a function)
main.c:42: warning: excess elements in struct initializer
main.c:42: warning: (near initialization for ‘menu[3]’)
main.c:42: warning: excess elements in struct initializer
main.c:42: warning: (near initialization for ‘menu[3]’)
main.c:42: warning: excess elements in struct initializer
main.c:42: warning: (near initialization for ‘menu[3]’)
main.c:42: warning: excess elements in struct initializer
main.c:42: warning: (near initialization for ‘menu[3]’)
main.c:43: error: ‘c_min’ undeclared here (not in a function)
main.c:43: warning: excess elements in struct initializer
main.c:43: warning: (near initialization for ‘menu[4]’)
main.c:43: warning: excess elements in struct initializer
main.c:43: warning: (near initialization for ‘menu[4]’)
main.c:43: warning: excess elements in struct initializer
main.c:43: warning: (near initialization for ‘menu[4]’)
main.c:43: warning: excess elements in struct initializer
main.c:43: warning: (near initialization for ‘menu[4]’)
main.c:44: error: ‘c_minx’ undeclared here (not in a function)
main.c:44: warning: excess elements in struct initializer
main.c:44: warning: (near initialization for ‘menu[5]’)
main.c:44: warning: excess elements in struct initializer
main.c:44: warning: (near initialization for ‘menu[5]’)
main.c:44: warning: excess elements in struct initializer
main.c:44: warning: (near initialization for ‘menu[5]’)
main.c:44: warning: excess elements in struct initializer
main.c:44: warning: (near initialization for ‘menu[5]’)
main.c:45: error: ‘c_max’ undeclared here (not in a function)
main.c:45: warning: excess elements in struct initializer
main.c:45: warning: (near initialization for ‘menu[6]’)
main.c:45: warning: excess elements in struct initializer
main.c:45: warning: (near initialization for ‘menu[6]’)
main.c:45: warning: excess elements in struct initializer
main.c:45: warning: (near initialization for ‘menu[6]’)
main.c:45: warning: excess elements in struct initializer
main.c:45: warning: (near initialization for ‘menu[6]’)
main.c:46: error: ‘c_maxx’ undeclared here (not in a function)
main.c:46: warning: excess elements in struct initializer
main.c:46: warning: (near initialization for ‘menu[7]’)
main.c:46: warning: excess elements in struct initializer
main.c:46: warning: (near initialization for ‘menu[7]’)
main.c:46: warning: excess elements in struct initializer
main.c:46: warning: (near initialization for ‘menu[7]’)
main.c:46: warning: excess elements in struct initializer
main.c:46: warning: (near initialization for ‘menu[7]’)
main.c:47: error: ‘c_range’ undeclared here (not in a function)
main.c:47: warning: excess elements in struct initializer
main.c:47: warning: (near initialization for ‘menu[8]’)
main.c:47: warning: excess elements in struct initializer
main.c:47: warning: (near initialization for ‘menu[8]’)
main.c:47: warning: excess elements in struct initializer
main.c:47: warning: (near initialization for ‘menu[8]’)
main.c:47: warning: excess elements in struct initializer
main.c:47: warning: (near initialization for ‘menu[8]’)
main.c:48: error: ‘c_stddev’ undeclared here (not in a function)
main.c:48: warning: excess elements in struct initializer
main.c:48: warning: (near initialization for ‘menu[9]’)
main.c:48: warning: excess elements in struct initializer
main.c:48: warning: (near initialization for ‘menu[9]’)
main.c:48: warning: excess elements in struct initializer
main.c:48: warning: (near initialization for ‘menu[9]’)
main.c:48: warning: excess elements in struct initializer
main.c:48: warning: (near initialization for ‘menu[9]’)
main.c:49: error: ‘c_var’ undeclared here (not in a function)
main.c:49: warning: excess elements in struct initializer
main.c:49: warning: (near initialization for ‘menu[10]’)
main.c:49: warning: excess elements in struct initializer
main.c:49: warning: (near initialization for ‘menu[10]’)
main.c:49: warning: excess elements in struct initializer
main.c:49: warning: (near initialization for ‘menu[10]’)
main.c:49: warning: excess elements in struct initializer
main.c:49: warning: (near initialization for ‘menu[10]’)
main.c:50: error: ‘c_divr’ undeclared here (not in a function)
main.c:50: warning: excess elements in struct initializer
main.c:50: warning: (near initialization for ‘menu[11]’)
main.c:50: warning: excess elements in struct initializer
main.c:50: warning: (near initialization for ‘menu[11]’)
main.c:50: warning: excess elements in struct initializer
main.c:50: warning: (near initialization for ‘menu[11]’)
main.c:50: warning: excess elements in struct initializer
main.c:50: warning: (near initialization for ‘menu[11]’)
main.c:51: warning: excess elements in struct initializer
main.c:51: warning: (near initialization for ‘menu[12]’)
main.c:51: warning: excess elements in struct initializer
main.c:51: warning: (near initialization for ‘menu[12]’)
main.c:51: warning: excess elements in struct initializer
main.c:51: warning: (near initialization for ‘menu[12]’)
main.c:51: warning: excess elements in struct initializer
main.c:51: warning: (near initialization for ‘menu[12]’)
main.c: In function ‘main’:
main.c:97: error: storage size of ‘PIn’ isn’t known
main.c:97: error: storage size of ‘AIn’ isn’t known
main.c:106: error: ‘dbString’ undeclared (first use in this function)
main.c:106: error: (Each undeclared identifier is reported only once
main.c:106: error: for each function it appears in.)
main.c:106: error: expected ‘;’ before ‘stmt’
main.c:107: error: ‘dbDriver’ undeclared (first use in this function)
main.c:107: error: ‘Pdriver’ undeclared (first use in this function)
main.c:107: error: ‘Adriver’ undeclared (first use in this function)
main.c:107: warning: left-hand operand of comma expression has no effect
main.c:111: error: ‘BOUND_BOX’ undeclared (first use in this function)
main.c:111: error: expected ‘;’ before ‘box’
main.c:112: error: ‘dbCatValArray’ undeclared (first use in this function)
main.c:112: error: expected ‘;’ before ‘cvarr’
main.c:113: error: ‘dbColumn’ undeclared (first use in this function)
main.c:113: error: ‘column’ undeclared (first use in this function)
main.c:120: error: ‘stat_func’ undeclared (first use in this function)
main.c:120: error: ‘statsvalue’ undeclared (first use in this function)
main.c:125: warning: implicit declaration of function ‘G_gisinit’
main.c:127: warning: implicit declaration of function ‘G_define_module’
main.c:127: warning: assignment makes pointer from integer without a cast
main.c:128: error: dereferencing pointer to incomplete type
main.c:128: warning: implicit declaration of function ‘_’
main.c:129: error: dereferencing pointer to incomplete type
main.c:131: warning: implicit declaration of function ‘G_define_standard_option’
main.c:131: error: ‘G_OPT_V_INPUT’ undeclared (first use in this function)
main.c:132: error: dereferencing pointer to incomplete type
main.c:133: error: dereferencing pointer to incomplete type
main.c:137: error: dereferencing pointer to incomplete type
main.c:138: error: dereferencing pointer to incomplete type
main.c:141: error: ‘G_OPT_V_TYPE’ undeclared (first use in this function)
main.c:142: error: dereferencing pointer to incomplete type
main.c:143: error: dereferencing pointer to incomplete type
main.c:144: error: dereferencing pointer to incomplete type
main.c:145: error: dereferencing pointer to incomplete type
main.c:146: error: dereferencing pointer to incomplete type
main.c:146: error: ‘NO’ undeclared (first use in this function)
main.c:148: error: ‘G_OPT_V_FIELD’ undeclared (first use in this function)
main.c:149: error: dereferencing pointer to incomplete type
main.c:150: error: dereferencing pointer to incomplete type
main.c:153: error: dereferencing pointer to incomplete type
main.c:154: error: dereferencing pointer to incomplete type
main.c:156: warning: implicit declaration of function ‘G_define_option’
main.c:156: warning: assignment makes pointer from integer without a cast
main.c:157: error: dereferencing pointer to incomplete type
main.c:158: error: dereferencing pointer to incomplete type
main.c:158: error: ‘TYPE_STRING’ undeclared (first use in this function)
main.c:159: error: dereferencing pointer to incomplete type
main.c:160: error: dereferencing pointer to incomplete type
main.c:161: warning: implicit declaration of function ‘G_malloc’
main.c:161: warning: assignment makes pointer from integer without a cast
main.c:162: error: ‘struct menu’ has no member named ‘name’
main.c:167: error: ‘struct menu’ has no member named ‘name’
main.c:169: error: dereferencing pointer to incomplete type
main.c:170: error: dereferencing pointer to incomplete type
main.c:172: error: ‘G_OPT_COLUMN’ undeclared (first use in this function)
main.c:173: error: dereferencing pointer to incomplete type
main.c:174: error: dereferencing pointer to incomplete type
main.c:175: error: dereferencing pointer to incomplete type
main.c:176: error: dereferencing pointer to incomplete type
main.c:178: error: dereferencing pointer to incomplete type
main.c:180: warning: assignment makes pointer from integer without a cast
main.c:181: error: dereferencing pointer to incomplete type
main.c:182: error: dereferencing pointer to incomplete type
main.c:183: error: dereferencing pointer to incomplete type
main.c:184: error: dereferencing pointer to incomplete type
main.c:185: error: dereferencing pointer to incomplete type
main.c:186: error: dereferencing pointer to incomplete type
main.c:189: warning: assignment makes pointer from integer without a cast
main.c:190: error: dereferencing pointer to incomplete type
main.c:191: error: dereferencing pointer to incomplete type
main.c:192: error: dereferencing pointer to incomplete type
main.c:193: error: dereferencing pointer to incomplete type
main.c:194: error: dereferencing pointer to incomplete type
main.c:195: error: dereferencing pointer to incomplete type
main.c:198: error: ‘G_OPT_F_SEP’ undeclared (first use in this function)
main.c:199: error: dereferencing pointer to incomplete type
main.c:200: error: dereferencing pointer to incomplete type
main.c:201: error: dereferencing pointer to incomplete type
main.c:203: warning: implicit declaration of function ‘G_define_flag’
main.c:203: warning: assignment makes pointer from integer without a cast
main.c:204: error: dereferencing pointer to incomplete type
main.c:205: error: dereferencing pointer to incomplete type
main.c:207: error: dereferencing pointer to incomplete type
main.c:209: warning: implicit declaration of function ‘G_parser’
main.c:212: warning: implicit declaration of function ‘Vect_option_to_types’
main.c:214: error: dereferencing pointer to incomplete type
main.c:215: error: dereferencing pointer to incomplete type
main.c:218: error: dereferencing pointer to incomplete type
main.c:220: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: warning: left-hand operand of comma expression has no effect
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: warning: value computed is not used
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: warning: left-hand operand of comma expression has no effect
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:221: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: warning: left-hand operand of comma expression has no effect
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: warning: value computed is not used
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: warning: left-hand operand of comma expression has no effect
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:223: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: warning: left-hand operand of comma expression has no effect
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: warning: value computed is not used
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: warning: left-hand operand of comma expression has no effect
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:225: error: dereferencing pointer to incomplete type
main.c:228: error: dereferencing pointer to incomplete type
main.c:235: error: dereferencing pointer to incomplete type
main.c:236: error: dereferencing pointer to incomplete type
main.c:237: warning: implicit declaration of function ‘G_fatal_error’
main.c:239: error: dereferencing pointer to incomplete type
main.c:239: error: dereferencing pointer to incomplete type
main.c:243: error: dereferencing pointer to incomplete type
main.c:244: error: dereferencing pointer to incomplete type
main.c:246: error: dereferencing pointer to incomplete type
main.c:246: error: dereferencing pointer to incomplete type
main.c:251: warning: implicit declaration of function ‘G_find_vector2’
main.c:251: error: dereferencing pointer to incomplete type
main.c:252: error: dereferencing pointer to incomplete type
main.c:254: warning: implicit declaration of function ‘Vect_set_open_level’
main.c:255: warning: implicit declaration of function ‘Vect_open_old’
main.c:255: error: dereferencing pointer to incomplete type
main.c:258: error: dereferencing pointer to incomplete type
main.c:259: error: dereferencing pointer to incomplete type
main.c:260: error: dereferencing pointer to incomplete type
main.c:260: warning: implicit declaration of function ‘G_mapset’
main.c:260: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast
/usr/include/string.h:397: note: expected ‘const char *’ but argument is of type ‘int’
main.c:260: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast
main.c:260: note: expected ‘const char *’ but argument is of type ‘int’
main.c:260: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast
main.c:260: note: expected ‘const char *’ but argument is of type ‘int’
main.c:260: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast
/usr/include/string.h:397: note: expected ‘const char *’ but argument is of type ‘int’
main.c:260: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast
main.c:260: note: expected ‘const char *’ but argument is of type ‘int’
main.c:260: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast
main.c:260: note: expected ‘const char *’ but argument is of type ‘int’
main.c:262: error: dereferencing pointer to incomplete type
main.c:265: error: dereferencing pointer to incomplete type
main.c:270: error: dereferencing pointer to incomplete type
main.c:272: error: ‘struct menu’ has no member named ‘name’
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: warning: left-hand operand of comma expression has no effect
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: warning: left-hand operand of comma expression has no effect
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:273: error: dereferencing pointer to incomplete type
main.c:276: warning: implicit declaration of function ‘G_warning’
main.c:277: error: dereferencing pointer to incomplete type
main.c:277: error: dereferencing pointer to incomplete type
main.c:278: error: dereferencing pointer to incomplete type
main.c:279: warning: implicit declaration of function ‘G_usage’
main.c:284: error: ‘struct menu’ has no member named ‘method’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: warning: left-hand operand of comma expression has no effect
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: warning: left-hand operand of comma expression has no effect
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: warning: left-hand operand of comma expression has no effect
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: warning: left-hand operand of comma expression has no effect
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:287: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: warning: left-hand operand of comma expression has no effect
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: warning: left-hand operand of comma expression has no effect
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: warning: left-hand operand of comma expression has no effect
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: warning: left-hand operand of comma expression has no effect
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:288: error: ‘struct menu’ has no member named ‘name’
main.c:291: warning: implicit declaration of function ‘G_debug’
main.c:291: error: ‘struct menu’ has no member named ‘name’
main.c:296: warning: implicit declaration of function ‘db_init_string’
main.c:296: error: ‘stmt’ undeclared (first use in this function)
main.c:297: error: ‘dbstr’ undeclared (first use in this function)
main.c:300: error: dereferencing pointer to incomplete type
main.c:302: warning: implicit declaration of function ‘Vect_get_field’
main.c:307: warning: implicit declaration of function ‘db_start_driver_open_database’
main.c:307: error: dereferencing pointer to incomplete type
main.c:307: error: dereferencing pointer to incomplete type
main.c:310: error: dereferencing pointer to incomplete type
main.c:310: error: dereferencing pointer to incomplete type
main.c:312: error: dereferencing pointer to incomplete type
main.c:316: warning: implicit declaration of function ‘db_get_column’
main.c:316: error: dereferencing pointer to incomplete type
main.c:316: error: dereferencing pointer to incomplete type
main.c:319: warning: implicit declaration of function ‘db_column_Ctype’
main.c:319: error: dereferencing pointer to incomplete type
main.c:319: error: dereferencing pointer to incomplete type
main.c:320: error: ‘DB_C_TYPE_INT’ undeclared (first use in this function)
main.c:323: warning: implicit declaration of function ‘db_free_column’
main.c:328: warning: implicit declaration of function ‘db_init_column’
main.c:329: warning: implicit declaration of function ‘db_set_column_name’
main.c:329: error: dereferencing pointer to incomplete type
main.c:330: warning: implicit declaration of function ‘db_set_column_sqltype’
main.c:330: error: ‘DB_SQL_TYPE_INTEGER’ undeclared (first use in this function)
main.c:331: warning: implicit declaration of function ‘db_set_string’
main.c:331: error: dereferencing pointer to incomplete type
main.c:332: warning: implicit declaration of function ‘db_add_column’
main.c:332: error: ‘DB_OK’ undeclared (first use in this function)
main.c:334: error: dereferencing pointer to incomplete type
main.c:339: error: dereferencing pointer to incomplete type
main.c:340: error: dereferencing pointer to incomplete type
main.c:344: error: dereferencing pointer to incomplete type
main.c:344: error: dereferencing pointer to incomplete type
main.c:349: error: dereferencing pointer to incomplete type
main.c:350: error: dereferencing pointer to incomplete type
main.c:350: error: ‘DB_C_TYPE_DOUBLE’ undeclared (first use in this function)
main.c:359: error: dereferencing pointer to incomplete type
main.c:360: error: ‘DB_SQL_TYPE_DOUBLE_PRECISION’ undeclared (first use in this function)
main.c:361: error: dereferencing pointer to incomplete type
main.c:364: error: dereferencing pointer to incomplete type
main.c:374: error: dereferencing pointer to incomplete type
main.c:376: warning: implicit declaration of function ‘G_verbose_message’
main.c:383: error: dereferencing pointer to incomplete type
main.c:383: error: dereferencing pointer to incomplete type
main.c:386: error: dereferencing pointer to incomplete type
main.c:386: error: dereferencing pointer to incomplete type
main.c:389: error: dereferencing pointer to incomplete type
main.c:389: error: dereferencing pointer to incomplete type
main.c:396: error: dereferencing pointer to incomplete type
main.c:396: error: dereferencing pointer to incomplete type
main.c:401: error: dereferencing pointer to incomplete type
main.c:401: error: dereferencing pointer to incomplete type
main.c:404: error: ‘struct menu’ has no member named ‘half’
main.c:410: warning: implicit declaration of function ‘db_CatValArray_init’
main.c:410: error: ‘cvarr’ undeclared (first use in this function)
main.c:411: warning: implicit declaration of function ‘db_select_CatValArray’
main.c:411: error: dereferencing pointer to incomplete type
main.c:411: error: dereferencing pointer to incomplete type
main.c:412: error: dereferencing pointer to incomplete type
main.c:414: warning: implicit declaration of function ‘db_close_database_shutdown_driver’
main.c:417: warning: implicit declaration of function ‘Vect_new_line_struct’
main.c:417: warning: assignment makes pointer from integer without a cast
main.c:418: warning: implicit declaration of function ‘Vect_new_cats_struct’
main.c:418: warning: assignment makes pointer from integer without a cast
main.c:419: warning: assignment makes pointer from integer without a cast
main.c:420: warning: implicit declaration of function ‘Vect_new_list’
main.c:420: warning: assignment makes pointer from integer without a cast
main.c:423: warning: implicit declaration of function ‘Vect_get_num_areas’
main.c:427: warning: implicit declaration of function ‘G_calloc’
main.c:433: warning: implicit declaration of function ‘Vect_get_area_cats’
main.c:435: error: dereferencing pointer to incomplete type
main.c:437: error: dereferencing pointer to incomplete type
main.c:439: error: dereferencing pointer to incomplete type
main.c:440: error: dereferencing pointer to incomplete type
main.c:448: warning: implicit declaration of function ‘G_realloc’
main.c:483: warning: implicit declaration of function ‘Vect_build_spatial_index’
main.c:485: warning: implicit declaration of function ‘G_message’
main.c:488: error: ‘dbCatVal’ undeclared (first use in this function)
main.c:488: error: ‘catval’ undeclared (first use in this function)
main.c:491: warning: implicit declaration of function ‘G_percent’
main.c:495: error: dereferencing pointer to incomplete type
main.c:499: warning: implicit declaration of function ‘Vect_get_area_box’
main.c:499: error: ‘box’ undeclared (first use in this function)
main.c:500: error: ‘PORT_DOUBLE_MAX’ undeclared (first use in this function)
main.c:503: warning: implicit declaration of function ‘Vect_select_lines_by_box’
main.c:504: error: dereferencing pointer to incomplete type
main.c:507: error: dereferencing pointer to incomplete type
main.c:509: error: dereferencing pointer to incomplete type
main.c:512: warning: implicit declaration of function ‘Vect_read_line’
main.c:517: warning: implicit declaration of function ‘Vect_point_in_area’
main.c:517: error: dereferencing pointer to incomplete type
main.c:517: error: dereferencing pointer to incomplete type
main.c:523: error: dereferencing pointer to incomplete type
main.c:526: error: dereferencing pointer to incomplete type
main.c:527: error: dereferencing pointer to incomplete type
main.c:532: error: dereferencing pointer to incomplete type
main.c:535: warning: implicit declaration of function ‘db_CatValArray_get_value’
main.c:568: error: dereferencing pointer to incomplete type
main.c:569: error: dereferencing pointer to incomplete type
main.c:574: error: dereferencing pointer to incomplete type
main.c:590: error: dereferencing pointer to incomplete type
main.c:633: error: dereferencing pointer to incomplete type
main.c:634: warning: implicit declaration of function ‘db_CatValArray_free’
main.c:636: warning: implicit declaration of function ‘Vect_close’
main.c:639: error: dereferencing pointer to incomplete type
main.c:641: error: dereferencing pointer to incomplete type
main.c:642: error: ‘struct menu’ has no member named ‘name’
main.c:650: warning: implicit declaration of function ‘db_begin_transaction’
main.c:653: error: dereferencing pointer to incomplete type
main.c:658: error: dereferencing pointer to incomplete type
main.c:660: warning: implicit declaration of function ‘statsvalue’
main.c:667: error: dereferencing pointer to incomplete type
main.c:670: error: dereferencing pointer to incomplete type
main.c:679: error: dereferencing pointer to incomplete type
main.c:680: error: dereferencing pointer to incomplete type
main.c:682: error: dereferencing pointer to incomplete type
main.c:684: error: dereferencing pointer to incomplete type
main.c:687: error: dereferencing pointer to incomplete type
main.c:688: warning: implicit declaration of function ‘db_append_string’
main.c:690: error: dereferencing pointer to incomplete type
main.c:692: warning: implicit declaration of function ‘db_get_string’
main.c:693: warning: implicit declaration of function ‘db_execute_immediate’
main.c:703: warning: implicit declaration of function ‘db_commit_transaction’
main.c:705: error: dereferencing pointer to incomplete type
main.c:708: warning: implicit declaration of function ‘db_free_string’
main.c:713: warning: implicit declaration of function ‘Vect_set_db_updated’
main.c:718: warning: implicit declaration of function ‘G_done_msg’
main.c:97: warning: unused variable ‘AIn’
main.c:97: warning: unused variable ‘PIn’
make: *** [OBJ.i486-pc-linux-gnu/main.o] Error 1
ERROR: Compilation failed, sorry. Please check above error messages.
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to