compile.36
build number: 36
re-implement command
docker pull immortalwrt/opde:sdk
docker run -it --rm immortalwrt/opde:sdk zsh # or bash
export http_proxy= # [your proxy], do not use localhost or 127.0.0.1
export https_proxy=$http_proxy
opde feeds && opde config -a
make package/feeds/telephony/rtpengine/compile -j$(nproc) || make package/feeds/telephony/rtpengine/compile V=s
Compile.txt
Applying ./patches/04-prevent-systemd-detection.patch using plaintext:
patching file lib/lib.Makefile
Applying ./patches/05-use-spandsp3.patch using plaintext:
patching file daemon/Makefile
make[4]: Entering directory '/openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/kernel-module'
make -C /openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/linux-5.4.159 M=/openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/kernel-module O=/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/linux-5.4.159 modules
make[5]: Entering directory '/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/linux-5.4.159'
CC [M] /openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/kernel-module/xt_RTPENGINE.o
/openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/kernel-module/xt_RTPENGINE.c: In function 'proc_control_read_write.isra.43':
/openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/kernel-module/xt_RTPENGINE.c:3396:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
Building modules, stage 2.
MODPOST 1 modules
CC [M] /openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/kernel-module/xt_RTPENGINE.mod.o
LD [M] /openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/kernel-module/xt_RTPENGINE.ko
make[5]: Leaving directory '/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/linux-5.4.159'
make[4]: Leaving directory '/openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/kernel-module'
make[4]: Entering directory '/openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/iptables-extension'
ccache_cc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1=rtpengine-mr9.5.2.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libintl-stub/include -shared -fPIC -DRTPENGINE_VERSION="\"9.5.2.1\"" -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -L/openwrt/staging_dir/target-mips_24kc_musl/usr/lib -lxtables -o libxt_RTPENGINE.so libxt_RTPENGINE.c
make[4]: Leaving directory '/openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/iptables-extension'
make[4]: Entering directory '/openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/daemon'
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openssl', required by 'virtual:world', not found
Package libevent_pthreads was not found in the pkg-config search path.
Perhaps you should add the directory containing `libevent_pthreads.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libevent_pthreads', required by 'virtual:world', not found
Package libwebsockets was not found in the pkg-config search path.
Perhaps you should add the directory containing `libwebsockets.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libwebsockets', required by 'virtual:world', not found
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavcodec.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavcodec', required by 'virtual:world', not found
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavformat.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavformat', required by 'virtual:world', not found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavutil.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavutil', required by 'virtual:world', not found
Package libswresample was not found in the pkg-config search path.
Perhaps you should add the directory containing `libswresample.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libswresample', required by 'virtual:world', not found
Package libavfilter was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavfilter.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavfilter', required by 'virtual:world', not found
make[4]: mysql_config: Command not found
make rtpengine rtpengine.8
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openssl', required by 'virtual:world', not found
Package libevent_pthreads was not found in the pkg-config search path.
Perhaps you should add the directory containing `libevent_pthreads.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libevent_pthreads', required by 'virtual:world', not found
Package libwebsockets was not found in the pkg-config search path.
Perhaps you should add the directory containing `libwebsockets.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libwebsockets', required by 'virtual:world', not found
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavcodec.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavcodec', required by 'virtual:world', not found
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavformat.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavformat', required by 'virtual:world', not found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavutil.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavutil', required by 'virtual:world', not found
Package libswresample was not found in the pkg-config search path.
Perhaps you should add the directory containing `libswresample.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libswresample', required by 'virtual:world', not found
Package libavfilter was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavfilter.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavfilter', required by 'virtual:world', not found
make[4]: mysql_config: Command not found
make[5]: Entering directory '/openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/daemon'
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openssl', required by 'virtual:world', not found
Package libevent_pthreads was not found in the pkg-config search path.
Perhaps you should add the directory containing `libevent_pthreads.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libevent_pthreads', required by 'virtual:world', not found
Package libwebsockets was not found in the pkg-config search path.
Perhaps you should add the directory containing `libwebsockets.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libwebsockets', required by 'virtual:world', not found
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavcodec.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavcodec', required by 'virtual:world', not found
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavformat.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavformat', required by 'virtual:world', not found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavutil.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavutil', required by 'virtual:world', not found
Package libswresample was not found in the pkg-config search path.
Perhaps you should add the directory containing `libswresample.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libswresample', required by 'virtual:world', not found
Package libavfilter was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavfilter.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavfilter', required by 'virtual:world', not found
make[5]: mysql_config: Command not found
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openssl', required by 'virtual:world', not found
Package libevent_pthreads was not found in the pkg-config search path.
Perhaps you should add the directory containing `libevent_pthreads.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libevent_pthreads', required by 'virtual:world', not found
Package libwebsockets was not found in the pkg-config search path.
Perhaps you should add the directory containing `libwebsockets.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libwebsockets', required by 'virtual:world', not found
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavcodec.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavcodec', required by 'virtual:world', not found
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavformat.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavformat', required by 'virtual:world', not found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavutil.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavutil', required by 'virtual:world', not found
Package libswresample was not found in the pkg-config search path.
Perhaps you should add the directory containing `libswresample.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libswresample', required by 'virtual:world', not found
Package libavfilter was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavfilter.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavfilter', required by 'virtual:world', not found
make[5]: mysql_config: Command not found
ccache_cc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1=rtpengine-mr9.5.2.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libintl-stub/include -pthread -fno-strict-aliasing -std=c99 -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include/glib-2.0 -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/glib-2.0/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -pthread -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include/glib-2.0 -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/glib-2.0/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include/json-glib-1.0 -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include/glib-2.0 -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/glib-2.0/include -pthread -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -DWITH_IPTABLES_OPTION -I. -I../kernel-module/ -I../lib/ -I../include/ -D_GNU_SOURCE -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/spandsp3/include -DWITH_TRANSCODING -DRE_PLUGIN_DIR="\"/usr/lib/rtpengine\"" -DHAVE_BCG729 -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -DRTPENGINE_VERSION="\"9.5.2.1\"" -pthread -fno-strict-aliasing -std=c99 -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include/glib-2.0 -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/glib-2.0/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -pthread -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include/glib-2.0 -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/glib-2.0/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include/json-glib-1.0 -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include/glib-2.0 -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/glib-2.0/include -pthread -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -DWITH_IPTABLES_OPTION -I. -I../kernel-module/ -I../lib/ -I../include/ -D_GNU_SOURCE -I/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/spandsp3/include -DWITH_TRANSCODING -DRE_PLUGIN_DIR="\"/usr/lib/rtpengine\"" -DHAVE_BCG729 -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -DRTPENGINE_VERSION="\"9.5.2.1\"" -c -o main.o main.c
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openssl', required by 'virtual:world', not found
Package libevent_pthreads was not found in the pkg-config search path.
Perhaps you should add the directory containing `libevent_pthreads.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libevent_pthreads', required by 'virtual:world', not found
Package libwebsockets was not found in the pkg-config search path.
Perhaps you should add the directory containing `libwebsockets.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libwebsockets', required by 'virtual:world', not found
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavcodec.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavcodec', required by 'virtual:world', not found
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavformat.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavformat', required by 'virtual:world', not found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavutil.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavutil', required by 'virtual:world', not found
Package libswresample was not found in the pkg-config search path.
Perhaps you should add the directory containing `libswresample.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libswresample', required by 'virtual:world', not found
Package libavfilter was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavfilter.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavfilter', required by 'virtual:world', not found
make[5]: mysql_config: Command not found
In file included from ../include/aux.h:21,
from ../include/main.h:5,
from main.c:1:
../lib/auxlib.h:7:10: fatal error: openssl/rand.h: No such file or directory
#include <openssl/rand.h>
^~~~~~~~~~~~~~~~
compilation terminated.
make[5]: *** [<builtin>: main.o] Error 1
make[5]: Leaving directory '/openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/daemon'
make[4]: *** [../lib/common.Makefile:4: all] Error 2
make[4]: Leaving directory '/openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/daemon'
make[3]: *** [Makefile:287: /openwrt/build_dir/target-mips_24kc_musl/rtpengine-transcode/rtpengine-mr9.5.2.1/.built] Error 2