Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd libtgvoip && autoreconf -vfi && mkdir -p build && cd build && ../configure --enable-desktop-dsp --enable-opus-music --enable-audio-callback --prefix=/usr && make -j4 && sudo make install && cd ../..
- autoreconf: Entering directory `.'
- autoreconf: configure.ac: not using Gettext
- autoreconf: running: aclocal --force
- autoreconf: configure.ac: tracing
- autoreconf: running: libtoolize --copy --force
- libtoolize: putting auxiliary files in '.'.
- libtoolize: copying file './ltmain.sh'
- libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
- libtoolize: and rerunning libtoolize and aclocal.
- libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
- libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
- autoreconf: running: /data/data/com.termux/files/usr/bin/autoconf --force
- autoreconf: running: /data/data/com.termux/files/usr/bin/autoheader --force
- autoreconf: running: automake --add-missing --copy --force-missing
- configure.ac:10: installing './compile'
- configure.ac:8: installing './missing'
- Makefile.am: installing './depcomp'
- autoreconf: Leaving directory `.'
- configure: WARNING: unrecognized options: --enable-desktop-dsp, --enable-opus-music
- checking for a BSD-compatible install... /data/data/com.termux/files/usr/bin/install -c
- checking whether build environment is sane... yes
- checking for a thread-safe mkdir -p... /data/data/com.termux/files/usr/bin/mkdir -p
- checking for gawk... gawk
- checking whether make sets $(MAKE)... yes
- checking whether make supports nested variables... yes
- checking whether make supports nested variables... (cached) yes
- checking build system type... aarch64-unknown-linux-gnu
- checking host system type... aarch64-unknown-linux-gnu
- checking how to print strings... printf
- checking whether make supports the include directive... yes (GNU style)
- checking for gcc... gcc
- checking whether the C compiler works... yes
- checking for C compiler default output file name... a.out
- checking for suffix of executables...
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether gcc accepts -g... yes
- checking for gcc option to accept ISO C89... none needed
- checking whether gcc understands -c and -o together... yes
- checking dependency style of gcc... gcc3
- checking for a sed that does not truncate output... /data/data/com.termux/files/usr/bin/sed
- checking for grep that handles long lines and -e... /data/data/com.termux/files/usr/bin/grep
- checking for egrep... /data/data/com.termux/files/usr/bin/grep -E
- checking for fgrep... /data/data/com.termux/files/usr/bin/grep -F
- checking for ld used by gcc... /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld
- checking if the linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) is GNU ld... yes
- checking for BSD- or MS-compatible name lister (nm)... /data/data/com.termux/files/usr/bin/nm -B
- checking the name lister (/data/data/com.termux/files/usr/bin/nm -B) interface... BSD nm
- checking whether ln -s works... yes
- checking the maximum length of command line arguments... 32768
- checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
- checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
- checking for /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld option to reload object files... -r
- checking for objdump... objdump
- checking how to recognize dependent libraries... pass_all
- checking for dlltool... no
- checking how to associate runtime and link libraries... printf %s\n
- checking for ar... ar
- checking for archiver @FILE support... @
- checking for strip... strip
- checking for ranlib... ranlib
- checking command to parse /data/data/com.termux/files/usr/bin/nm -B output from gcc object... ok
- checking for sysroot... no
- checking for a working dd... /data/data/com.termux/files/usr/bin/dd
- checking how to truncate binary pipes... /data/data/com.termux/files/usr/bin/dd bs=4096 count=1
- checking for mt... no
- checking if : is a manifest tool... no
- checking how to run the C preprocessor... gcc -E
- checking for ANSI C header files... yes
- checking for sys/types.h... yes
- checking for sys/stat.h... yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for memory.h... yes
- checking for strings.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for unistd.h... yes
- checking for dlfcn.h... yes
- checking for objdir... .libs
- checking if gcc supports -fno-rtti -fno-exceptions... yes
- checking for gcc option to produce PIC... -fPIC -DPIC
- checking if gcc PIC flag -fPIC -DPIC works... yes
- checking if gcc static flag -static works... no
- checking if gcc supports -c -o file.o... yes
- checking if gcc supports -c -o file.o... (cached) yes
- checking whether the gcc linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) supports shared libraries... yes
- checking whether -lc should be explicitly linked in... no
- checking dynamic linker characteristics... GNU/Linux ld.so
- checking how to hardcode library paths into programs... immediate
- checking whether stripping libraries is possible... yes
- checking if libtool supports shared libraries... yes
- checking whether to build shared libraries... yes
- checking whether to build static libraries... yes
- checking for g++... g++
- checking whether we are using the GNU C++ compiler... yes
- checking whether g++ accepts -g... yes
- checking dependency style of g++... gcc3
- checking how to run the C++ preprocessor... g++ -E
- checking for ld used by g++... /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld
- checking if the linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) is GNU ld... yes
- checking whether the g++ linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) supports shared libraries... yes
- checking for g++ option to produce PIC... -fPIC -DPIC
- checking if g++ PIC flag -fPIC -DPIC works... yes
- checking if g++ static flag -static works... no
- checking if g++ supports -c -o file.o... yes
- checking if g++ supports -c -o file.o... (cached) yes
- checking whether the g++ linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) supports shared libraries... yes
- checking dynamic linker characteristics... (cached) GNU/Linux ld.so
- checking how to hardcode library paths into programs... immediate
- checking for gcc... (cached) gcc
- checking whether we are using the GNU C compiler... (cached) yes
- checking whether gcc accepts -g... (cached) yes
- checking for gcc option to accept ISO C89... (cached) none needed
- checking whether gcc understands -c and -o together... (cached) yes
- checking dependency style of gcc... (cached) gcc3
- checking for g++... g++
- checking whether we are using the GNU Objective C++ compiler... yes
- checking whether g++ accepts -g... yes
- checking dependency style of g++... gcc3
- checking dependency style of gcc... gcc3
- checking for ranlib... (cached) ranlib
- checking for SHA1 in -lcrypto... yes
- checking for floorf in -lm... yes
- checking for opus_decoder_create in -lopus... yes
- checking for pthread_create in -lpthread... yes
- !! WARNING: libtgvoip wasn't tested with your CPU architecture (aarch64)
- Detected CPU: aarch64
- ../configure: 17613: test: x: unexpected operator
- ../configure: 17621: test: x: unexpected operator
- ../configure: 17629: test: x: unexpected operator
- Detected OS: linux-gnu
- ../configure: 17646: test: x: unexpected operator
- ../configure: 17662: test: xyes: unexpected operator
- ../configure: 17867: test: x: unexpected operator
- ../configure: 17875: test: x: unexpected operator
- ../configure: 17891: test: xyes: unexpected operator
- checking for size_t... yes
- checking for working alloca.h... yes
- checking for alloca... yes
- checking arpa/inet.h usability... yes
- checking arpa/inet.h presence... yes
- checking for arpa/inet.h... yes
- checking float.h usability... yes
- checking float.h presence... yes
- checking for float.h... yes
- checking malloc.h usability... yes
- checking malloc.h presence... yes
- checking for malloc.h... yes
- checking netdb.h usability... yes
- checking netdb.h presence... yes
- checking for netdb.h... yes
- checking netinet/in.h usability... yes
- checking netinet/in.h presence... yes
- checking for netinet/in.h... yes
- checking stddef.h usability... yes
- checking stddef.h presence... yes
- checking for stddef.h... yes
- checking for stdint.h... (cached) yes
- checking for stdlib.h... (cached) yes
- checking for string.h... (cached) yes
- checking sys/ioctl.h usability... yes
- checking sys/ioctl.h presence... yes
- checking for sys/ioctl.h... yes
- checking sys/socket.h usability... yes
- checking sys/socket.h presence... yes
- checking for sys/socket.h... yes
- checking sys/time.h usability... yes
- checking sys/time.h presence... yes
- checking for sys/time.h... yes
- checking for unistd.h... (cached) yes
- checking wchar.h usability... yes
- checking wchar.h presence... yes
- checking for wchar.h... yes
- checking for stdbool.h that conforms to C99... yes
- checking for _Bool... yes
- checking for inline... inline
- checking for int16_t... yes
- checking for int32_t... yes
- checking for int64_t... yes
- checking for int8_t... yes
- checking for size_t... (cached) yes
- checking for ssize_t... yes
- checking for uint16_t... yes
- checking for uint32_t... yes
- checking for uint64_t... yes
- checking for uint8_t... yes
- checking for ptrdiff_t... yes
- checking for error_at_line... yes
- checking for stdlib.h... (cached) yes
- checking for GNU libc compatible malloc... yes
- checking for stdlib.h... (cached) yes
- checking for GNU libc compatible realloc... yes
- checking for clock_gettime... yes
- checking for floor... yes
- checking for gettimeofday... yes
- checking for inet_ntoa... yes
- checking for memmove... yes
- checking for memset... yes
- checking for select... yes
- checking for socket... yes
- checking for sqrt... yes
- checking for strcasecmp... yes
- checking for strchr... yes
- checking for strerror... yes
- checking for strncasecmp... yes
- checking for strstr... yes
- checking for strtol... yes
- checking for strtoul... yes
- checking for uname... yes
- checking that generated files are newer than configure... done
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating config.h
- config.status: config.h is unchanged
- config.status: executing depfiles commands
- config.status: executing libtool commands
- configure: WARNING: unrecognized options: --enable-desktop-dsp, --enable-opus-music
- make[1]: Entering directory '/data/data/com.termux/files/home/PHP-CPP/php-libtgvoip/libtgvoip/build'
- make all-am
- make[2]: Entering directory '/data/data/com.termux/files/home/PHP-CPP/php-libtgvoip/libtgvoip/build'
- CXX TgVoip.lo
- CXX VoIPController.lo
- CXX controller/net/CongestionControl.lo
- CXX controller/net/JitterBuffer.lo
- In file included from ../controller/net/CongestionControl.cpp:8:
- In file included from ../VoIPController.h:34:
- ../audio/AudioIO.h:58:40: error: virtual function 'GetOutput' has a different return type ('std::shared_ptr<AudioOutput> *') than the function it overrides (which has return type 'std::shared_ptr<AudioOutput>')
- virtual std::shared_ptr<AudioOutput> *GetOutput()
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
- ../audio/AudioIO.h:28:39: note: overridden virtual function is here
- virtual std::shared_ptr<AudioOutput> GetOutput() = 0;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
- In file included from ../controller/net/CongestionControl.cpp:8:
- In file included from ../VoIPController.h:35:
- ../controller/net/JitterBuffer.h:75:55: warning: suggest braces around initialization of subobject [-Wmissing-braces]
- std::array<jitter_packet_t, JITTER_SLOT_COUNT> slots{0};
- ^
- {}
- In file included from ../controller/net/CongestionControl.cpp:8:
- In file included from ../VoIPController.h:36:
- In file included from ../controller/net/Endpoint.h:8:
- ../controller/net/NetworkSocket.h:172:41: warning: 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual std::shared_ptr<NetworkSocket> GetWrapped();
- ^
- ../controller/net/NetworkSocket.h:162:41: note: overridden virtual function is here
- virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0;
- ^
- ../controller/net/NetworkSocket.h:173:15: warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void InitConnection();
- ^
- ../controller/net/NetworkSocket.h:163:15: note: overridden virtual function is here
- virtual void InitConnection() = 0;
- ^
- ../controller/net/NetworkSocket.h:176:15: warning: 'Open' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Open();
- ^
- ../controller/net/NetworkSocket.h:112:15: note: overridden virtual function is here
- virtual void Open() = 0;
- ^
- ../controller/net/NetworkSocket.h:177:15: warning: 'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Close();
- ^
- ../controller/net/NetworkSocket.h:113:15: note: overridden virtual function is here
- virtual void Close() = 0;
- ^
- ../controller/net/NetworkSocket.h:178:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Connect(const NetworkAddress address, uint16_t port);
- ^
- ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
- virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
- ^
- ../controller/net/NetworkSocket.h:179:15: warning: 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool OnReadyToSend();
- ^
- ../controller/net/NetworkSocket.h:127:15: note: overridden virtual function is here
- virtual bool OnReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:181:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:182:15: warning: 'IsReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool IsReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:123:15: note: overridden virtual function is here
- virtual bool IsReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:202:15: warning: 'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Close();
- ^
- ../controller/net/NetworkSocket.h:113:15: note: overridden virtual function is here
- virtual void Close() = 0;
- ^
- ../controller/net/NetworkSocket.h:203:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Connect(const NetworkAddress address, uint16_t port);
- ^
- ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
- virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
- ^
- ../controller/net/NetworkSocket.h:204:41: warning: 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual std::shared_ptr<NetworkSocket> GetWrapped();
- ^
- ../controller/net/NetworkSocket.h:162:41: note: overridden virtual function is here
- virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0;
- ^
- ../controller/net/NetworkSocket.h:205:15: warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void InitConnection();
- ^
- ../controller/net/NetworkSocket.h:163:15: note: overridden virtual function is here
- virtual void InitConnection() = 0;
- ^
- ../controller/net/NetworkSocket.h:206:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:207:25: warning: 'GetConnectedAddress' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual NetworkAddress GetConnectedAddress();
- ^
- ../controller/net/NetworkSocket.h:118:25: note: overridden virtual function is here
- virtual NetworkAddress GetConnectedAddress() { return NetworkAddress::Empty(); };
- ^
- ../controller/net/NetworkSocket.h:208:19: warning: 'GetConnectedPort' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual uint16_t GetConnectedPort();
- ^
- ../controller/net/NetworkSocket.h:119:19: note: overridden virtual function is here
- virtual uint16_t GetConnectedPort() { return 0; };
- ^
- ../controller/net/NetworkSocket.h:209:15: warning: 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool OnReadyToSend();
- ^
- ../controller/net/NetworkSocket.h:127:15: note: overridden virtual function is here
- virtual bool OnReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:210:15: warning: 'OnReadyToReceive' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool OnReadyToReceive();
- ^
- ../controller/net/NetworkSocket.h:132:15: note: overridden virtual function is here
- virtual bool OnReadyToReceive() { return true; };
- ^
- In file included from ../VoIPController.cpp:7:
- In file included from ../controller/controller/PublicAPI.cpp:1:
- In file included from ../controller/controller/../PrivateDefines.cpp:10:
- In file included from ../controller/controller/../../VoIPController.h:34:
- ../audio/AudioIO.h:58:40: error: virtual function 'GetOutput' has a different return type ('std::shared_ptr<AudioOutput> *') than the function it overrides (which has return type 'std::shared_ptr<AudioOutput>')
- virtual std::shared_ptr<AudioOutput> *GetOutput()
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
- ../audio/AudioIO.h:28:39: note: overridden virtual function is here
- virtual std::shared_ptr<AudioOutput> GetOutput() = 0;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
- In file included from ../controller/net/JitterBuffer.cpp:7:
- In file included from ../VoIPController.h:34:
- ../audio/AudioIO.h:58:40: error: virtual function 'GetOutput' has a different return type ('std::shared_ptr<AudioOutput> *') than the function it overrides (which has return type 'std::shared_ptr<AudioOutput>')
- virtual std::shared_ptr<AudioOutput> *GetOutput()
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
- ../audio/AudioIO.h:28:39: note: overridden virtual function is here
- virtual std::shared_ptr<AudioOutput> GetOutput() = 0;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
- In file included from ../controller/net/JitterBuffer.cpp:7:
- In file included from ../VoIPController.h:35:
- ../controller/net/JitterBuffer.h:75:55: warning: suggest braces around initialization of subobject [-Wmissing-braces]
- std::array<jitter_packet_t, JITTER_SLOT_COUNT> slots{0};
- ^
- {}
- In file included from ../VoIPController.cpp:7:
- In file included from ../controller/controller/PublicAPI.cpp:1:
- In file included from ../controller/controller/../PrivateDefines.cpp:10:
- In file included from ../controller/controller/../../VoIPController.h:35:
- ../controller/net/JitterBuffer.h:75:55: warning: suggest braces around initialization of subobject [-Wmissing-braces]
- std::array<jitter_packet_t, JITTER_SLOT_COUNT> slots{0};
- ^
- {}
- In file included from ../controller/net/JitterBuffer.cpp:7:
- In file included from ../VoIPController.h:36:
- In file included from ../controller/net/Endpoint.h:8:
- ../controller/net/NetworkSocket.h:172:41: warning: 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual std::shared_ptr<NetworkSocket> GetWrapped();
- ^
- ../controller/net/NetworkSocket.h:162:41: note: overridden virtual function is here
- virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0;
- ^
- ../controller/net/NetworkSocket.h:173:15: warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void InitConnection();
- ^
- ../controller/net/NetworkSocket.h:163:15: note: overridden virtual function is here
- virtual void InitConnection() = 0;
- ^
- ../controller/net/NetworkSocket.h:176:15: warning: 'Open' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Open();
- ^
- ../controller/net/NetworkSocket.h:112:15: note: overridden virtual function is here
- virtual void Open() = 0;
- ^
- ../controller/net/NetworkSocket.h:177:15: warning: 'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Close();
- ^
- ../controller/net/NetworkSocket.h:113:15: note: overridden virtual function is here
- virtual void Close() = 0;
- ^
- ../controller/net/NetworkSocket.h:178:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Connect(const NetworkAddress address, uint16_t port);
- ^
- ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
- virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
- ^
- ../controller/net/NetworkSocket.h:179:15: warning: 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool OnReadyToSend();
- ^
- ../controller/net/NetworkSocket.h:127:15: note: overridden virtual function is here
- virtual bool OnReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:181:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:182:15: warning: 'IsReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool IsReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:123:15: note: overridden virtual function is here
- virtual bool IsReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:202:15: warning: 'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Close();
- ^
- ../controller/net/NetworkSocket.h:113:15: note: overridden virtual function is here
- virtual void Close() = 0;
- ^
- ../controller/net/NetworkSocket.h:203:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Connect(const NetworkAddress address, uint16_t port);
- ^
- ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
- virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
- ^
- ../controller/net/NetworkSocket.h:204:41: warning: 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual std::shared_ptr<NetworkSocket> GetWrapped();
- ^
- ../controller/net/NetworkSocket.h:162:41: note: overridden virtual function is here
- virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0;
- ^
- ../controller/net/NetworkSocket.h:205:15: warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void InitConnection();
- ^
- ../controller/net/NetworkSocket.h:163:15: note: overridden virtual function is here
- virtual void InitConnection() = 0;
- ^
- ../controller/net/NetworkSocket.h:206:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:207:25: In file included from warning../VoIPController.cpp: :'GetConnectedAddress' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]7
- :
- In file included from ../controller/controller/PublicAPI.cpp:1:
- In file included from ../controller/controller/../PrivateDefines.cpp:10:
- In file included from ../controller/controller/../../VoIPController.h: virtual NetworkAddress GetConnectedAddress();36
- :
- ^In file included from
- ../controller/net/Endpoint.h:../controller/net/NetworkSocket.h8::
- 118../controller/net/NetworkSocket.h::25172:: 41note:: overridden virtual function is herewarning
- : 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual std::shared_ptr<NetworkSocket> GetWrapped();
- ^ virtual NetworkAddress GetConnectedAddress() { return NetworkAddress::Empty(); };
- ^../controller/net/NetworkSocket.h
- :162:../controller/net/NetworkSocket.h41::208 :note19: :overridden virtual function is here
- warning: 'GetConnectedPort' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual uint16_t GetConnectedPort();
- virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0; ^
- ^
- ../controller/net/NetworkSocket.h:119:../controller/net/NetworkSocket.h19::173 :note15: :overridden virtual function is here
- warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void InitConnection();
- virtual uint16_t GetConnectedPort() { return 0; }; ^
- ^
- ../controller/net/NetworkSocket.h:163../controller/net/NetworkSocket.h::15209:: 15note:: overridden virtual function is herewarning
- : 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void InitConnection() = 0;
- virtual bool OnReadyToSend(); ^
- ^
- ../controller/net/NetworkSocket.h../controller/net/NetworkSocket.h::176127::1515:: warningnote: : 'Open' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]overridden virtual function is here
- virtual void Open();
- ^ virtual bool OnReadyToSend()
- ../controller/net/NetworkSocket.h ^:
- 112:15../controller/net/NetworkSocket.h:: 210note:: 15overridden virtual function is here:
- warning: 'OnReadyToReceive' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Open() = 0;
- ^
- ../controller/net/NetworkSocket.h virtual bool OnReadyToReceive();:
- 177 ^:
- 15:../controller/net/NetworkSocket.h :warning132: :'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]15
- : note: overridden virtual function is here
- virtual void Close();
- ^
- ../controller/net/NetworkSocket.h:113:15: note virtual bool OnReadyToReceive() { return true; };:
- overridden virtual function is here ^
- virtual void Close() = 0;
- ^
- ../controller/net/NetworkSocket.h:178:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Connect(const NetworkAddress address, uint16_t port);
- ^
- ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
- virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
- ^
- ../controller/net/NetworkSocket.h:179:15: warning: 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool OnReadyToSend();
- ^
- ../controller/net/NetworkSocket.h:127:15: note: overridden virtual function is here
- virtual bool OnReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:181:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:182:15: warning: 'IsReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool IsReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:123:15: note: overridden virtual function is here
- virtual bool IsReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:202:15: warning: 'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Close();
- ^
- ../controller/net/NetworkSocket.h:113:15: note: overridden virtual function is here
- virtual void Close() = 0;
- ^
- ../controller/net/NetworkSocket.h:203:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Connect(const NetworkAddress address, uint16_t port);
- ^
- ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
- virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
- ^
- ../controller/net/NetworkSocket.h:204:41: warning: 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual std::shared_ptr<NetworkSocket> GetWrapped();
- ^
- ../controller/net/NetworkSocket.h:162:41: note: overridden virtual function is here
- virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0;
- ^
- ../controller/net/NetworkSocket.h:205:15: warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void InitConnection();
- ^
- ../controller/net/NetworkSocket.h:163:15: note: overridden virtual function is here
- virtual void InitConnection() = 0;
- ^
- ../controller/net/NetworkSocket.h:206:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:207:25: warning: 'GetConnectedAddress' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual NetworkAddress GetConnectedAddress();
- ^
- ../controller/net/NetworkSocket.h:118:25: note: overridden virtual function is here
- virtual NetworkAddress GetConnectedAddress() { return NetworkAddress::Empty(); };
- ^
- ../controller/net/NetworkSocket.h:208:19: warning: 'GetConnectedPort' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual uint16_t GetConnectedPort();
- ^
- ../controller/net/NetworkSocket.h:119:19: note: overridden virtual function is here
- virtual uint16_t GetConnectedPort() { return 0; };
- ^
- ../controller/net/NetworkSocket.h:209:15: warning: 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool OnReadyToSend();
- ^
- ../controller/net/NetworkSocket.h:127:15: note: overridden virtual function is here
- virtual bool OnReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:210:15: warning: 'OnReadyToReceive' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool OnReadyToReceive();
- ^
- ../controller/net/NetworkSocket.h:132:15: note: overridden virtual function is here
- virtual bool OnReadyToReceive() { return true; };
- ^
- In file included from ../TgVoip.cpp:3:
- In file included from ../VoIPController.h:34:
- ../audio/AudioIO.h:58:40: error: virtual function 'GetOutput' has a different return type ('std::shared_ptr<AudioOutput> *') than the function it overrides (which has return type 'std::shared_ptr<AudioOutput>')
- virtual std::shared_ptr<AudioOutput> *GetOutput()
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
- ../audio/AudioIO.h:28:39: note: overridden virtual function is here
- virtual std::shared_ptr<AudioOutput> GetOutput() = 0;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
- In file included from ../TgVoip.cpp:3:
- In file included from ../VoIPController.h:35:
- ../controller/net/JitterBuffer.h:75:55: warning: suggest braces around initialization of subobject [-Wmissing-braces]
- std::array<jitter_packet_t, JITTER_SLOT_COUNT> slots{0};
- ^
- {}
- In file included from ../TgVoip.cpp:3:
- In file included from ../VoIPController.h:36:
- In file included from ../controller/net/Endpoint.h:8:
- ../controller/net/NetworkSocket.h:172:41: warning: 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual std::shared_ptr<NetworkSocket> GetWrapped();
- ^
- ../controller/net/NetworkSocket.h:162:41: note: overridden virtual function is here
- virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0;
- ^
- ../controller/net/NetworkSocket.h:173:15: warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void InitConnection();
- ^
- ../controller/net/NetworkSocket.h:163:15: note: overridden virtual function is here
- virtual void InitConnection() = 0;
- ^
- ../controller/net/NetworkSocket.h:176:15: warning: 'Open' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Open();
- ^
- ../controller/net/NetworkSocket.h:112:15: note: overridden virtual function is here
- virtual void Open() = 0;
- ^
- ../controller/net/NetworkSocket.h:177:15: warning: 'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Close();
- ^
- ../controller/net/NetworkSocket.h:113:15: note: overridden virtual function is here
- virtual void Close() = 0;
- ^
- ../controller/net/NetworkSocket.h:178:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Connect(const NetworkAddress address, uint16_t port);
- ^
- ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
- virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
- ^
- ../controller/net/NetworkSocket.h:179:15: warning: 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool OnReadyToSend();
- ^
- ../controller/net/NetworkSocket.h:127:15: note: overridden virtual function is here
- virtual bool OnReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:181:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:182:15: warning: 'IsReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool IsReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:123:15: note: overridden virtual function is here
- virtual bool IsReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:202:15: warning: 'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Close();
- ^
- ../controller/net/NetworkSocket.h:113:15: note: overridden virtual function is here
- virtual void Close() = 0;
- ^
- ../controller/net/NetworkSocket.h:203:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void Connect(const NetworkAddress address, uint16_t port);
- ^
- ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
- virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
- ^
- ../controller/net/NetworkSocket.h:204:41: warning: 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual std::shared_ptr<NetworkSocket> GetWrapped();
- ^
- ../controller/net/NetworkSocket.h:162:41: note: overridden virtual function is here
- virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0;
- ^
- ../controller/net/NetworkSocket.h:205:15: warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual void InitConnection();
- ^
- ../controller/net/NetworkSocket.h:163:15: note: overridden virtual function is here
- virtual void InitConnection() = 0;
- ^
- ../controller/net/NetworkSocket.h:206:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
- virtual bool IsFailed();
- ^
- ../controller/net/NetworkSocket.h:207:25: warning: 'GetConnectedAddress' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual NetworkAddress GetConnectedAddress();
- ^
- ../controller/net/NetworkSocket.h:118:25: note: overridden virtual function is here
- virtual NetworkAddress GetConnectedAddress() { return NetworkAddress::Empty(); };
- ^
- ../controller/net/NetworkSocket.h:208:19: warning: 'GetConnectedPort' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual uint16_t GetConnectedPort();
- ^
- ../controller/net/NetworkSocket.h:119:19: note: overridden virtual function is here
- virtual uint16_t GetConnectedPort() { return 0; };
- ^
- ../controller/net/NetworkSocket.h:209:15: warning: 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool OnReadyToSend();
- ^
- ../controller/net/NetworkSocket.h:127:15: note: overridden virtual function is here
- virtual bool OnReadyToSend()
- ^
- ../controller/net/NetworkSocket.h:210:15: warning: 'OnReadyToReceive' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
- virtual bool OnReadyToReceive();
- ^
- ../controller/net/NetworkSocket.h:132:15: note: overridden virtual function is here
- virtual bool OnReadyToReceive() { return true; };
- ^
- In file included from ../controller/net/CongestionControl.cpp:7:
- ../controller/net/CongestionControl.h:58:9: warning: private field 'lastActionRtt' is not used [-Wunused-private-field]
- double lastActionRtt = 0;
- ^
- ../controller/net/CongestionControl.h:59:9: warning: private field 'stateTransitionTime' is not used [-Wunused-private-field]
- double stateTransitionTime = 0;
- ^
- 20 warnings and 1 error generated.
- make[2]: *** [Makefile:4177: controller/net/CongestionControl.lo] Error 1
- make[2]: *** Waiting for unfinished jobs....
- 18 warnings and 1 error generated.
- make[2]: *** [Makefile:4177: TgVoip.lo] Error 1
- 18 warnings and 1 error generated.
- make[2]: *** [Makefile:4177: controller/net/JitterBuffer.lo] Error 1
- 18 warnings and 1 error generated.
- make[2]: *** [Makefile:4177: VoIPController.lo] Error 1
- make[2]: Leaving directory '/data/data/com.termux/files/home/PHP-CPP/php-libtgvoip/libtgvoip/build'
- make[1]: *** [Makefile:2427: all] Error 2
- make[1]: Leaving directory '/data/data/com.termux/files/home/PHP-CPP/php-libtgvoip/libtgvoip/build'
- make: *** [Makefile:131: libtgvoip/build/libtgvoip.la] Error 2
Add Comment
Please, Sign In to add comment