This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/45237] New: /usr/include/string.h:546:5: error: unknown type name ‘__locale_t’
- From: "michael dot a dot richmond at nasa dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2010 14:08:16 -0000
- Subject: [Bug c/45237] New: /usr/include/string.h:546:5: error: unknown type name ‘__locale_t’
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When I attempt to build gcc 4.5.1 or a recent 4.5 snapshot on an x86_64
workstation running SuSE Linux 11.3 I get the following messages:
gcc -c -DHAVE_CONFIG_H -g -fkeep-inline-functions -I.
-I/home/mrichmon/gcc-4.5.1/libiberty/../include -W -Wall -Wwrite-strings
-Wc++-compat -Wstrict-prototypes -pedantic
/home/mrichmon/gcc-4.5.1/libiberty/floatformat.c -o floatformat.o
In file included from /home/mrichmon/gcc-4.5.1/libiberty/floatformat.c:31:0:
/usr/include/string.h:546:5: error: unknown type name ?__locale_t?
/usr/include/string.h:550:18: error: unknown type name ?__locale_t?
make[3]: *** [floatformat.o] Error 1
make[3]: Leaving directory `/home/mrichmon/gcc-4.5.1/g95/libiberty'
make[2]: *** [all-stage1-libiberty] Error 2
make[2]: Leaving directory `/home/mrichmon/gcc-4.5.1/g95'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/mrichmon/gcc-4.5.1/g95'
make: *** [all] Error 2
Error running make
--
Summary: /usr/include/string.h:546:5: error: unknown type name
?__locale_t?
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: michael dot a dot richmond at nasa dot gov
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45237