<div>&nbsp;</div><div>&nbsp;</div>Hi,<br>Sorry about replying so late,I`ve updated my GMT version to 4.5.5 and reinstalled SM3.5,right now it works very well.<br>Thanks again,<br>WSC<br><div></div><br>At 2010-11-17 04:14:14,"Bruce&nbsp;Worden"&nbsp;&lt;<a href="mailto:cbworden@caltech.edu">cbworden@caltech.edu</a>&gt; wrote:<br> <blockquote id="isReplyContent" style="padding-left: 1ex; margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204);">Okay, ignore my previous email. I've just put back a new version of sm_nearneighbor.c that should fix the problem. Use 'svn update' to get it, and recompile with 'make'. Leave your GMT version in include/macros as '4.5'.&nbsp;<div><br></div><div>Let me know if you have any problems.<div><br></div><div>Bruce</div><div><br><div><div>On Nov 15, 2010, at 9:01 PM, 王士成 wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi ,<br>I reinstalled my SM3.5 when I got the newest codes (version 285) just like before : goto&nbsp; "/install" and do a "make",then edit the "/include/macros" ,goto "$shake_home" ,and do " make all".However, I met problems this time after "make all" in the console,the following were some of the hints gave to me.It seemes that sth wrong with my GMT,but i used to install GMT version 4.5.2 and NETCDF 3.6.3,and i never met this problem.what`s wrong?<br><br>make[2]: 正在进入目录 `/opt/shakemap/src/contour'<br>/usr/bin/cc -O -I . -I /opt/gmt/include -I /opt/netcdf/include -c sm_nearneighbor45.c -o sm_nearneighbor.o<br>sm_nearneighbor45.c: In function ‘main’:<br>sm_nearneighbor45.c:189: error: expected ‘)’ before ‘GMT_LL’<br>sm_nearneighbor45.c:189: warning: spurious trailing ‘%’ in format<br>sm_nearneighbor45.c:245: warning: passing argument 3 of ‘GMT_check_lattice’ from incompatible pointer type<br>/opt/gmt/include/gmt_init.h:74: note: expected ‘BOOLEAN *’ but argument is of type ‘GMT_LONG *’<br>sm_nearneighbor45.c:245: warning: passing argument 4 of ‘GMT_check_lattice’ from incompatible pointer type<br>/opt/gmt/include/gmt_init.h:74: note: expected ‘BOOLEAN *’ but argument is of type ‘GMT_LONG *’<br>sm_nearneighbor45.c:429: warning: passing argument 4 of ‘GMT_y_out_of_bounds’ from incompatible pointer type<br>/opt/gmt/include/gmt_boundcond.h:54: note: expected ‘BOOLEAN *’ but argument is of type ‘GMT_LONG *’<br>make[2]: *** [sm_nearneighbor.o] 错误 1<br>make[2]:正在离开目录 `/opt/shakemap/src/contour'<br><br>P.S.: OS:Ubuntu 10.04<br> GMT version:4.5.2<br> NETCDF :3.6.3<br><br> Thanks,<br> WSC<br><br>                 <br><br><span title="neteasefooter"><span id="netease_mail_footer"><hr> <a href="http://help.163.com/10/1108/18/6L03I4G500753VB8.html" target="_blank">网易163/126邮箱百分百兼容iphone ipad邮件收发</a> </span></span>_______________________________________________<br>Shake-dev mailing list<br><a href="mailto:Shake-dev@geohazards.usgs.gov">Shake-dev@geohazards.usgs.gov</a><br>https://geohazards.usgs.gov/mailman/listinfo/shake-dev<br></blockquote></div><br></div></div></blockquote><br><br><span title="neteasefooter"><span id="netease_mail_footer"><hr>
<a href="http://help.163.com/10/1108/18/6L03I4G500753VB8.html" target="_blank">网易163/126邮箱百分百兼容iphone ipad邮件收发</a>
</span></span><br><br><span title="neteasefooter"><span id="netease_mail_footer"><hr/>
<a href="http://help.163.com/10/1108/18/6L03I4G500753VB8.html" target="_blank">网易163/126邮箱百分百兼容iphone ipad邮件收发</a>
</span></span>