Please backport a patch to branches/uClibc_0_9_30

Christian MICHON christian.michon at gmail.com
Mon Apr 27 12:54:05 UTC 2009


On Mon, Apr 27, 2009 at 1:03 PM, rhabarber1848 <rhabarber1848 at web.de> wrote:
> Hi,
>
> this patch fixes a compile error with Linux kernel 2.6.17:
>
> http://sources.busybox.net/index.py/trunk/uClibc/libc/sysdeps/linux/common/bits/sigcontext.h?r1=4309&r2=24954&pathrev=25109
>
> I know the kernel is ancient, but I need it to make uClibc 0.9.30.1 work,
> otherwise this happens:
>
>  CC libc/sysdeps/linux/common/getrusage.os
> In file included from ./include/bits/sigcontext.h:28,
>                 from ./include/signal.h:333,
>                 from ./include/sys/wait.h:31,
>                 from ./include/wait.h:1,
>                 from libc/sysdeps/linux/common/getrusage.c:12:
> /root/work_uclibc/compile/cdk/linux-2.6.17/include/asm/sigcontext.h:24:
> warning: no semicolon at end of struct or union
> /root/work_uclibc/compile/cdk/linux-2.6.17/include/asm/sigcontext.h:24:
> error: syntax error before '*' token
>
> Cheers, rhabarber1848
>
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
>

or modify /usr/include/asm/sigcontext.h by hand, removing the
offending "__user". Most of the patch you're pointing to is actually
inside the kernel's headers (I still use 2.6.23).

I still see this problem today mostly because I use gcc-3.4.6: what
version of gcc are you using ?

I could be wrong, I have not tried yet a more recent compiler :)

-- 
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !


More information about the uClibc mailing list