i.spec.sam hasnt been ported to grass6.4. sorry I am working on it<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 7, 2012 at 11:07 AM, 王德辉 <span dir="ltr"><<a href="mailto:dehuiw@gig.ac.cn" target="_blank">dehuiw@gig.ac.cn</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>GRASS 6.4.3svn (nc_spm_08):/usr/local/src/grass64_release > g.extension extension=i.spec.sam op=add<br><br>Fetching <i.spec.sam> from GRASS-Addons SVN (be patient)...<br>

A    i.spec.sam/meminfo.h<br>A    i.spec.sam/spec_angle.c<br>A    i.spec.sam/open.c<br>A    i.spec.sam/view.sh<br>A    i.spec.sam/description.html<br>A    i.spec.sam/global.h<br>A    i.spec.sam/test.dat<br>A    i.spec.sam/hist.c<br>

A    i.spec.sam/machine.h<br>A    i.spec.sam/matrix.h<br>A    i.spec.sam/spectrum2.dat<br>A    i.spec.sam/main.c<br>A    i.spec.sam/spectrum.dat<br>A    i.spec.sam/matrix2.h<br>A    i.spec.sam/Makefile<br>A    i.spec.sam/err.h<br>

 U   i.spec.sam<br>取出版本 54231。<br>Compiling <i.spec.sam>...<br>/usr/local/grass-6.4.3svn/include/Make/Grass.make:423: 警告:覆盖关于目标“/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/bin”的命令<br>

/usr/local/grass-6.4.3svn/include/Make/Grass.make:414: 警告:忽略关于目标“/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/bin”的旧命令<br>/usr/local/grass-6.4.3svn/include/Make/Module.make:25: 警告:覆盖关于目标“install”的命令<br>

/usr/local/grass-6.4.3svn/include/Make/Rules.make:99: 警告:忽略关于目标“install”的旧命令<br>mkdir -p /media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/bin<br>mkdir -p /media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/include/grass<br>

mkdir -p /media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/etc<br>mkdir -p /media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/driver<br>mkdir -p /media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/driver/db<br>

mkdir -p /media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/fonts<br>test -d OBJ.x86_64-unknown-linux-gnu || mkdir -p OBJ.x86_64-unknown-linux-gnu<br>gcc '-I/usr/local/grass-6.4.3svn/include' '-I/home/wdh/.grass6/addons/include' '-I/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/include'  -g -O2       -DPACKAGE=\""grassmods"\"  '-I/usr/local/grass-6.4.3svn/include' '-I/home/wdh/.grass6/addons/include' '-I/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/include' -o OBJ.x86_64-unknown-linux-gnu/hist.o -c hist.c<br>

gcc '-I/usr/local/grass-6.4.3svn/include' '-I/home/wdh/.grass6/addons/include' '-I/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/include'  -g -O2       -DPACKAGE=\""grassmods"\"  '-I/usr/local/grass-6.4.3svn/include' '-I/home/wdh/.grass6/addons/include' '-I/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/include' -o OBJ.x86_64-unknown-linux-gnu/main.o -c main.c<br>

main.c:28:1: 警告: 函数声明中出现形参名却未指定类型 [默认启用]<br>main.c: 在函数‘main’中:<br>main.c:203:17: 警告: 忽略声明有 warn_unused_result 属性的‘system’的返回值 [-Wunused-result]<br>gcc '-I/usr/local/grass-6.4.3svn/include' '-I/home/wdh/.grass6/addons/include' '-I/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/include'  -g -O2       -DPACKAGE=\""grassmods"\"  '-I/usr/local/grass-6.4.3svn/include' '-I/home/wdh/.grass6/addons/include' '-I/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/include' -o OBJ.x86_64-unknown-linux-gnu/open.o -c open.c<br>

gcc '-I/usr/local/grass-6.4.3svn/include' '-I/home/wdh/.grass6/addons/include' '-I/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/include'  -g -O2       -DPACKAGE=\""grassmods"\"  '-I/usr/local/grass-6.4.3svn/include' '-I/home/wdh/.grass6/addons/include' '-I/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/include' -o OBJ.x86_64-unknown-linux-gnu/spec_angle.o -c spec_angle.c<br>

gcc '-L/usr/local/grass-6.4.3svn/lib' '-L/home/wdh/.grass6/addons/lib' '-L/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/lib' -Wl,--export-dynamic -Wl,-rpath-link,/usr/local/grass-6.4.3svn/lib    -o /media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/bin/i.spec.sam OBJ.x86_64-unknown-linux-gnu/hist.o OBJ.x86_64-unknown-linux-gnu/main.o OBJ.x86_64-unknown-linux-gnu/open.o OBJ.x86_64-unknown-linux-gnu/spec_angle.o  -lgrass_I.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz      -lgrass_gmath.6.4.3svn -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz     -lgrass_gis.6.4.3svn -lgrass_datetime.6.4.3svn -lz     -lm  -lz <br>

OBJ.x86_64-unknown-linux-gnu/main.o:在函数‘main’中:<br>/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/main.c:91:对‘get_row’未定义的引用<br>/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/main.c:96:对‘get_row’未定义的引用<br>

/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/main.c:99:对‘v_free’未定义的引用<br>/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/main.c:102:对‘v_free’未定义的引用<br>

/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/main.c:135:对‘svd’未定义的引用<br>/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/main.c:136:对‘v_foutput’未定义的引用<br>

/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/main.c:135:对‘svd’未定义的引用<br>/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/main.c:136:对‘v_foutput’未定义的引用<br>

/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/main.c:166:对‘v_get’未定义的引用<br>/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/main.c:179:对‘v_free’未定义的引用<br>

/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/main.c:176:对‘get_row’未定义的引用<br>/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/main.c:182:对‘v_free’未定义的引用<br>

/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/main.c:207:对‘m_free’未定义的引用<br>OBJ.x86_64-unknown-linux-gnu/open.o:在函数‘open_files’中:<br>/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/open.c:36:对‘m_finput’未定义的引用<br>

/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/open.c:46:对‘m_foutput’未定义的引用<br>OBJ.x86_64-unknown-linux-gnu/spec_angle.o:在函数‘spectral_angle’中:<br>/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/spec_angle.c:49:对‘v_star’未定义的引用<br>

/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/spec_angle.c:50:对‘_v_norm1’未定义的引用<br>/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/spec_angle.c:51:对‘_v_norm2’未定义的引用<br>

/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/spec_angle.c:52:对‘_v_norm2’未定义的引用<br>/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/i.spec.sam/spec_angle.c:54:对‘v_free’未定义的引用<br>

collect2: 错误: ld 返回 1<br>make: *** [/media/wdh/data/GDBase/nc_spm_08/user1/.tmp/wdh-ThinkPad-R400/11180.0/dist.x86_64/bin/i.spec.sam] 错误 1<br>错误:Compilation failed, sorry. Please check above error messages.<br><br><br>dehui<br>

<blockquote name="replyContent" style="padding-left:5px;margin-left:5px;border-left:#b6b6b6 2px solid;margin-right:0"><br><span></span><br><br><br></blockquote><br><span></span><br><br><br><br>_______________________________________________<br>


grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br>   Rashad</font></div><br>
</div>