[buildroot 0001024]: Buildroot fails with error in readahead.c
bugs at busybox.net
bugs at busybox.net
Sat Sep 30 21:12:40 UTC 2006
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1024
======================================================================
Reported By: mboutte
Assigned To: uClibc
======================================================================
Project: buildroot
Issue ID: 1024
Category: Architecture Specific
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 09-07-2006 18:07 PDT
Last Modified: 09-30-2006 14:12 PDT
======================================================================
Summary: Buildroot fails with error in readahead.c
Description:
Hello,
I svn'd a new copy of buildroot and attempted to run with a powerpc
target. The build loaded was 16066. On setting the target and running make
the build failed with errors in readahead.c as if the headers did not
exist. Multiple attempts using different kernel headers, binutils and gcc
versions all resulted in the same error. A fresh download with new setting
still had the same result. The last items reported are show below.
Any help would be appreciated. Is it my setup? I did the same thing a few
days ago with build version 16060 on another computer and it worked.
Thanks,
Mike
CC libc/sysdeps/linux/common/readahead.os
libc/sysdeps/linux/common/readahead.c:45: error: syntax error before
'off64_t'
libc/sysdeps/linux/common/readahead.c: In function 'readahead':
libc/sysdeps/linux/common/readahead.c:46: error: number of arguments
doesn't match prototype
./include/bits/fcntl.h:205: error: prototype declaration
libc/sysdeps/linux/common/readahead.c:47: error: 'fd' undeclared (first
use in this function)
libc/sysdeps/linux/common/readahead.c:47: error: (Each undeclared
identifier is reported only once
libc/sysdeps/linux/common/readahead.c:47: error: for each function it
appears in.)
libc/sysdeps/linux/common/readahead.c:47: error: 'offset' undeclared
(first use in this function)
libc/sysdeps/linux/common/readahead.c:47: error: 'count' undeclared (first
use in this function)
make[2]: *** [libc/sysdeps/linux/common/readahead.os] Error 1
make[1]: *** [lib/libc.so.0] Error 2
======================================================================
----------------------------------------------------------------------
mboutte - 09-07-06 18:37
----------------------------------------------------------------------
Sorry, bad typing - the GCC compiler put into config file is 4.1.1 (not
4.4.4) and I also tried the default which is 3.4.2 plus a few others.
----------------------------------------------------------------------
bernhardf - 09-30-06 14:12
----------------------------------------------------------------------
Can you check if it works again for current trunk of uClibc, please?
thanks,
Issue History
Date Modified Username Field Change
======================================================================
09-07-06 18:07 mboutte New Issue
09-07-06 18:07 mboutte Status new => assigned
09-07-06 18:07 mboutte Assigned To => uClibc
09-07-06 18:37 mboutte Note Added: 0001628
09-30-06 14:12 bernhardf Note Added: 0001674
======================================================================
More information about the uClibc-cvs
mailing list