Changes between and of Initial VersionVersion 1Ticket #5936
- Timestamp:
- 09/03/2012 08:35:14 AM (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5936
- Property priority changed from low to lowest
-
Ticket #5936 – description
initial v1 1 1 When building the 12.2.0 release with GCC on AIX, the symbols 2 CMSG_SIZE and CMSG_LENcome up as undefined.2 `CMSG_SIZE` and `CMSG_LEN` come up as undefined. 3 3 4 {{{ 4 5 twisted/python/sendmsg.c: In function 'sendmsg_sendmsg': 5 6 twisted/python/sendmsg.c:243: warning: implicit declaration of function 'CMSG_SPACE' 6 7 twisted/python/sendmsg.c:306: warning: implicit declaration of function 'CMSG_LEN' 8 }}} 7 9 8 Those symbols are only defined when _LINUX_SOURCE_COMPATis defined on AIX.10 Those symbols are only defined when `_LINUX_SOURCE_COMPAT` is defined on AIX. 9 11 10 Adding -D_LINUX_SOURCE_COMPAT to CFLAGS or in front of the sys/socket.hinclude fixes it.12 Adding `-D_LINUX_SOURCE_COMPAT` to `CFLAGS` or in front of the `sys/socket.h` include fixes it.
