### app_python (Python2)
```
make[2]: Entering directory
'/builddir/build/BUILD/kamailio-5.2.0/src/modules/app_python'
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops
-ftree-vectorize -fno-strict-overflow -mtune=generic -Wall
-DNAME='"kamailio"' -DVERSION='"5.2.0"'
-DARCH='"x86_64"' -DOS='linux_'
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 8.2.1"'
-D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5002000
-DCFG_DIR='"/etc/kamailio/"'
-DSHARE_DIR='"/usr/share/kamailio/"'
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE
-DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC
-DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS
-DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
-DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT
-I/usr/include/python2.7 -DMOD_NAME='"app_python"' -c apy_kemi_export.c
-o apy_kemi_export.o -MMD -MP
make[2]: Leaving directory
'/builddir/build/BUILD/kamailio-5.2.0/src/modules/app_python'
BUILDSTDERR: In file included from /usr/include/python2.7/pyconfig.h:6,
BUILDSTDERR: from /usr/include/python2.7/Python.h:8,
BUILDSTDERR: from apy_kemi_export.c:30:
BUILDSTDERR: /usr/include/python2.7/pyconfig-64.h:1232: warning:
"_POSIX_C_SOURCE" redefined
BUILDSTDERR: #define _POSIX_C_SOURCE 200112L
BUILDSTDERR:
BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33,
BUILDSTDERR: from /usr/include/stdio.h:27,
BUILDSTDERR: from apy_kemi_export.c:26:
BUILDSTDERR: /usr/include/features.h:265: note: this is the location of the previous
definition
BUILDSTDERR: # define _POSIX_C_SOURCE 200809L
```
```
make[2]: Entering directory
'/builddir/build/BUILD/kamailio-5.2.0/src/modules/app_python'
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops
-ftree-vectorize -fno-strict-overflow -mtune=generic -Wall
-DNAME='"kamailio"' -DVERSION='"5.2.0"'
-DARCH='"x86_64"' -DOS='linux_'
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 8.2.1"'
-D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5002000
-DCFG_DIR='"/etc/kamailio/"'
-DSHARE_DIR='"/usr/share/kamailio/"'
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE
-DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC
-DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS
-DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
-DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT
-I/usr/include/python2.7 -DMOD_NAME='"app_python"' -c apy_kemi.c -o
apy_kemi.o -MMD -MP
make[2]: Leaving directory
'/builddir/build/BUILD/kamailio-5.2.0/src/modules/app_python'
BUILDSTDERR: In file included from /usr/include/python2.7/pyconfig.h:6,
BUILDSTDERR: from /usr/include/python2.7/Python.h:8,
BUILDSTDERR: from apy_kemi.c:25:
BUILDSTDERR: /usr/include/python2.7/pyconfig-64.h:1232: warning:
"_POSIX_C_SOURCE" redefined
BUILDSTDERR: #define _POSIX_C_SOURCE 200112L
BUILDSTDERR:
BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33,
BUILDSTDERR: from /usr/include/stdio.h:27,
BUILDSTDERR: from apy_kemi.c:21:
BUILDSTDERR: /usr/include/features.h:265: note: this is the location of the previous
definition
BUILDSTDERR: # define _POSIX_C_SOURCE 200809L
```
### app_python3 (Python3)
```
make[2]: Entering directory
'/builddir/build/BUILD/kamailio-5.2.0/src/modules/app_python3'
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops
-ftree-vectorize -fno-strict-overflow -mtune=generic -Wall
-DNAME='"kamailio"' -DVERSION='"5.2.0"'
-DARCH='"x86_64"' -DOS='linux_'
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 8.2.1"'
-D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5002000
-DCFG_DIR='"/etc/kamailio/"'
-DSHARE_DIR='"/usr/share/kamailio/"'
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE
-DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC
-DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS
-DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
-DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT
-I/usr/include/python3.7m -DMOD_NAME='"app_python3"' -c python_support.c
-o python_support.o -MMD -MP
BUILDSTDERR: python_support.c: In function 'get_class_name':
BUILDSTDERR: python_support.c:249:7: warning: assignment discards 'const'
qualifier from pointer target type [-Wdiscarded-qualifiers]
BUILDSTDERR: name = PyUnicode_AsUTF8(p);
BUILDSTDERR: ^
BUILDSTDERR: python_support.c: In function 'get_instance_class_name':
BUILDSTDERR: python_support.c:275:7: warning: assignment discards 'const'
qualifier from pointer target type [-Wdiscarded-qualifiers]
BUILDSTDERR: name = PyUnicode_AsUTF8(p);
BUILDSTDERR: ^
```
```
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops
-ftree-vectorize -fno-strict-overflow -mtune=generic -Wall
-DNAME='"kamailio"' -DVERSION='"5.2.0"'
-DARCH='"x86_64"' -DOS='linux_'
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 8.2.1"'
-D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5002000
-DCFG_DIR='"/etc/kamailio/"'
-DSHARE_DIR='"/usr/share/kamailio/"'
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE
-DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC
-DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS
-DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
-DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT
-I/usr/include/python3.7m -DMOD_NAME='"app_python3"' -c python_exec.c -o
python_exec.o -MMD -MP
make[2]: Leaving directory
'/builddir/build/BUILD/kamailio-5.2.0/src/modules/app_python3'
BUILDSTDERR: app_python3_mod.c: In function 'child_init':
BUILDSTDERR: app_python3_mod.c:180:2: warning: 'PyOS_AfterFork' is deprecated
[-Wdeprecated-declarations]
BUILDSTDERR: PyOS_AfterFork();
BUILDSTDERR: ^~~~~~~~~~~~~~
BUILDSTDERR: In file included from /usr/include/python3.7m/Python.h:125,
BUILDSTDERR: from app_python3_mod.c:22:
BUILDSTDERR: /usr/include/python3.7m/intrcheck.h:18:18: note: declared here
BUILDSTDERR: PyAPI_FUNC(void) PyOS_AfterFork(void) Py_DEPRECATED(3.7);
BUILDSTDERR: ^~~~~~~~~~~~~~
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1748