[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Build error with coreutils-8.3
From: |
Chris Clayton |
Subject: |
Build error with coreutils-8.3 |
Date: |
Sat, 9 Jan 2010 08:58:02 +0000 |
Hi,
I'm getting a build error with coreutils-8.3. version 8.2 builds fine
with the same toolset/glibc releases. The error is as follows:
CC dup-safer.o
CC exclude.o
In file included from mbuiter.h:106,
from exclude.c:38:
mbchar.h: In function 'mb_width_aux':
mbchar.h:241: warning: implicit declaration of
function 'wcwidth'
In file included from exclude.c:38:
mbuiter.h: At top level:
mbuiter.h:112: error: expected
specifier-qualifier-list before 'mbstate_t'
mbuiter.h: In function 'mbuiter_multi_next':
mbuiter.h:126: error: 'struct mbuiter_multi' has
no member named 'next_done'
mbuiter.h:131: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:136: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:137: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:137: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:138: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:142: warning: implicit declaration of
function 'mbsinit'
mbuiter.h:142: error: 'struct mbuiter_multi' has
no member named 'state'
mbuiter.h:145: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:145: warning: implicit declaration of
function 'mbrtowc'
mbuiter.h:145: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:145: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:146: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:147: error: 'struct mbuiter_multi' has
no member named 'state'
mbuiter.h:148: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:151: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:152: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:156: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:159: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:159: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:160: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:166: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:169: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:170: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:171: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:173: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h:177: error: 'struct mbuiter_multi' has
no member named 'state'
mbuiter.h:181: error: 'struct mbuiter_multi' has
no member named 'next_done'
mbuiter.h: In function 'mbuiter_multi_reloc':
mbuiter.h:187: error: 'struct mbuiter_multi' has
no member named 'cur'
mbuiter.h: In function 'mbuiter_multi_copy':
mbuiter.h:194: error: 'struct mbuiter_multi' has
no member named 'state'
mbuiter.h:194: error: 'const struct
mbuiter_multi' has no member named 'state'
mbuiter.h:194: error: 'mbstate_t' undeclared
(first use in this function)
mbuiter.h:194: error: (Each undeclared identifier
is reported only once
mbuiter.h:194: error: for each function it appears in.)
mbuiter.h:196: error: 'struct mbuiter_multi' has
no member named 'state'
mbuiter.h:197: error: 'struct mbuiter_multi' has
no member named 'next_done'
mbuiter.h:197: error: 'const struct
mbuiter_multi' has no member named
'next_done'
mbuiter.h:198: error: 'struct mbuiter_multi' has no member named 'cur'
mbuiter.h:198: error: 'const struct mbuiter_multi' has no member named 'cur'
exclude.c: In function 'string_hasher_ci':
exclude.c:161: error: 'mbui_iterator_t' has no member named 'cur'
exclude.c:161: error: 'mbui_iterator_t' has no member named 'state'
exclude.c:161: error: 'mbstate_t' undeclared (first use in this function)
exclude.c:161: error: 'mbui_iterator_t' has no member named 'next_done'
exclude.c:161: error: 'mbui_iterator_t' has no member named 'cur'
exclude.c:161: error: 'mbui_iterator_t' has no member named 'cur'
exclude.c:161: error: 'mbui_iterator_t' has no member named 'cur'
exclude.c:161: error: 'mbui_iterator_t' has no member named 'cur'
exclude.c:161: error: 'mbui_iterator_t' has no member named 'next_done'
exclude.c:163: error: 'mbui_iterator_t' has no member named 'cur'
make[4]: *** [exclude.o] Error 1
make[4]: Leaving directory `/home/chris/tmp/cu/coreutils-8.3/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/chris/tmp/cu/coreutils-8.3/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/chris/tmp/cu/coreutils-8.3/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chris/tmp/cu/coreutils-8.3'
make: *** [all] Error 2
gcc version is 4.4.3 20100105 (prerelease). glibc is 2.7.
A diff between 8.2 and 8.3 shows some wchar-related work has been
done, but I'm afraid it's black magic to me.
Don't hesitate to let me know of any ways I can help diagnose and fix this.
Thanks
Chris
--
No, Sir; there is nothing which has yet been contrived by man, by
which so much happiness is produced as by a good tavern or inn -
Doctor Samuel Johnson