make[4]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/kamailio4-4.4.7' config.mak loaded Makefile.defs defs skipped Makefile.defs defs skipped Makefile.defs defs skipped make[6]: 'libkmi.so.1.0' is up to date. Makefile.defs defs skipped make[6]: 'libsrdb1.so.1.0' is up to date. Makefile.defs defs skipped make[6]: 'libkcore.so.1.0' is up to date. Makefile.defs defs skipped Makefile.defs defs skipped make[6]: 'libsrdb2.so.1.0' is up to date. Makefile.defs defs skipped make[6]: 'libsrdb1.so.1.0' is up to date. Makefile.defs defs skipped ccache_cc -Os -pipe -matomic -marchs -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib/libiconv-stub/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/lib/libintl-stub/include -Wformat -Werror=format-security -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -DNAME='"kamailio"' -DVERSION='"4.4.7"' -DARCH='"arc"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"ccache_cc 4.8.5"' -D__CPU_arc -D__OS_linux -DSER_VER=4004007 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/kamailio4-4.4.7/ipkg-install/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 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -DUSE_PTHREAD_MUTEX -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/pgsql/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/include/pgsql -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/include/postgresql -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/include/postgresql/8.0 -DSER_MOD_INTERFACE -DMOD_NAME='"db_postgres"' -c km_val.c -o km_val.o -MMD -MP In file included from km_val.c:40:0: km_pg_con.h:41:22: fatal error: libpq-fe.h: No such file or directory #include ^ compilation terminated. ../../Makefile.rules:97: recipe for target 'km_val.o' failed make[5]: *** [km_val.o] Error 1 Makefile:511: recipe for target 'modules' failed make[4]: *** [modules] Error 1 make[4]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/kamailio4-4.4.7' Makefile:253: recipe for target '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/kamailio4-4.4.7/.built' failed make[3]: *** [/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/kamailio4-4.4.7/.built] Error 2