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

Peter Lambrechtsen plambrechtsen at novell.com
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/libc.so.0] 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/dhcp.mk to reflect this, but no biggie.

Thanks

Peter

Peter Lambrechtsen
Identity & Access Management Consultant
plambrechtsen at novell.com
+64-27-290-5735 (Mobile)
+64-4-470-5540 (Office)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20070727/304a0d0f/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2023 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20070727/304a0d0f/attachment-0002.gif 


More information about the uClibc mailing list