[BUG] missing include in libc/string/_syserrmsg.h for bits/uClibc_uintmaxtostr.h

Amir Shalem amir at boom.org.il
Fri May 19 12:41:48 UTC 2006


hey


there is a missing include for <bits/uClibc_uintmaxtostr.h> in 
libc/string/_syserrmsg.h

where _syserrmsg.h uses __UIM_BUFLEN_INT


I'm attaching a patch to move the include into _syserrmsg.h
and the .config file I have used to compile uClibc


I have cross-compiled uClibc to x86 using binutils 2.16.1, gcc 4.1.0, 
linux 2.6.16.16 headers, and uClibc 2006.05.05 snapshot.


the error I'm getting without the patch:

      CC libc/string/strerror.os
    libc/string/strerror.c: In function 'strerror':
    libc/string/strerror.c:17: error: '__UIM_BUFLEN_INT' undeclared 
(first use in this function)
    libc/string/strerror.c:17: error: (Each undeclared identifier is 
reported only once
    libc/string/strerror.c:17: error: for each function it appears in.)
    libc/string/strerror.c:17: warning: unused variable 'buf'
    libc/string/strerror.c:22: warning: control reaches end of non-void 
function
    make[1]: *** [libc/string/strerror.os] Error 1
    make: *** [lib/libc.so.0] Error 2
 

Amir.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-syserrmsg.diff
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20060519/328c34a7/attachment.diff 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20060519/328c34a7/attachment-0001.diff 


More information about the uClibc mailing list