GRASS 6.4.0 (dtm5m_3004):~ > g.extension extension=r.seg Fetching from GRASS-Addons SVN (be patient)... A r.seg/main.c A r.seg/description.html A r.seg/varseg.c A r.seg/Makefile A r.seg/README A r.seg/varseg.h U r.seg Estratta revisione 44563. Compiling ... 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 -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:25:23: error: grass/gis.h: Nessun file o directory main.c:26:26: error: grass/config.h: Nessun file o directory main.c:27:27: error: grass/glocale.h: Nessun file o directory main.c: In function ‘main’: main.c:32: error: storage size of ‘cellhd’ isn’t known main.c:52: error: ‘RASTER_MAP_TYPE’ undeclared (first use in this function) main.c:52: error: (Each undeclared identifier is reported only once main.c:52: error: for each function it appears in.) main.c:52: error: expected ‘;’ before ‘dcell_data_type’ main.c:55: error: storage size of ‘history’ isn’t known main.c:69: warning: implicit declaration of function ‘G_gisinit’ main.c:73: warning: implicit declaration of function ‘G_define_module’ main.c:73: warning: assignment makes pointer from integer without a cast main.c:74: error: dereferencing pointer to incomplete type main.c:74: warning: implicit declaration of function ‘_’ main.c:75: error: dereferencing pointer to incomplete type main.c:78: warning: implicit declaration of function ‘G_define_option’ main.c:78: warning: assignment makes pointer from integer without a cast main.c:79: error: dereferencing pointer to incomplete type main.c:80: error: dereferencing pointer to incomplete type main.c:80: error: ‘TYPE_STRING’ undeclared (first use in this function) main.c:81: error: dereferencing pointer to incomplete type main.c:81: error: ‘YES’ undeclared (first use in this function) main.c:82: error: dereferencing pointer to incomplete type main.c:83: error: dereferencing pointer to incomplete type main.c:85: warning: assignment makes pointer from integer without a cast main.c:86: error: dereferencing pointer to incomplete type main.c:87: error: dereferencing pointer to incomplete type main.c:88: error: dereferencing pointer to incomplete type main.c:89: error: dereferencing pointer to incomplete type main.c:90: error: dereferencing pointer to incomplete type main.c:92: warning: assignment makes pointer from integer without a cast main.c:93: error: dereferencing pointer to incomplete type main.c:94: error: dereferencing pointer to incomplete type main.c:95: error: dereferencing pointer to incomplete type main.c:96: error: dereferencing pointer to incomplete type main.c:98: error: dereferencing pointer to incomplete type main.c:100: warning: assignment makes pointer from integer without a cast main.c:101: error: dereferencing pointer to incomplete type main.c:102: error: dereferencing pointer to incomplete type main.c:102: error: ‘TYPE_DOUBLE’ undeclared (first use in this function) main.c:103: error: dereferencing pointer to incomplete type main.c:103: error: ‘NO’ undeclared (first use in this function) main.c:104: error: dereferencing pointer to incomplete type main.c:105: error: dereferencing pointer to incomplete type main.c:107: warning: assignment makes pointer from integer without a cast main.c:108: error: dereferencing pointer to incomplete type main.c:109: error: dereferencing pointer to incomplete type main.c:110: error: dereferencing pointer to incomplete type main.c:111: error: dereferencing pointer to incomplete type main.c:112: error: dereferencing pointer to incomplete type main.c:114: warning: assignment makes pointer from integer without a cast main.c:115: error: dereferencing pointer to incomplete type main.c:116: error: dereferencing pointer to incomplete type main.c:116: error: ‘TYPE_INTEGER’ undeclared (first use in this function) main.c:117: error: dereferencing pointer to incomplete type main.c:118: error: dereferencing pointer to incomplete type main.c:119: error: dereferencing pointer to incomplete type main.c:122: warning: assignment makes pointer from integer without a cast main.c:123: error: dereferencing pointer to incomplete type main.c:124: error: dereferencing pointer to incomplete type main.c:125: error: dereferencing pointer to incomplete type main.c:126: error: dereferencing pointer to incomplete type main.c:127: error: dereferencing pointer to incomplete type main.c:129: warning: assignment makes pointer from integer without a cast main.c:130: error: dereferencing pointer to incomplete type main.c:131: error: dereferencing pointer to incomplete type main.c:132: error: dereferencing pointer to incomplete type main.c:133: error: dereferencing pointer to incomplete type main.c:134: error: dereferencing pointer to incomplete type main.c:137: warning: assignment makes pointer from integer without a cast main.c:138: error: dereferencing pointer to incomplete type main.c:139: error: dereferencing pointer to incomplete type main.c:140: error: dereferencing pointer to incomplete type main.c:141: error: dereferencing pointer to incomplete type main.c:142: error: dereferencing pointer to incomplete type main.c:151: warning: implicit declaration of function ‘G_define_flag’ main.c:151: warning: assignment makes pointer from integer without a cast main.c:152: error: dereferencing pointer to incomplete type main.c:153: error: dereferencing pointer to incomplete type main.c:157: warning: implicit declaration of function ‘G_parser’ main.c:161: error: dereferencing pointer to incomplete type main.c:162: error: dereferencing pointer to incomplete type main.c:163: error: dereferencing pointer to incomplete type main.c:165: error: dereferencing pointer to incomplete type main.c:166: error: dereferencing pointer to incomplete type main.c:167: error: dereferencing pointer to incomplete type main.c:168: error: dereferencing pointer to incomplete type main.c:169: error: dereferencing pointer to incomplete type main.c:170: error: dereferencing pointer to incomplete type main.c:172: error: dereferencing pointer to incomplete type main.c:173: warning: implicit declaration of function ‘G_warning’ main.c:177: error: dereferencing pointer to incomplete type main.c:183: warning: implicit declaration of function ‘G_find_cell2’ main.c:183: warning: assignment makes pointer from integer without a cast main.c:185: warning: implicit declaration of function ‘G_fatal_error’ main.c:186: warning: implicit declaration of function ‘G_legal_filename’ main.c:188: warning: implicit declaration of function ‘G_check_input_output_name’ main.c:188: error: ‘GR_FATAL_EXIT’ undeclared (first use in this function) main.c:201: error: ‘dcell_data_type’ undeclared (first use in this function) main.c:201: error: ‘DCELL_TYPE’ undeclared (first use in this function) main.c:205: warning: implicit declaration of function ‘G_window_rows’ main.c:206: warning: implicit declaration of function ‘G_window_cols’ main.c:211: error: ‘DCELL’ undeclared (first use in this function) main.c:211: error: expected expression before ‘)’ token main.c:212: error: expected expression before ‘)’ token main.c:213: error: expected expression before ‘)’ token main.c:219: warning: implicit declaration of function ‘G_open_cell_old’ main.c:221: warning: implicit declaration of function ‘G_get_cellhd’ main.c:226: warning: implicit declaration of function ‘G_allocate_raster_buf’ main.c:233: warning: implicit declaration of function ‘G_get_raster_row’ main.c:237: error: expected expression before ‘)’ token main.c:238: error: expected expression before ‘)’ token main.c:245: warning: implicit declaration of function ‘G_close_cell’ main.c:246: warning: implicit declaration of function ‘G_free’ main.c:275: warning: implicit declaration of function ‘G_message’ main.c:279: warning: implicit declaration of function ‘G_open_raster_new’ main.c:294: error: expected expression before ‘)’ token main.c:295: error: expected expression before ‘)’ token main.c:297: warning: implicit declaration of function ‘G_put_raster_row’ main.c:315: warning: implicit declaration of function ‘G_short_history’ main.c:316: warning: implicit declaration of function ‘G_command_history’ main.c:319: warning: implicit declaration of function ‘G_write_history’ main.c:55: warning: unused variable ‘history’ main.c:32: warning: unused variable ‘cellhd’ make: *** [OBJ.i486-pc-linux-gnu/main.o] Errore 1 ERRORE: Compilation failed, sorry. Please check above error messages.