On Mon, Jan 19, 2015 at 7:29 PM, Ziqiang Patrick Huang <
[email protected]> wrote:

> Hi I'm trying to build uClibc toolchain by following the instructions on
> http://opencores.org/or1k/OpenRISC_GNU_tool_chain#Linux_.28uClibc.29_toolchain_.28or1k-linux-uclibc.29
>
> When building uClibc-or1k, I got stuck at the error\
>
> libc/sysdeps/linux/common/fstat.c:48:21: error: storage size of 'kbuf'
> isn't known
> struct kernel_stat kbuf;
>
> Anyone had the same problem before ?
>
>
>
I bet you are using the wrong kernel headers, the instructions says to use
the headers from upstream, did you do that?
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to