Buildroot: conflicting types for 'sendfile64'

Michael Hunold hunold at linuxtv.org
Mon Jan 30 17:34:27 UTC 2006


Hi,

Peter S. Mazinger wrote:
> On Mon, 30 Jan 2006, Michael Hunold wrote:
>>Seems like __USE_FILE_OFFSET64 is *not* defined and __USE_LARGEFILE64 is 
>>defined.

> do the mini-update above, rebuild sendfile.c, I hope I have catched 
> exactly that case

I did the mini-update and I could see the changes you did. I added the
#warnings again afterwards.

Unfortunately, the problem persists:
-----------------------------schnipp--------------------------------
   CC libc/sysdeps/linux/common/sendfile.os
In file included from libc/sysdeps/linux/common/sendfile.c:12:
./include/sys/sendfile.h:34:2: warning: #warning "__USE_FILE_OFFSET64 
not defined"
./include/sys/sendfile.h:49:2: warning: #warning "__USE_LARGEFILE64"
libc/sysdeps/linux/common/sendfile.c:19: error: conflicting types for 
'sendfile64'
./include/sys/sendfile.h:51: error: previous declaration of 'sendfile64' 
was here
libc/sysdeps/linux/common/sendfile.c:19: error: conflicting types for 
'sendfile64'
./include/sys/sendfile.h:51: error: previous declaration of 'sendfile64' 
was here
make[1]: *** [libc/sysdeps/linux/common/sendfile.os] Error 1
make[1]: Leaving directory 
`/mnt/teemhu/devel/buildroot/buildroot/toolchain_build_mips_nofpu/uClibc'
-----------------------------schnipp--------------------------------

> Thanks, Peter

CU
Michael.




More information about the uClibc mailing list