Buildroot: conflicting types for 'sendfile64'
Peter S. Mazinger
ps.m at gmx.net
Fri Jan 27 21:32:40 UTC 2006
On Fri, 27 Jan 2006, Gilles Casse wrote:
> Hello,
>
> Using buildroot, make finishes with the error message "conflicting types for
> 'sendfile64'" [1]
> The support for large file was disabled in the buildroot config; the error still
> remains though.
> It seems that __USE_LARGEFILE64 is still defined.
>
> Thank you for your advices,
>
> Gilles
>
>
> [1] Buildroot for arm920t, kernel 2.4.27, binutils 2.16.1, gcc 3.4.2
>
> make[2]: Entering directory
> `/home/gcasse/UCLIBC/buildroot/toolchain_build_arm_nofpu/uClibc'
> CC libc/sysdeps/linux/common/sendfile.os
> libc/sysdeps/linux/common/sendfile.c: In function `sendfile':
> libc/sysdeps/linux/common/sendfile.c:14: warning: declaration of '_sys_result'
> shadows a previous local
> libc/sysdeps/linux/common/sendfile.c:14: warning: shadowed declaration is here
> libc/sysdeps/linux/common/sendfile.c: At top level:
> libc/sysdeps/linux/common/sendfile.c:18: error: conflicting types for
> 'sendfile64'
> ./include/sys/sendfile.h:47: error: previous declaration of 'sendfile64' was
> here
> libc/sysdeps/linux/common/sendfile.c:18: error: conflicting types for
> 'sendfile64'
> ./include/sys/sendfile.h:47: error: previous declaration of 'sendfile64' was
> here
I have disabled LFS and made current svn build on x86 (w/ one of my
configs, can't promise that all possible options will do)
I couldn't reproduce your specific problem (though I haven't used
buildroot)
Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the uClibc
mailing list