Build error with uCLibc 0.9.29 when using Buildroot to build MIPS environment

Peter Lambrechtsen plambrechtsen at
Thu Jul 26 22:02:43 UTC 2007

When using the "BuildRoot" automated script I have a compile failure after the download of uClibc 0.9.29 in mmap64.c

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'
make[2]: *** [libc/sysdeps/linux/common/mmap64.os] Error 1
make[1]: *** [lib/] Error 2

I commented out the return line as I am not building on a 64bit platform, or for a 64 bit platform so I assume I don't really need this ???

Perhaps there should be a linux/common64 for all 64bit specific code???

Will try the latest SVN checkout to see if that works any better.

Plus with the buildroot it's trying to download dhcp-3.0.5 which doesn't exist and is now 3.0.6, I updated package/dhcp/ to reflect this, but no biggie.



Peter Lambrechtsen
Identity & Access Management Consultant
plambrechtsen at
+64-27-290-5735 (Mobile)
+64-4-470-5540 (Office)
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2023 bytes
Desc: not available
Url : 

More information about the uClibc mailing list