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
On Wed, 2008-06-18 at 08:30 -0500, Pedro Camilo Alcantara wrote:
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:
[...]
Camilo,
I get the same error as you under Ubuntu64 bit with grass-6.3.1svn
Nikos
Hi, as there has not been an answer on that matter I would like to ask again,
if someone can give an explanation on the i.spec.unmix AddOn problem with
grass64.svn, as I got exactly the same messages as quoted below.
Is it possible, that it has not yet been fitted with the sources of grass64?
And if so, what can I do to get i.spec.unmix running?
Best regards
Stefan
Pedro Camilo Alcantara wrote:
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
___________________________________________
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
--
View this message in context: http://n2.nabble.com/i.spec.unmix-module-tp1884110p3372110.html
Sent from the Grass - Users mailing list archive at Nabble.com.
Stefan Sylla:
Hi, as there has not been an answer on that matter I would like to ask again,
if someone can give an explanation on the i.spec.unmix AddOn problem with
grass64.svn, as I got exactly the same messages as quoted below.
Is it possible, that it has not yet been fitted with the sources of grass64?
And if so, what can I do to get i.spec.unmix running?
Same error here using grass-6.4.0svn.
Nikos
---
Pedro Camilo Alcantara wrote:
>
> 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
On Sun, Aug 2, 2009 at 11:40 AM, Nikos
Alexandris<nikos.alexandris@felis.uni-freiburg.de> wrote:
Stefan Sylla:
Hi, as there has not been an answer on that matter I would like to ask again,
if someone can give an explanation on the i.spec.unmix AddOn problem with
grass64.svn, as I got exactly the same messages as quoted below.
Is it possible, that it has not yet been fitted with the sources of grass64?
And if so, what can I do to get i.spec.unmix running?
Same error here using grass-6.4.0svn.
The module needs yet to be ported to GRASS 6. Brad Douglas had worked
on it but never send his modifications. So I am afraid to say that someone
has to redo it.
Sorry for no better news,
Markus