Sparc32 compile errors

Mike Frysinger vapier at gentoo.org
Sat Sep 15 20:41:36 UTC 2007


On Saturday 15 September 2007, Blue Swirl wrote:
> On 9/15/07, Mike Frysinger <vapier at gentoo.org> wrote:
> > On Thursday 12 July 2007, Blue Swirl wrote:
> > > I'm trying to compile uClibc using buildroot, but I get these error
> > > messages: CC libc/sysdeps/linux/common/mmap64.os
> > > libc/sysdeps/linux/common/mmap64.c: In function 'mmap64':
> > > libc/sysdeps/linux/common/mmap64.c:66: error: '__ulong_t' undeclared
> > > (first use in this function)
> > > libc/sysdeps/linux/common/mmap64.c:66: error: (Each undeclared
> > > identifier is reported only once
> > > libc/sysdeps/linux/common/mmap64.c:66: error: for each function it
> > > appears in.) libc/sysdeps/linux/common/mmap64.c:66: error: expected ')'
> > > before 'offset'
> > >
> > > For this problem I made the attached patch, after applying that mmap64
> > > compiles fine.
> >
> > this still a problem ?  __ulong_t needs to be defined, changing it to
> > unsigned long just ignores that ...
>
> I think this is fixed. Now I only need the attached patches (fake
> q_ops and buildroot config for busybox). I wonder why the compilation
> was successful earlier without the q_ops patch for Sparc32, unless I
> changed the compiler in meantime.

merged the uClibc bits

> About the q_ops, the real versions could be taken from glibc, would that be
> OK?

doesnt matter to me
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20070915/aac3caaf/attachment-0002.pgp 


More information about the uClibc mailing list