On Saturday 15 September 2007 2:55:37 am Mike Frysinger 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
Ok, now I'm deeply confused. __ulong_t is the unsigned long type, right? (That's what the name implies, anyway...) So why does the typedef exist? Why not just use unsigned long? Is there some standard somewhere requiring the existence of a pointlessly redundant typedef? Rob -- "One of my most productive days was throwing away 1000 lines of code." - Ken Thompson. _______________________________________________ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc