[sr-dev] [kamailio/kamailio] 4.4.0: build errors on Debian kfreebsd (#576)

Victor Seva notifications at github.com
Wed Apr 20 08:51:48 CEST 2016


>From https://buildd.debian.org/status/fetch.php?pkg=kamailio&arch=kfreebsd-amd64&ver=4.4.0-2&stamp=1461113018&file=log
and https://buildd.debian.org/status/fetch.php?pkg=kamailio&arch=kfreebsd-i386&ver=4.4.0-2&stamp=1461117784&file=log
```
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160419/b421dc61/attachment.html>


More information about the sr-dev mailing list