root@x7:# make
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o main.o main.cpp
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o audio/AudioInputModule.o audio/AudioInputModule.cpp
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o audio/AudioOutputModule.o audio/AudioOutputModule.cpp
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o libtgvoip/BlockingQueue.o libtgvoip/BlockingQueue.cpp
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o libtgvoip/BufferInputStream.o libtgvoip/BufferInputStream.cpp
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o libtgvoip/BufferOutputStream.o libtgvoip/BufferOutputStream.cpp
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o libtgvoip/BufferPool.o libtgvoip/BufferPool.cpp
libtgvoip/BufferPool.cpp: In constructor ‘tgvoip::BufferPool::BufferPool(unsigned int, unsigned int)’:
libtgvoip/BufferPool.cpp:20:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<count;i++){
^
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o libtgvoip/CongestionControl.o libtgvoip/CongestionControl.cpp
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o libtgvoip/EchoCanceller.o libtgvoip/EchoCanceller.cpp
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o libtgvoip/JitterBuffer.o libtgvoip/JitterBuffer.cpp
libtgvoip/JitterBuffer.cpp: In member function ‘int tgvoip::JitterBuffer::GetInternal(jitter_packet_t*, int)’:
libtgvoip/JitterBuffer.cpp:186:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(lostCount>=lossesToReset || (gotSinceReset>minDelay*25 && lostSinceReset>gotSinceReset/2)){
^
libtgvoip/JitterBuffer.cpp:186:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(lostCount>=lossesToReset || (gotSinceReset>minDelay*25 && lostSinceReset>gotSinceReset/2)){
^
libtgvoip/JitterBuffer.cpp:191:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(GetCurrentDelay()<minDelay)
^
libtgvoip/JitterBuffer.cpp: In member function ‘void tgvoip::JitterBuffer::PutInternal(jitter_packet_t*)’:
libtgvoip/JitterBuffer.cpp:261:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i==JITTER_SLOT_COUNT || GetCurrentDelay()>=maxUsedSlots){
^
libtgvoip/JitterBuffer.cpp: In member function ‘void tgvoip::JitterBuffer::Tick()’:
libtgvoip/JitterBuffer.cpp:307:6: warning: unused variable ‘count’ [-Wunused-variable]
int count=0;
^
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o libtgvoip/logging.o libtgvoip/logging.cpp
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o libtgvoip/MediaStreamItf.o libtgvoip/MediaStreamItf.cpp
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o libtgvoip/OpusDecoder.o libtgvoip/OpusDecoder.cpp
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o libtgvoip/OpusEncoder.o libtgvoip/OpusEncoder.cpp
g++ -Ilibtgvoip -I/usr/include/opus -I/usr/local/ssl/include/ -Ilibtgvoip/webrtc_dsp -pthread -O3 -Wall -c -std=c++11 -fpic -finline-functions -ffast-math -fno-strict-aliasing -DUSE_KISS_FFT -DFIXED_POINT -DPHP_LIBTGVOIP -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -g -DTGVOIP_USE_CXX11_LIB -DTGVOIP_OTHER -DLIBTGVOIP_CUSTOM -DWEBRTC_POSIX -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -o -c -o libtgvoip/VoIPController.o libtgvoip/VoIPController.cpp
libtgvoip/VoIPController.cpp: In function ‘void tgvoip_openssl_aes_ctr_encrypt(uint8_t*, size_t, uint8_t*, uint8_t*, uint8_t*, uint32_t*)’:
libtgvoip/VoIPController.cpp:134:65: error: ‘AES_ctr128_encrypt’ was not declared in this scope
AES_ctr128_encrypt(inout, inout, length, &akey, iv, ecount, num);
^
In file included from libtgvoip/VoIPController.cpp:14:0:
libtgvoip/VoIPController.h: In constructor ‘tgvoip::VoIPController::VoIPController()’:
libtgvoip/VoIPController.h:455:14: warning: ‘tgvoip::VoIPController::proxyPassword’ will be initialized after [-Wreorder]
std::string proxyPassword;
^
libtgvoip/VoIPController.h:446:13: warning: ‘tgvoip::BufferPool tgvoip::VoIPController::outgoingPacketsBufferPool’ [-Wreorder]
BufferPool outgoingPacketsBufferPool;
^
libtgvoip/VoIPController.cpp:158:1: warning: when initialized here [-Wreorder]
VoIPController::VoIPController() : activeNetItfName(""),
^
libtgvoip/VoIPController.cpp:177:6: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
libtgvoip/VoIPController.cpp: In member function ‘void tgvoip::VoIPController::SetRemoteEndpoints(std::vector<tgvoip::Endpoint>, bool)’:
libtgvoip/VoIPController.cpp:362:9: warning: unused variable ‘i’ [-Wunused-variable]
size_t i;
^
libtgvoip/VoIPController.cpp: In member function ‘void tgvoip::VoIPController::Start()’:
libtgvoip/VoIPController.cpp:399:6: warning: unused variable ‘res’ [-Wunused-variable]
int res;
^
libtgvoip/VoIPController.cpp: In member function ‘void tgvoip::VoIPController::RunRecvThread()’:
libtgvoip/VoIPController.cpp:777:14: warning: unused variable ‘date’ [-Wunused-variable]
int32_t date=in.ReadInt32();
^
libtgvoip/VoIPController.cpp:778:14: warning: unused variable ‘queryID’ [-Wunused-variable]
int64_t queryID=in.ReadInt64();
^
libtgvoip/VoIPController.cpp:781:14: warning: unused variable ‘myPort’ [-Wunused-variable]
int32_t myPort=in.ReadInt32();
^
libtgvoip/VoIPController.cpp:985:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<queuedPackets.size();i++){
^
libtgvoip/VoIPController.cpp:1069:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<outgoingStreams.size(); i++){
^
libtgvoip/VoIPController.cpp:1277:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<incomingStreams.size();i++){
^
libtgvoip/VoIPController.cpp: In member function ‘void tgvoip::VoIPController::RunTickThread()’:
libtgvoip/VoIPController.cpp:1461:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<outgoingStreams.size();i++){
^
libtgvoip/VoIPController.cpp:1489:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<queuedPackets.size();i++){
^
libtgvoip/VoIPController.cpp: In member function ‘void tgvoip::VoIPController::SetMicMute(bool)’:
libtgvoip/VoIPController.cpp:1960:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<outgoingStreams.size();i++){
^
libtgvoip/VoIPController.cpp: In member function ‘void tgvoip::VoIPController::UpdateAudioOutputState()’:
libtgvoip/VoIPController.cpp:1975:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<incomingStreams.size();i++){
^
libtgvoip/VoIPController.cpp: In member function ‘void tgvoip::VoIPController::GetDebugString(char*, size_t)’:
libtgvoip/VoIPController.cpp:2032:6: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
<builtin>: recipe for target 'libtgvoip/VoIPController.o' failed
make: *** [libtgvoip/VoIPController.o] Error 1
error:
libtgvoip/VoIPController.cpp:134:65: error: ‘AES_ctr128_encrypt’ was not declared in this scope
AES_ctr128_encrypt(inout, inout, length, &akey, iv, ecount, num);
logs:
error: