[GRASS-user] i.spec.unmix module

Pedro Camilo Alcantara camilo at pcbiol.posgrado.unam.mx
Wed Jun 18 09:30:52 EDT 2008


Hi everyone

I saw that there is a module on spectral unmixing on the add-ons subversion
repository, so, I downloaded and compiled the last grass 6.4 snapshot
(grass-6.4.svn_src_snapshot_2008_06_14), download the addons with svn (svn
checkout https://svn.osgeo.org/grass/grass-addons/ grass-addons). and
compiled the module as described in the README I found on the addons (make
MODULE_TOPDIR=/home/camilo/grass-6.4.svn_src_snapshot_2008_06_14).
I got this messages:

/home/camilo/grass-addons/imagery/i.spec.unmix# make
MODULE_TOPDIR=/home/camilo/grass-6.4.svn_src_snapshot_2008_06_14
gcc
-I/home/camilo/grass-6.4.svn_src_snapshot_2008_06_14/dist.i686-pc-linux-gnu/include
-g -O2       -DPACKAGE=\""grassmods"\"
-I/home/camilo/grass-6.4.svn_src_snapshot_2008_06_14/dist.i686-pc-linux-gnu/include
-o OBJ.i686-pc-linux-gnu/main.o -c main.c
main.c: In function 'main':
main.c:172: warning: passing argument 2 of 'G_vector_norm_maxval' makes
integer from pointer without a cast
main.c:178: warning: passing argument 2 of 'G_vector_norm_maxval' makes
integer from pointer without a cast
main.c:227: warning: assignment makes pointer from integer without a cast
main.c:231: error: expected expression before '[' token
main.c:231: error: too few arguments to function 'G_matrix_get_element'
main.c:231: error: 'mat_struct' has no member named 'G_matrix_get_element'
main.c:235: error: expected expression before '[' token
main.c:235: error: too few arguments to function 'G_matrix_get_element'
main.c:262: warning: assignment makes pointer from integer without a cast
main.c:263: error: 'mat_struct' has no member named 'm'
main.c:263: warning: assignment makes pointer from integer without a cast
main.c:264: error: 'mat_struct' has no member named 'm'
main.c:264: warning: assignment makes pointer from integer without a cast
main.c:265: error: 'mat_struct' has no member named 'n'
main.c:265: warning: assignment makes pointer from integer without a cast
main.c:266: error: 'mat_struct' has no member named 'm'
main.c:266: error: 'mat_struct' has no member named 'n'
main.c:266: warning: assignment makes pointer from integer without a cast
main.c:293: error: 'mat_struct' has no member named 'm'
main.c:293: warning: assignment makes pointer from integer without a cast
main.c:295: error: 'vec_struct' has no member named 've'
main.c:297: error: 'vec_struct' has no member named 've'
main.c:306: error: 'mat_struct' has no member named 'n'
main.c:307: error: 'vec_struct' has no member named 've'
main.c:307: error: 'mat_struct' has no member named 'n'
main.c:324: error: 'mat_struct' has no member named 'n'
main.c:325: error: 'vec_struct' has no member named 've'
main.c:326: error: 'vec_struct' has no member named 've'
main.c:339: warning: assignment makes pointer from integer without a cast
main.c:349: error: 'vec_struct' has no member named 've'
main.c:383:28: warning: missing terminating " character
main.c:383: error: missing terminating " character
main.c:384: error: expected ')' before numeric constant
main.c:384: error: stray '\' in program
main.c:385: error: stray '\' in program
main.c:386: error: stray '\' in program
main.c:387:11: warning: missing terminating " character
main.c:387: error: missing terminating " character
main.c:391: error: expected ';' before '}' token
make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1

I am using a debian server with Linux 2.6.22-3-686 #1 SMP Sun Feb 10
20:20:49 UTC 2008 i686 GNU/Linux

Is there any other way to compile this module? or is just that is under
development?
Best
camilo

-- 
Pedro Camilo Alcántara Concepción
Department of Forest and Wildlife Ecology
Rm. 120 Russell Labs
1630 Linden Dr.
Madison WI 53706-1598
Phone +1/608/265-9219
http:/silvis.forest.wisc.edu
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080618/05fecaab/attachment-0001.html


More information about the grass-user mailing list