bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/14779] New: readelf.c:403:3: error: unknown type name 'mbs


From: danglin at gcc dot gnu.org
Subject: [Bug binutils/14779] New: readelf.c:403:3: error: unknown type name 'mbstate_t'
Date: Sun, 28 Oct 2012 06:41:56 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14779

             Bug #: 14779
           Summary: readelf.c:403:3: error: unknown type name 'mbstate_t'
           Product: binutils
           Version: 2.24 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: address@hidden
        ReportedBy: address@hidden
                CC: address@hidden
    Classification: Unclassified
              Host: hppa1.1-hp-hp10.20
            Target: hppa1.1-hp-hp10.20
             Build: hppa1.1-hp-hp10.20


gcc -DHAVE_CONFIG_H -I. -I../../src/binutils  -I. -I../../src/binutils -I../bfd
-I../../src/binutils/../bfd -I../../src/binutils/../include -DHOST_HPPAHPUX
-D_LARGEFILE64_SOURCE -DLOCALEDIR="\"/usr/local/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I/usr/local/include -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -g -O2 -MT readelf.o -MD -MP -MF
.deps/readelf.Tpo -c -o readelf.o ../../src/binutils/readelf.c
../../src/binutils/readelf.c: In function 'print_symbol':
../../src/binutils/readelf.c:403:3: error: unknown type name 'mbstate_t'
../../src/binutils/readelf.c:460:4: warning: implicit declaration of function
'mbrtowc' [-Wimplicit-function-declaration]
make[4]: *** [readelf.o] Error 1

'mbstate_t' and 'mbrtowc' are not supported.

Have:
     extern int mblen(const char *, size_t);
     extern int mbtowc(wchar_t *, const char *, size_t);
     extern int wctomb(char *, wchar_t);
     extern size_t mbstowcs(wchar_t *, const char *, size_t);
     extern size_t wcstombs(char *, const wchar_t *, size_t);

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]