BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001024 [buildroot] Architecture Specific minor always 09-07-06 18:07 02-12-07 05:43
Reporter mboutte View Status public  
Assigned To buildroot
Priority normal Resolution no change required  
Status closed   Product Version
Summary 0001024: 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
Additional Information I think it is on version 0.9.29
Host = AMD64 processor running FC4
Target = powerpc
Kernel headers = 2.6.12
binutils = 2.16.91.0.0
GCC compiler = 4.4.4 (4.3 versions tried too)
Attached Files

- Relationships

- Notes
(0001628)
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.
 
(0001674)
bernhardf
09-30-06 14:12

Can you check if it works again for current trunk of uClibc, please?

thanks,
 
(0001782)
bernhardf
11-22-06 14:31

ping.
Please re-check with uClibc trunk and report back.
 
(0001839)
bernhardf
11-29-06 11:10

This was fixed in uClibc-svn a while ago.
Unless you have LFS support off in uClibc, all is working fine WRT readahead now.
Closing.
Thanks for reporting this issue.
 

- 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
11-22-06 14:31 bernhardf Note Added: 0001782
11-22-06 14:31 bernhardf Status assigned => feedback
11-29-06 11:10 bernhardf Status feedback => closed
11-29-06 11:10 bernhardf Note Added: 0001839
11-29-06 11:10 bernhardf Resolution open => no change required
02-12-07 05:43 vapier Status closed => assigned
02-12-07 05:43 vapier Assigned To uClibc => buildroot


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker