After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 442197 - gnome-mount.c missing an include <locale.h>
gnome-mount.c missing an include <locale.h>
Status: RESOLVED DUPLICATE of bug 511503
Product: gnome-mount
Classification: Deprecated
Component: programs
unspecified
Other Linux
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
: 514946 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-05-30 00:50 UTC by Colin Macdonald
Modified: 2008-08-25 08:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Colin Macdonald 2007-05-30 00:50:10 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
Comment 1 Diego Escalante Urrelo (not reading bugmail) 2008-03-23 08:36:58 UTC
*** Bug 514946 has been marked as a duplicate of this bug. ***
Comment 2 Diego Escalante Urrelo (not reading bugmail) 2008-03-23 08:37:21 UTC
Confirmed per dupe.
Comment 3 Rémi Cardona 2008-08-25 08:35:42 UTC
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 :)
Comment 4 Gilles Dartiguelongue 2008-08-25 08:51:14 UTC

*** This bug has been marked as a duplicate of 511503 ***