Build failure after recent checkins

Peter S. Mazinger ps.m at gmx.net
Sun Nov 27 22:52:49 UTC 2005


On Sun, 27 Nov 2005, Jan-Benedict Glaw wrote:

> Hi!
> 
> 12537 worked for me, 12544 doesn't:
> 
> [...]
> vax-linux-uclibc-gcc -c libc/string/stpcpy.c -o libc/string/stpcpy.o -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I./include -I. -Os -funit-at-a-time -isystem /home/jbglaw/vax-linux/scm/build-20051127-143504-vax-linux-uclibc/install/usr/lib/gcc/vax-linux-uclibc/4.2.0/include -DNDEBUG
> In file included from libc/string/stpcpy.c:10:
> libc/string/wstring.c:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> libc/string/wstring.c:76: warning: type defaults to 'int' in declaration of 'wchar_t'
> libc/string/wstring.c:76: error: expected ';', ',' or ')' before '*' token
> libc/string/wstring.c:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> libc/string/wstring.c:79: warning: type defaults to 'int' in declaration of 'wchar_t'
> libc/string/wstring.c:79: error: expected ';', ',' or ')' before '*' token
> libc/string/wstring.c:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> make: *** [libc/string/stpcpy.o] Error 1
> 
> My cross-gcc is an up-to-date 4.2.0 snapshot. This looks like being a
> problem with the recent hiding work.
> MfG, JBG

I didn't even know that 4.1 is out, well try to move attribute_hidden 
around in the line and see where it is accepted. If the current syntax 
fails, then not even glibc can be built.

Thanks, Peter 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list