This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/45237] New: /usr/include/string.h:546:5: error: unknown type name ‘__locale_t’


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]