Hello all,<div><br></div><div>on an unrelated topic to my issues with wxgui and wx2.9, I&#39;m also facing some problems with add-ons.</div><div>Specifically, I need r.stream.order.</div><div><br></div><div>So I compile GRASS 7.0svn, and it goes fine. Here&#39;s my config options:</div>

<div><br></div><div><div><br></div><div>export CFLAGS=&quot;-O2&quot; </div><div>export CXXFLAGS=&quot;&quot; </div><div>export LDFLAGS=&quot;&quot;</div><div><br></div><div><br></div><div>./configure \</div><div>--enable-largefile \</div>

<div>--prefix=/Applications \</div><div>--enable-macosx-app \</div><div>--enable-sysv \</div><div>--without-glw \</div><div>--without-motif \</div><div>--without-cairo \</div><div>--without-geos \</div><div>--with-x \</div>

<div>--with-x-includes=/usr/X11R6/include \</div><div>--with-x-libraries=/usr/X11R6/lib \</div><div>--with-opengl=aqua \</div><div>--without-odbc \</div><div>--with-cxx \</div><div>--with-freetype \</div><div>--with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/include \</div>

<div>--with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib \</div><div>--with-gdal=/Library/Frameworks/GDAL.framework/Versions/1.8/Programs/gdal-config \</div><div>--with-proj-includes=/Library/Frameworks/PROJ.framework/unix/include \</div>

<div>--with-proj-libs=/Library/Frameworks/PROJ.framework/unix/lib \</div><div>--with-proj-share=/Library/Frameworks/PROJ.framework/Versions/4.6/unix/share/proj \</div><div>--with-jpeg \</div><div>--with-jpeg-includes=/Library/Frameworks/UnixImageIO.framework/unix/include \</div>

<div>--with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib \</div><div>--with-tiff \</div><div>--with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include \</div><div>--with-tiff-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib \</div>

<div>--with-png-includes=/Library/Frameworks/UnixImageIO.framework/unix/include \</div><div>--with-png-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib \</div><div>--with-sqlite \</div><div>--with-sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib \</div>

<div>--with-sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/include \</div><div>--without-fftw \</div><div>--with-postgres-includes=/usr/local/pgsql/include \</div><div>--with-postgres-libs=/usr/local/pgsql/lib \</div>

<div>--with-freetype \</div><div>--with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/include \</div><div>--with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib \</div><div>--with-python=/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config \</div>

<div>--with-wxwidgets=/usr/local/lib/wxPython-2.9.3.1/bin/wx-config \</div><div>--without-readline \</div><div>--without-tcltk \</div><div>--with-blas \</div><div>--with-lapack \</div><div>--with-blas-includes=/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers \</div>

<div>--with-lapack-includes=/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers \</div><div><br></div><div><br></div><div>I run make, make libs, and make install, which creates my GRASS-7.0.app in /Applications</div>

<div><br></div><div>Then I get the add-ons from svn as</div><div><br></div><div>svn checkout <a href="http://svn.osgeo.org/grass/grass-addons">http://svn.osgeo.org/grass/grass-addons</a></div><div><br></div><div>I cd into r.stream.order and try this:</div>

<div><br></div><div>make MODULE_TOPDIR=/Users/guano/Documents/installs/grass/grass_trunk/</div><div><br></div><div>and get this:</div><div><br></div><div><div>GuanoMac:r.stream.order guano$ make MODULE_TOPDIR=/Users/guano/Documents/installs/grass/grass_trunk/</div>

<div>: &amp;&amp; gcc -L/Users/guano/Documents/installs/grass/grass_trunk/dist.x86_64-apple-darwin11.3.0/lib -L/Users/guano/Documents/installs/grass/grass_trunk/dist.x86_64-apple-darwin11.3.0/lib    -o /Users/guano/Documents/installs/grass/grass_trunk/dist.x86_64-apple-darwin11.3.0/bin/r.stream.order OBJ.x86_64-apple-darwin11.3.0/io.o OBJ.x86_64-apple-darwin11.3.0/main.o OBJ.x86_64-apple-darwin11.3.0/stream_init.o OBJ.x86_64-apple-darwin11.3.0/stream_order.o OBJ.x86_64-apple-darwin11.3.0/stream_raster_close.o OBJ.x86_64-apple-darwin11.3.0/stream_topology.o OBJ.x86_64-apple-darwin11.3.0/stream_vector.o    -lgrass_gis.7.0.svn -lgrass_raster.7.0.svn -lgrass_segment.7.0.svn  -lgrass_dbmiclient.7.0.svn -lgrass_dbmibase.7.0.svn    </div>

