### Description
During build on alpine we get error
```
generating core/autover.h ...
CC (gcc) [kamailio] main.o
CC (gcc) [kamailio] core/daemonize.o
CC (gcc) [kamailio] core/nonsip_hooks.o
CC (gcc) [kamailio] core/timer_proc.o
CC (gcc) [kamailio] core/select_buf.o
CC (gcc) [kamailio] core/stun.o
CC (gcc) [kamailio] core/action.o
CC (gcc) [kamailio] core/raw_listener.o
CC (gcc) [kamailio] core/sctp_core.o
CC (gcc) [kamailio] core/str.o
CC (gcc) [kamailio] core/atomic_ops.o
CC (gcc) [kamailio] core/bit_count.o
CC (gcc) [kamailio] core/select_core.o
CC (gcc) [kamailio] core/pvapi.o
CC (gcc) [kamailio] core/forward.o
CC (gcc) [kamailio] core/ut.o
CC (gcc) [kamailio] core/timer.o
CC (gcc) [kamailio] core/ver.o
CC (gcc) [kamailio] core/id.o
CC (gcc) [kamailio] core/switch.o
CC (gcc) [kamailio] core/kemi.o
CC (gcc) [kamailio] core/local_timer.o
CC (gcc) [kamailio] core/dns_cache.o
CC (gcc) [kamailio] core/route.o
CC (gcc) [kamailio] core/udp_server.o
CC (gcc) [kamailio] core/sr_compat.o
CC (gcc) [kamailio] core/locking.o
CC (gcc) [kamailio] core/socket_info.o
CC (gcc) [kamailio] core/resolve.o
core/resolve.c: In function 'get_record':
core/resolve.c:961:9: error: 'T_OPT' undeclared (first use in this function)
961 | case T_OPT:
| ^~~~~
core/resolve.c:961:9: note: each undeclared identifier is reported only once for each
function it appears in
make[1]: *** [Makefile.rules:100: core/resolve.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
'/usr/src/kamailio/pkg/kamailio/alpine/src/kamailio-49a78933845f136f8f7caaf7e24e6cdcf206cbb5/src'
make: *** [Makefile:30: all] Error 2
>> ERROR: kamailio: build failed
>> kamailio: Uninstalling dependencies...
(1/1) Purging .makedepends-kamailio
(20191007.100221)
OK: 635 MiB in 184 packages
pre_build hook failed! (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/2095