I got it to compile fine using GDAL 1.10. But the GUI still crashes on startup due to problems in the xml toolbox.
Michael ______________________________ C. Michael Barton Director, Center for Social Dynamics & Complexity Professor of Anthropology, School of Human Evolution & Social Change Arizona State University Tempe, AZ 85287-2402 USA voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC) fax: 480-965-7671(SHESC), 480-727-0709 (CSDC) www: http://csdc.asu.edu, http://shesc.asu.edu http://www.public.asu.edu/~cmbarton On Dec 3, 2013, at 12:43 PM, Anna Petrášová <[email protected]<mailto:[email protected]>> wrote: Hi all, I am still having problems to compile GRASS on Maverick, it cannot find GDAL, I already reinstalled the frameworks and Xcode, too. I tried to compile the simple code which seems to be compiled during configure: #include <gdal.h> int main(int argc, const char* argv[]) { GDALOpen("foo", GA_ReadOnly); } which gives me: gis-imac:Desktop akratoc$ gcc test.c test.c:14:5: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] GDALOpen("foo", GA_ReadOnly); ^~~~~~~~ ~~~~~~~~~~~~~~~~~~ 1 warning generated. Undefined symbols for architecture x86_64: "_GDALOpen", referenced from: _main in test-sew0gz.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) I am having the same problem also on another computer. Any help appreciated. Thanks, Anna On Fri, Nov 29, 2013 at 3:27 PM, Markus Neteler <[email protected]<mailto:[email protected]>> wrote: On Fri, Nov 29, 2013 at 9:02 PM, Michael Barton <[email protected]<mailto:[email protected]>> wrote: > I've been chilling out after Thanksgiving and thought I'd try compiling > GRASS on Mavericks. > > I had a couple of configure issues. > > --with-odbc failed. Is this not included with Mavericks or do I need to > reference it in some other way? > --with nls also failed. I wonder if I have to update the version of gettext > that I compiled on Lion? > > When I dropped these out, I got it to compile. But it errors out with the > following: > > Undefined symbols for architecture x86_64: > "___sincos_stret", referenced from: I found these "random" links: http://trac.macports.org/ticket/40961 http://stackoverflow.com/questions/19015780/sincos-stret-undefined-symbol-when-linking Perhaps giving the right idea.. Markus _______________________________________________ grass-dev mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/grass-dev
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
