Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot]  support for SuperH
@ 2006-12-13 16:16 Alex Song
  0 siblings, 0 replies; only message in thread
From: Alex Song @ 2006-12-13 16:16 UTC (permalink / raw)
  To: buildroot

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 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-13 16:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13 16:16 [Buildroot] support for SuperH Alex Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox