STINNER Victor <[email protected]> added the comment:
> ./Modules/posixmodule.c:10429:15: error: implicit declaration of function
> 'splice'; did you mean 'plock'? [-Werror=implicit-function-declaration]
Is it possible that posixmodule.c lacks an #include to get the function on AIX?
On AIX 7.1, man splice says:
#include <sys/types.h>
#include <sys/socket.h>
int splice(socket1, socket2, flags)
int socket1, socket2;
int flags;
posixmodule.c doesn't include it on AIX:
#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__APPLE__)
# ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
# endif
#endif
Michael: Would you mind to try building the master branch of Python with
attached socket.patch? (on the worker where Python no longer builds)
----------
Added file: https://bugs.python.org/file49624/socket.patch
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue41625>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com