In r34485 there were a bunch of changes to lib/gis/gisinit.c, one of which calls G_init_locale(). However, this is not necessarily defined in locale.c. I'm not really a C guy, but this seemed to fix it for me. For reference, the build fails on an undefined reference to G_init_locale. I tried it on an Ubuntu machine and on OS X.

Cheers,

David

Index: lib/gis/gisinit.c
===================================================================
--- lib/gis/gisinit.c   (revision 34654)
+++ lib/gis/gisinit.c   (working copy)
@@ -138,7 +138,9 @@
     G_init_logging();
     G__init_window();
     G__check_for_auto_masking();
+    #if defined(HAVE_LIBINTL_H) && defined(USE_NLS)
     G_init_locale();
+    #endif
     G_init_debug();
     G_verbose();
     G_init_tempfile();



_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to