classification
Title: compilation warning with sendfile
Type: compile error Stage: needs patch
Components: Extension Modules Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: giampaolo.rodola Nosy List: giampaolo.rodola, pitrou
Priority: high Keywords:

Created on 2011-02-25 23:39 by pitrou, last changed 2011-02-26 13:35 by giampaolo.rodola. This issue is now closed.

Messages (4)
msg129470 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-02-25 23:39
$ make
gcc -pthread  -g -O0 -Wall -Wstrict-prototypes    -I. -IInclude -I./Include    -DPy_BUILD_CORE  -c ./Modules/posixmodule.c -o Modules/posixmodule.o
./Modules/posixmodule.c: In function ‘posix_sendfile’:
./Modules/posixmodule.c:6025: attention : implicit declaration of function ‘sendfile’
msg129475 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-02-26 00:14
Perhaps (probably?) related to the crash in http://www.python.org/dev/buildbot/all/builders/PPC64%20Ubuntu%203.x/builds/655

./Modules/posixmodule.c:5909: warning: implicit declaration of function ‘sendfile’
msg129500 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-02-26 06:33
Fixed in r88626, and it *did* fix the buildbot crash!
msg129543 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) Date: 2011-02-26 13:35
Thanks.
History
Date User Action Args
2011-02-26 13:35:46giampaolo.rodolasetnosy: pitrou, giampaolo.rodola
messages: + msg129543
2011-02-26 06:40:54pitrousetnosy: pitrou, giampaolo.rodola
messages: - msg129503
2011-02-26 06:39:08pitrousetnosy: pitrou, giampaolo.rodola
messages: + msg129503
2011-02-26 06:33:20pitrousetstatus: open -> closed

messages: + msg129500
resolution: fixed
nosy: pitrou, giampaolo.rodola
2011-02-26 00:14:19pitrousetpriority: normal -> high
nosy: pitrou, giampaolo.rodola
messages: + msg129475
2011-02-25 23:39:29pitroucreate