[uClibc 0001026]: Compile fail when UCLIBC_HAS_LFS is not set.

bugs at busybox.net bugs at busybox.net
Tue Sep 12 05:27:18 UTC 2006


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1026 
====================================================================== 
Reported By:                shc
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   1026
Category:                   Other
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             09-10-2006 23:59 PDT
Last Modified:              09-11-2006 22:27 PDT
====================================================================== 
Summary:                    Compile fail when UCLIBC_HAS_LFS is not set.
Description: 
Compile fail when UCLIBC_HAS_LFS is not set in config. Target ARCH is
ARM720T.
uClibc is from SVN. Here is compiler output:

  CC libc/sysdeps/linux/common/readahead.os
libc/sysdeps/linux/common/readahead.c:45: error: expected declaration
specifiers or '...' before 'off64_t'
libc/sysdeps/linux/common/readahead.c:46: error: conflicting types for
'readahead'
./include/bits/fcntl.h:213: error: previous declaration of 'readahead' was
here
libc/sysdeps/linux/common/readahead.c: In function 'readahead':
libc/sysdeps/linux/common/readahead.c:47: error: 'offset' 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.)
make[1]: *** [libc/sysdeps/linux/common/readahead.os] Error 1
make: *** [lib/libc.so.0] Error 2

====================================================================== 

---------------------------------------------------------------------- 
 shc - 09-11-06 22:27  
---------------------------------------------------------------------- 
After update to rev 16105, I see this error as:

  CC libc/sysdeps/linux/common/read.os
In file included from libc/sysdeps/linux/common/readahead.c:25:
./include/_lfs_64.h:27:3: error: #error Do not include this header in
files not built when LFS is disabled
make: *** [libc/sysdeps/linux/common/readahead.os] Error 1 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-10-06 23:59  shc            New Issue                                    
09-10-06 23:59  shc            Status                   new => assigned     
09-10-06 23:59  shc            Assigned To               => uClibc          
09-11-06 22:27  shc            Note Added: 0001633                          
======================================================================




More information about the uClibc-cvs mailing list