Message381902
> ./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) |
|
Date |
User |
Action |
Args |
2020-11-26 14:51:06 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka, Michael.Felt, corona10, pablogsal, miss-islington, shihai1991 |
2020-11-26 14:51:06 | vstinner | set | messageid: <1606402266.09.0.213668651219.issue41625@roundup.psfhosted.org> |
2020-11-26 14:51:06 | vstinner | link | issue41625 messages |
2020-11-26 14:51:06 | vstinner | create | |
|