<div dir="ltr"><div>Hi,<br><br></div>porting to grass7 i.spec.sam (grass-addons/grass7/imagery/)<br clear="all"><div><div><div><br></div><div>I am getting a set of complaints like this:<br><br>OBJ.x86_64-unknown-linux-gnu/spec_angle.o:(.bss+0x158): multiple definition of `Avector'<br>OBJ.x86_64-unknown-linux-gnu/main.o:/home/yann/dev/grass-addons/grass7/imagery/i.spec.sam/main.c:92: first defined here<br><br></div><div>while it is actually defined in global.h, and global.h is read in main.c as well as in spectral_angle.c . The line 92 in main.c is the first appearance, without declaring Avector (just using it).<br><br></div><div>Yann<br></div><div>-- <br><div class="gmail_signature">----</div>
</div></div></div></div>