[Buildroot] support for SuperH
Alex Song
songqf9 at yahoo.ca
Wed Dec 13 16:16:52 UTC 2006
Hi,
Looks like buildroot supports SuperH, but I got
several errors when trying to use it.
1. When I select sh3, it tries to install the kernel
headers by "make ARCH=sh3 ...". But kernel only has
arch sh. I changed top level Config.in and made this
pass.
2. Then duing building, it complains
make[1]: Entering directory
`/root/lab/buildroot-sh/buildroot/toolchain_build_sh/uClibc'
CC libc/sysdeps/linux/sh/syscall.os
libc/sysdeps/linux/sh/syscall.c:11: error: conflicting
types for 'syscall'
./include/unistd.h:1014: error: previous declaration
of 'syscall' was here
make[2]: *** [libc/sysdeps/linux/sh/syscall.os] Error
1
The syscall.c has
long syscall(long sysnum,
long arg1, long arg2, long arg3,
long arg4, long arg5, long arg6)
while unistd.h has
extern long int syscall (long int __sysno, ...)
__THROW;
Is there a fix? What is the correct way to build a
toolchain for sh?
Thanks a lot,
Alex
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the buildroot
mailing list