PJPROJECT: git clone https://github.com/asterisk/pjproject.git CFLAGS="-O3 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -fopenmp -mtune=native -march=native -Wformat -Werror=format-security" \ CXXFLAGS="-O3 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -fopenmp -mtune=native -march=native -Wformat -Werror=format-security" \ LDFLAGS="-ljemalloc -Wl,-z,relro -Wl,--as-needed" \ export CFLAGS CXXFLAGS LDFLAGS ./aconfigure CFLAGS='-DPJ_HAS_IPV6=1' --prefix=/usr --enable-epoll --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr --with-external-speex --with-external-srtp --with-external-gsm make dep && make sudo make install && sudo ldconfig Succesful built and OpenSSL found + enabled. ASTERISK: source /opt/intel/bin/compilervars.sh intel64 export PATH=/usr/lib/ccache:$PATH \ CC=icc \ CFLAGS="-xHOST" \ LD=xild \ AR=xiar \ CXX=icpc \ CXXFLAGS="-xHOST" \ export CC CFLAGS LD AR CXX CXXFLAGS LDFLAGS contrib/scripts/get_mp3_source.sh ./bootstrap.sh ./configure CC=icc CFLAGS="-DPJ_HAS_IPV6=1 -xHOST" CXX=icpc CXXFLAGS="-xHOST" --with-pjproject --with-imap=/usr/local/src/imap-2007f --with-crypto --with-ssl --with-srtp make menuselect make -j3 && make install && make config && ldconfig