GNOME Bugzilla – Bug 442197
gnome-mount.c missing an include <locale.h>
Last modified: 2008-08-25 08:51:14 UTC
gnome-mount.c seems to be missing an include <locale.h>, otherwise the build dies with: gnome-mount.c: In function 'volume_from_nickname': gnome-mount.c:561: warning: incompatible implicit declaration of built-in function 'calloc' gnome-mount.c: In function 'volume_mount': gnome-mount.c:1395: error: 'LC_ALL' undeclared (first use in this function) gnome-mount.c:1395: error: (Each undeclared identifier is reported only once gnome-mount.c:1395: error: for each function it appears in.) make[3]: *** [gnome-mount.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/gnome-base/gnome-mount-0.6/work/gnome-mount-0.6/src' For reasons I don't understand, this only manifests when build *without* optimizations, i.e., CFLAGS="-march=i686". When I use CFLAGS="-march=i686 -O2 -pipe", the compilation proceeds without error. This is Gentoo GNU/Linux bug #176035, http://bugs.gentoo.org/show_bug.cgi?id=176035
*** Bug 514946 has been marked as a duplicate of this bug. ***
Confirmed per dupe.
Please mark this bug as a dupe of bug #511503 which has already been fixed. Btw, could someone make a new release of gnome-mount with all the bug fixes from June so that we can all provide extended feedback during the Gnome 2.24 beta period? Thanks :)
*** This bug has been marked as a duplicate of 511503 ***