Sparc32 compile errors

Blue Swirl blauwirbel at gmail.com
Sat Sep 15 20:31:28 UTC 2007


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 ...
> -mike

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.

About the q_ops, the real versions could be taken from glibc, would that be OK?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uclibc-fix-sparc32_qops.diff
Type: text/x-diff
Size: 1206 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20070915/33b731c2/attachment-0004.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-config.diff
Type: text/x-diff
Size: 537 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20070915/33b731c2/attachment-0005.bin 


More information about the uClibc mailing list