<div>Undefined symbols for architecture x86_64:</div><div>  &quot;_Vect_new_line_struct&quot;, referenced from:</div><div>      _ram_create_vector in stream_vector.o</div><div>      _seg_create_vector in stream_vector.o</div>

<div>  &quot;_Vect_new_cats_struct&quot;, referenced from:</div><div>      _ram_create_vector in stream_vector.o</div><div>      _seg_create_vector in stream_vector.o</div><div>  &quot;_Vect_open_new&quot;, referenced from:</div>

<div>      _ram_create_vector in stream_vector.o</div><div>      _seg_create_vector in stream_vector.o</div><div>  &quot;_Vect_reset_line&quot;, referenced from:</div><div>      _ram_create_vector in stream_vector.o</div>

<div>      _seg_create_vector in stream_vector.o</div><div>  &quot;_Vect_reset_cats&quot;, referenced from:</div><div>      _ram_create_vector in stream_vector.o</div><div>      _seg_create_vector in stream_vector.o</div>

<div>  &quot;_Vect_cat_set&quot;, referenced from:</div><div>      _ram_create_vector in stream_vector.o</div><div>      _seg_create_vector in stream_vector.o</div><div>  &quot;_Vect_append_point&quot;, referenced from:</div>

<div>      _ram_create_vector in stream_vector.o</div><div>      _seg_create_vector in stream_vector.o</div><div>  &quot;_Vect_write_line&quot;, referenced from:</div><div>      _ram_create_vector in stream_vector.o</div>

<div>      _seg_create_vector in stream_vector.o</div><div>  &quot;_Vect_hist_command&quot;, referenced from:</div><div>      _ram_create_vector in stream_vector.o</div><div>      _seg_create_vector in stream_vector.o</div>

<div>  &quot;_Vect_build&quot;, referenced from:</div><div>      _ram_create_vector in stream_vector.o</div><div>      _seg_create_vector in stream_vector.o</div><div>  &quot;_Vect_close&quot;, referenced from:</div><div>

      _ram_create_vector in stream_vector.o</div><div>      _seg_create_vector in stream_vector.o</div><div>  &quot;_Vect_default_field_info&quot;, referenced from:</div><div>      _stream_add_table in stream_vector.o</div>

<div>  &quot;_Vect_subst_var&quot;, referenced from:</div><div>      _stream_add_table in stream_vector.o</div><div>  &quot;_Vect_map_add_dblink&quot;, referenced from:</div><div>      _stream_add_table in stream_vector.o</div>

<div>ld: symbol(s) not found for architecture x86_64</div><div>collect2: ld returned 1 exit status</div><div>make: *** [/Users/guano/Documents/installs/grass/grass_trunk/dist.x86_64-apple-darwin11.3.0/bin/r.stream.order] Error 1</div>

</div><div><br></div><div><br></div><div>So, now I&#39;m having problems with 64bits?</div><div><br></div><div>thanks </div><div><br></div><div>Carlos</div><div><br></div><div><br></div><div><br></div><div><br></div><div>

<br></div><div><br></div><div><br></div><div><br></div>-- <br>Prof. Carlos Henrique Grohmann - Geologist D.Sc.<br>Institute of Geosciences - Univ. of São Paulo, Brazil<br>---<br><a href="http://www.igc.usp.br/pessoais/guano" target="_blank">http://www.igc.usp.br/pessoais/guano</a><br>

<a href="http://www.igc.usp.br/index.php?id=openstereo" target="_blank">http://www.igc.usp.br/openstereo</a><br><a href="http://lattes.cnpq.br/5846052449613692" target="_blank">http://lattes.cnpq.br/5846052449613692</a> (CV)<br>

---<br>Twitter: @CarlosGrohmann<br><a href="http://carlosgrohmann.tumblr.com/" target="_blank">http://carlosgrohmann.tumblr.com/</a><br>________________<br>Can’t stop the signal.<br>
</div>