>From https://buildd.debian.org/status/fetch.php?pkg=kamailio&arch=kfreebsd-amd64…
and https://buildd.debian.org/status/fetch.php?pkg=kamailio&arch=kfreebsd-i386&…
```
gcc -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DVERSION_NODATE -DNAME='"kamailio"' -DVERSION='"4.4.0"' -DARCH='"x86_64"' -DOS='gnu/kfreebsd_' -DOS_QUOTED='"gnu/kfreebsd"' -DCOMPILER='"gcc 5.3.1"' -D__CPU_x86_64 -D__OS_gnu/kfreebsd -DSER_VER=4004000 -DCFG_DIR='"/etc/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 -c msg_translator.c -o msg_translator.o -MMD -MP
<command-line>:0:9: warning: ISO C99 requires whitespace after the macro name
In file included from parser/../mem/../fastlock.h:36:0,
from parser/../mem/../lock_ops.h:92,
from parser/../mem/shm.h:39,
from parser/../mem/shm_mem.h:34,
from parser/../ut.h:45,
from parser/../ip_addr.h:40,
from parser/msg_parser.h:37,
from msg_translator.h:54,
from msg_translator.c:88:
parser/../mem/../sched_yield.h:34:20: warning: extra tokens at end of #ifndef directive
#ifndef sched_yield()
^
In file included from msg_translator.c:98:0:
resolve.h: In function '_resolvehost':
resolve.h:432:4: error: #error neither gethostbyname2 or getipnodebyname present
#error neither gethostbyname2 or getipnodebyname present
^
Makefile.rules:97: recipe for target 'msg_translator.o' failed
make[1]: *** [msg_translator.o] Error 1
```
---
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/576
With the config that we use for Kamailio, when we enable the track_cseq_updates option on the dialog module (for use with uac_auth()) it causes Kamailio to start failing on parse_first_line() with the following error:
2(6160) INFO: <core> [parser/parse_fline.c:144]: parse_first_line(): ERROR:parse_first_line: method not followed by SP
2(6160) ERROR: <core> [parser/parse_fline.c:257]: parse_first_line(): parse_first_line: bad message (offset: 0)
2(6160) ERROR: <core> [parser/msg_parser.c:690]: parse_msg(): ERROR: parse_msg: message=<ÄÜ
s2¬>
If you look at the 3rd line of the error it looks like the pointer to the message or the message itself somehow gets corrupted. If I simply switch off the track_cseq_updates option it starts to function normally again.
I'm sorry I don't have a config file I can give as an example because the minimalist config I tried creating with that option on worked fine, so there must be something in our config that's leading to this issue but I'm unable to include our config. =/
I'm working on tracking down the issue myself but I wanted to create this issue in case anyone has run into this before or has any pointers on where I should look to reduce the amount of code I need to look through.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/526
```
CC (gcc) [M json.so] json_funcs.o
json_funcs.c:64:44: warning: 'json_object_object_get' is deprecated [-Wdeprecated-declarations]
value = (char*)json_object_to_json_string(json_object_object_get(j, field_s.s));
^
/usr/local/include/json-c/json_object.h:290:56: note: 'json_object_object_get' has been explicitly marked deprecated here
THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
```
On os/X using clang compiler
---
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/579