P22DX

log.text

May 20th, 2020
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.46 KB | None | 0 0
  1. 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 ../..
  2. autoreconf: Entering directory `.'
  3. autoreconf: configure.ac: not using Gettext
  4. autoreconf: running: aclocal --force
  5. autoreconf: configure.ac: tracing
  6. autoreconf: running: libtoolize --copy --force
  7. libtoolize: putting auxiliary files in '.'.
  8. libtoolize: copying file './ltmain.sh'
  9. libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
  10. libtoolize: and rerunning libtoolize and aclocal.
  11. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
  12. libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
  13. autoreconf: running: /data/data/com.termux/files/usr/bin/autoconf --force
  14. autoreconf: running: /data/data/com.termux/files/usr/bin/autoheader --force
  15. autoreconf: running: automake --add-missing --copy --force-missing
  16. configure.ac:10: installing './compile'
  17. configure.ac:8: installing './missing'
  18. Makefile.am: installing './depcomp'
  19. autoreconf: Leaving directory `.'
  20. configure: WARNING: unrecognized options: --enable-desktop-dsp, --enable-opus-music
  21. checking for a BSD-compatible install... /data/data/com.termux/files/usr/bin/install -c
  22. checking whether build environment is sane... yes
  23. checking for a thread-safe mkdir -p... /data/data/com.termux/files/usr/bin/mkdir -p
  24. checking for gawk... gawk
  25. checking whether make sets $(MAKE)... yes
  26. checking whether make supports nested variables... yes
  27. checking whether make supports nested variables... (cached) yes
  28. checking build system type... aarch64-unknown-linux-gnu
  29. checking host system type... aarch64-unknown-linux-gnu
  30. checking how to print strings... printf
  31. checking whether make supports the include directive... yes (GNU style)
  32. checking for gcc... gcc
  33. checking whether the C compiler works... yes
  34. checking for C compiler default output file name... a.out
  35. checking for suffix of executables...
  36. checking whether we are cross compiling... no
  37. checking for suffix of object files... o
  38. checking whether we are using the GNU C compiler... yes
  39. checking whether gcc accepts -g... yes
  40. checking for gcc option to accept ISO C89... none needed
  41. checking whether gcc understands -c and -o together... yes
  42. checking dependency style of gcc... gcc3
  43. checking for a sed that does not truncate output... /data/data/com.termux/files/usr/bin/sed
  44. checking for grep that handles long lines and -e... /data/data/com.termux/files/usr/bin/grep
  45. checking for egrep... /data/data/com.termux/files/usr/bin/grep -E
  46. checking for fgrep... /data/data/com.termux/files/usr/bin/grep -F
  47. checking for ld used by gcc... /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld
  48. checking if the linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) is GNU ld... yes
  49. checking for BSD- or MS-compatible name lister (nm)... /data/data/com.termux/files/usr/bin/nm -B
  50. checking the name lister (/data/data/com.termux/files/usr/bin/nm -B) interface... BSD nm
  51. checking whether ln -s works... yes
  52. checking the maximum length of command line arguments... 32768
  53. checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
  54. checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
  55. checking for /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld option to reload object files... -r
  56. checking for objdump... objdump
  57. checking how to recognize dependent libraries... pass_all
  58. checking for dlltool... no
  59. checking how to associate runtime and link libraries... printf %s\n
  60. checking for ar... ar
  61. checking for archiver @FILE support... @
  62. checking for strip... strip
  63. checking for ranlib... ranlib
  64. checking command to parse /data/data/com.termux/files/usr/bin/nm -B output from gcc object... ok
  65. checking for sysroot... no
  66. checking for a working dd... /data/data/com.termux/files/usr/bin/dd
  67. checking how to truncate binary pipes... /data/data/com.termux/files/usr/bin/dd bs=4096 count=1
  68. checking for mt... no
  69. checking if : is a manifest tool... no
  70. checking how to run the C preprocessor... gcc -E
  71. checking for ANSI C header files... yes
  72. checking for sys/types.h... yes
  73. checking for sys/stat.h... yes
  74. checking for stdlib.h... yes
  75. checking for string.h... yes
  76. checking for memory.h... yes
  77. checking for strings.h... yes
  78. checking for inttypes.h... yes
  79. checking for stdint.h... yes
  80. checking for unistd.h... yes
  81. checking for dlfcn.h... yes
  82. checking for objdir... .libs
  83. checking if gcc supports -fno-rtti -fno-exceptions... yes
  84. checking for gcc option to produce PIC... -fPIC -DPIC
  85. checking if gcc PIC flag -fPIC -DPIC works... yes
  86. checking if gcc static flag -static works... no
  87. checking if gcc supports -c -o file.o... yes
  88. checking if gcc supports -c -o file.o... (cached) yes
  89. checking whether the gcc linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) supports shared libraries... yes
  90. checking whether -lc should be explicitly linked in... no
  91. checking dynamic linker characteristics... GNU/Linux ld.so
  92. checking how to hardcode library paths into programs... immediate
  93. checking whether stripping libraries is possible... yes
  94. checking if libtool supports shared libraries... yes
  95. checking whether to build shared libraries... yes
  96. checking whether to build static libraries... yes
  97. checking for g++... g++
  98. checking whether we are using the GNU C++ compiler... yes
  99. checking whether g++ accepts -g... yes
  100. checking dependency style of g++... gcc3
  101. checking how to run the C++ preprocessor... g++ -E
  102. checking for ld used by g++... /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld
  103. checking if the linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) is GNU ld... yes
  104. checking whether the g++ linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) supports shared libraries... yes
  105. checking for g++ option to produce PIC... -fPIC -DPIC
  106. checking if g++ PIC flag -fPIC -DPIC works... yes
  107. checking if g++ static flag -static works... no
  108. checking if g++ supports -c -o file.o... yes
  109. checking if g++ supports -c -o file.o... (cached) yes
  110. checking whether the g++ linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) supports shared libraries... yes
  111. checking dynamic linker characteristics... (cached) GNU/Linux ld.so
  112. checking how to hardcode library paths into programs... immediate
  113. checking for gcc... (cached) gcc
  114. checking whether we are using the GNU C compiler... (cached) yes
  115. checking whether gcc accepts -g... (cached) yes
  116. checking for gcc option to accept ISO C89... (cached) none needed
  117. checking whether gcc understands -c and -o together... (cached) yes
  118. checking dependency style of gcc... (cached) gcc3
  119. checking for g++... g++
  120. checking whether we are using the GNU Objective C++ compiler... yes
  121. checking whether g++ accepts -g... yes
  122. checking dependency style of g++... gcc3
  123. checking dependency style of gcc... gcc3
  124. checking for ranlib... (cached) ranlib
  125. checking for SHA1 in -lcrypto... yes
  126. checking for floorf in -lm... yes
  127. checking for opus_decoder_create in -lopus... yes
  128. checking for pthread_create in -lpthread... yes
  129. !! WARNING: libtgvoip wasn't tested with your CPU architecture (aarch64)
  130. Detected CPU: aarch64
  131. ../configure: 17613: test: x: unexpected operator
  132. ../configure: 17621: test: x: unexpected operator
  133. ../configure: 17629: test: x: unexpected operator
  134. Detected OS: linux-gnu
  135. ../configure: 17646: test: x: unexpected operator
  136. ../configure: 17662: test: xyes: unexpected operator
  137. ../configure: 17867: test: x: unexpected operator
  138. ../configure: 17875: test: x: unexpected operator
  139. ../configure: 17891: test: xyes: unexpected operator
  140. checking for size_t... yes
  141. checking for working alloca.h... yes
  142. checking for alloca... yes
  143. checking arpa/inet.h usability... yes
  144. checking arpa/inet.h presence... yes
  145. checking for arpa/inet.h... yes
  146. checking float.h usability... yes
  147. checking float.h presence... yes
  148. checking for float.h... yes
  149. checking malloc.h usability... yes
  150. checking malloc.h presence... yes
  151. checking for malloc.h... yes
  152. checking netdb.h usability... yes
  153. checking netdb.h presence... yes
  154. checking for netdb.h... yes
  155. checking netinet/in.h usability... yes
  156. checking netinet/in.h presence... yes
  157. checking for netinet/in.h... yes
  158. checking stddef.h usability... yes
  159. checking stddef.h presence... yes
  160. checking for stddef.h... yes
  161. checking for stdint.h... (cached) yes
  162. checking for stdlib.h... (cached) yes
  163. checking for string.h... (cached) yes
  164. checking sys/ioctl.h usability... yes
  165. checking sys/ioctl.h presence... yes
  166. checking for sys/ioctl.h... yes
  167. checking sys/socket.h usability... yes
  168. checking sys/socket.h presence... yes
  169. checking for sys/socket.h... yes
  170. checking sys/time.h usability... yes
  171. checking sys/time.h presence... yes
  172. checking for sys/time.h... yes
  173. checking for unistd.h... (cached) yes
  174. checking wchar.h usability... yes
  175. checking wchar.h presence... yes
  176. checking for wchar.h... yes
  177. checking for stdbool.h that conforms to C99... yes
  178. checking for _Bool... yes
  179. checking for inline... inline
  180. checking for int16_t... yes
  181. checking for int32_t... yes
  182. checking for int64_t... yes
  183. checking for int8_t... yes
  184. checking for size_t... (cached) yes
  185. checking for ssize_t... yes
  186. checking for uint16_t... yes
  187. checking for uint32_t... yes
  188. checking for uint64_t... yes
  189. checking for uint8_t... yes
  190. checking for ptrdiff_t... yes
  191. checking for error_at_line... yes
  192. checking for stdlib.h... (cached) yes
  193. checking for GNU libc compatible malloc... yes
  194. checking for stdlib.h... (cached) yes
  195. checking for GNU libc compatible realloc... yes
  196. checking for clock_gettime... yes
  197. checking for floor... yes
  198. checking for gettimeofday... yes
  199. checking for inet_ntoa... yes
  200. checking for memmove... yes
  201. checking for memset... yes
  202. checking for select... yes
  203. checking for socket... yes
  204. checking for sqrt... yes
  205. checking for strcasecmp... yes
  206. checking for strchr... yes
  207. checking for strerror... yes
  208. checking for strncasecmp... yes
  209. checking for strstr... yes
  210. checking for strtol... yes
  211. checking for strtoul... yes
  212. checking for uname... yes
  213. checking that generated files are newer than configure... done
  214. configure: creating ./config.status
  215. config.status: creating Makefile
  216. config.status: creating config.h
  217. config.status: config.h is unchanged
  218. config.status: executing depfiles commands
  219. config.status: executing libtool commands
  220. configure: WARNING: unrecognized options: --enable-desktop-dsp, --enable-opus-music
  221. make[1]: Entering directory '/data/data/com.termux/files/home/PHP-CPP/php-libtgvoip/libtgvoip/build'
  222. make all-am
  223. make[2]: Entering directory '/data/data/com.termux/files/home/PHP-CPP/php-libtgvoip/libtgvoip/build'
  224. CXX TgVoip.lo
  225. CXX VoIPController.lo
  226. CXX controller/net/CongestionControl.lo
  227. CXX controller/net/JitterBuffer.lo
  228. In file included from ../controller/net/CongestionControl.cpp:8:
  229. In file included from ../VoIPController.h:34:
  230. ../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>')
  231. virtual std::shared_ptr<AudioOutput> *GetOutput()
  232. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
  233. ../audio/AudioIO.h:28:39: note: overridden virtual function is here
  234. virtual std::shared_ptr<AudioOutput> GetOutput() = 0;
  235. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  236. In file included from ../controller/net/CongestionControl.cpp:8:
  237. In file included from ../VoIPController.h:35:
  238. ../controller/net/JitterBuffer.h:75:55: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  239. std::array<jitter_packet_t, JITTER_SLOT_COUNT> slots{0};
  240. ^
  241. {}
  242. In file included from ../controller/net/CongestionControl.cpp:8:
  243. In file included from ../VoIPController.h:36:
  244. In file included from ../controller/net/Endpoint.h:8:
  245. ../controller/net/NetworkSocket.h:172:41: warning: 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  246. virtual std::shared_ptr<NetworkSocket> GetWrapped();
  247. ^
  248. ../controller/net/NetworkSocket.h:162:41: note: overridden virtual function is here
  249. virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0;
  250. ^
  251. ../controller/net/NetworkSocket.h:173:15: warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  252. virtual void InitConnection();
  253. ^
  254. ../controller/net/NetworkSocket.h:163:15: note: overridden virtual function is here
  255. virtual void InitConnection() = 0;
  256. ^
  257. ../controller/net/NetworkSocket.h:176:15: warning: 'Open' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  258. virtual void Open();
  259. ^
  260. ../controller/net/NetworkSocket.h:112:15: note: overridden virtual function is here
  261. virtual void Open() = 0;
  262. ^
  263. ../controller/net/NetworkSocket.h:177:15: warning: 'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  264. virtual void Close();
  265. ^
  266. ../controller/net/NetworkSocket.h:113:15: note: overridden virtual function is here
  267. virtual void Close() = 0;
  268. ^
  269. ../controller/net/NetworkSocket.h:178:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  270. virtual void Connect(const NetworkAddress address, uint16_t port);
  271. ^
  272. ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
  273. virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
  274. ^
  275. ../controller/net/NetworkSocket.h:179:15: warning: 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  276. virtual bool OnReadyToSend();
  277. ^
  278. ../controller/net/NetworkSocket.h:127:15: note: overridden virtual function is here
  279. virtual bool OnReadyToSend()
  280. ^
  281. ../controller/net/NetworkSocket.h:181:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  282. virtual bool IsFailed();
  283. ^
  284. ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
  285. virtual bool IsFailed();
  286. ^
  287. ../controller/net/NetworkSocket.h:182:15: warning: 'IsReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  288. virtual bool IsReadyToSend()
  289. ^
  290. ../controller/net/NetworkSocket.h:123:15: note: overridden virtual function is here
  291. virtual bool IsReadyToSend()
  292. ^
  293. ../controller/net/NetworkSocket.h:202:15: warning: 'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  294. virtual void Close();
  295. ^
  296. ../controller/net/NetworkSocket.h:113:15: note: overridden virtual function is here
  297. virtual void Close() = 0;
  298. ^
  299. ../controller/net/NetworkSocket.h:203:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  300. virtual void Connect(const NetworkAddress address, uint16_t port);
  301. ^
  302. ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
  303. virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
  304. ^
  305. ../controller/net/NetworkSocket.h:204:41: warning: 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  306. virtual std::shared_ptr<NetworkSocket> GetWrapped();
  307. ^
  308. ../controller/net/NetworkSocket.h:162:41: note: overridden virtual function is here
  309. virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0;
  310. ^
  311. ../controller/net/NetworkSocket.h:205:15: warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  312. virtual void InitConnection();
  313. ^
  314. ../controller/net/NetworkSocket.h:163:15: note: overridden virtual function is here
  315. virtual void InitConnection() = 0;
  316. ^
  317. ../controller/net/NetworkSocket.h:206:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  318. virtual bool IsFailed();
  319. ^
  320. ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
  321. virtual bool IsFailed();
  322. ^
  323. ../controller/net/NetworkSocket.h:207:25: warning: 'GetConnectedAddress' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  324. virtual NetworkAddress GetConnectedAddress();
  325. ^
  326. ../controller/net/NetworkSocket.h:118:25: note: overridden virtual function is here
  327. virtual NetworkAddress GetConnectedAddress() { return NetworkAddress::Empty(); };
  328. ^
  329. ../controller/net/NetworkSocket.h:208:19: warning: 'GetConnectedPort' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  330. virtual uint16_t GetConnectedPort();
  331. ^
  332. ../controller/net/NetworkSocket.h:119:19: note: overridden virtual function is here
  333. virtual uint16_t GetConnectedPort() { return 0; };
  334. ^
  335. ../controller/net/NetworkSocket.h:209:15: warning: 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  336. virtual bool OnReadyToSend();
  337. ^
  338. ../controller/net/NetworkSocket.h:127:15: note: overridden virtual function is here
  339. virtual bool OnReadyToSend()
  340. ^
  341. ../controller/net/NetworkSocket.h:210:15: warning: 'OnReadyToReceive' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  342. virtual bool OnReadyToReceive();
  343. ^
  344. ../controller/net/NetworkSocket.h:132:15: note: overridden virtual function is here
  345. virtual bool OnReadyToReceive() { return true; };
  346. ^
  347. In file included from ../VoIPController.cpp:7:
  348. In file included from ../controller/controller/PublicAPI.cpp:1:
  349. In file included from ../controller/controller/../PrivateDefines.cpp:10:
  350. In file included from ../controller/controller/../../VoIPController.h:34:
  351. ../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>')
  352. virtual std::shared_ptr<AudioOutput> *GetOutput()
  353. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
  354. ../audio/AudioIO.h:28:39: note: overridden virtual function is here
  355. virtual std::shared_ptr<AudioOutput> GetOutput() = 0;
  356. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  357. In file included from ../controller/net/JitterBuffer.cpp:7:
  358. In file included from ../VoIPController.h:34:
  359. ../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>')
  360. virtual std::shared_ptr<AudioOutput> *GetOutput()
  361. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
  362. ../audio/AudioIO.h:28:39: note: overridden virtual function is here
  363. virtual std::shared_ptr<AudioOutput> GetOutput() = 0;
  364. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  365. In file included from ../controller/net/JitterBuffer.cpp:7:
  366. In file included from ../VoIPController.h:35:
  367. ../controller/net/JitterBuffer.h:75:55: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  368. std::array<jitter_packet_t, JITTER_SLOT_COUNT> slots{0};
  369. ^
  370. {}
  371. In file included from ../VoIPController.cpp:7:
  372. In file included from ../controller/controller/PublicAPI.cpp:1:
  373. In file included from ../controller/controller/../PrivateDefines.cpp:10:
  374. In file included from ../controller/controller/../../VoIPController.h:35:
  375. ../controller/net/JitterBuffer.h:75:55: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  376. std::array<jitter_packet_t, JITTER_SLOT_COUNT> slots{0};
  377. ^
  378. {}
  379. In file included from ../controller/net/JitterBuffer.cpp:7:
  380. In file included from ../VoIPController.h:36:
  381. In file included from ../controller/net/Endpoint.h:8:
  382. ../controller/net/NetworkSocket.h:172:41: warning: 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  383. virtual std::shared_ptr<NetworkSocket> GetWrapped();
  384. ^
  385. ../controller/net/NetworkSocket.h:162:41: note: overridden virtual function is here
  386. virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0;
  387. ^
  388. ../controller/net/NetworkSocket.h:173:15: warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  389. virtual void InitConnection();
  390. ^
  391. ../controller/net/NetworkSocket.h:163:15: note: overridden virtual function is here
  392. virtual void InitConnection() = 0;
  393. ^
  394. ../controller/net/NetworkSocket.h:176:15: warning: 'Open' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  395. virtual void Open();
  396. ^
  397. ../controller/net/NetworkSocket.h:112:15: note: overridden virtual function is here
  398. virtual void Open() = 0;
  399. ^
  400. ../controller/net/NetworkSocket.h:177:15: warning: 'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  401. virtual void Close();
  402. ^
  403. ../controller/net/NetworkSocket.h:113:15: note: overridden virtual function is here
  404. virtual void Close() = 0;
  405. ^
  406. ../controller/net/NetworkSocket.h:178:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  407. virtual void Connect(const NetworkAddress address, uint16_t port);
  408. ^
  409. ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
  410. virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
  411. ^
  412. ../controller/net/NetworkSocket.h:179:15: warning: 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  413. virtual bool OnReadyToSend();
  414. ^
  415. ../controller/net/NetworkSocket.h:127:15: note: overridden virtual function is here
  416. virtual bool OnReadyToSend()
  417. ^
  418. ../controller/net/NetworkSocket.h:181:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  419. virtual bool IsFailed();
  420. ^
  421. ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
  422. virtual bool IsFailed();
  423. ^
  424. ../controller/net/NetworkSocket.h:182:15: warning: 'IsReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  425. virtual bool IsReadyToSend()
  426. ^
  427. ../controller/net/NetworkSocket.h:123:15: note: overridden virtual function is here
  428. virtual bool IsReadyToSend()
  429. ^
  430. ../controller/net/NetworkSocket.h:202:15: warning: 'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  431. virtual void Close();
  432. ^
  433. ../controller/net/NetworkSocket.h:113:15: note: overridden virtual function is here
  434. virtual void Close() = 0;
  435. ^
  436. ../controller/net/NetworkSocket.h:203:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  437. virtual void Connect(const NetworkAddress address, uint16_t port);
  438. ^
  439. ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
  440. virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
  441. ^
  442. ../controller/net/NetworkSocket.h:204:41: warning: 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  443. virtual std::shared_ptr<NetworkSocket> GetWrapped();
  444. ^
  445. ../controller/net/NetworkSocket.h:162:41: note: overridden virtual function is here
  446. virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0;
  447. ^
  448. ../controller/net/NetworkSocket.h:205:15: warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  449. virtual void InitConnection();
  450. ^
  451. ../controller/net/NetworkSocket.h:163:15: note: overridden virtual function is here
  452. virtual void InitConnection() = 0;
  453. ^
  454. ../controller/net/NetworkSocket.h:206:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  455. virtual bool IsFailed();
  456. ^
  457. ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
  458. virtual bool IsFailed();
  459. ^
  460. ../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
  461. :
  462. In file included from ../controller/controller/PublicAPI.cpp:1:
  463. In file included from ../controller/controller/../PrivateDefines.cpp:10:
  464. In file included from ../controller/controller/../../VoIPController.h: virtual NetworkAddress GetConnectedAddress();36
  465. :
  466. ^In file included from
  467. ../controller/net/Endpoint.h:../controller/net/NetworkSocket.h8::
  468. 118../controller/net/NetworkSocket.h::25172:: 41note:: overridden virtual function is herewarning
  469. : 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  470. virtual std::shared_ptr<NetworkSocket> GetWrapped();
  471. ^ virtual NetworkAddress GetConnectedAddress() { return NetworkAddress::Empty(); };
  472.  
  473. ^../controller/net/NetworkSocket.h
  474. :162:../controller/net/NetworkSocket.h41::208 :note19: :overridden virtual function is here
  475. warning: 'GetConnectedPort' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  476. virtual uint16_t GetConnectedPort();
  477. virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0; ^
  478.  
  479. ^
  480. ../controller/net/NetworkSocket.h:119:../controller/net/NetworkSocket.h19::173 :note15: :overridden virtual function is here
  481. warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  482. virtual void InitConnection();
  483. virtual uint16_t GetConnectedPort() { return 0; }; ^
  484.  
  485. ^
  486. ../controller/net/NetworkSocket.h:163../controller/net/NetworkSocket.h::15209:: 15note:: overridden virtual function is herewarning
  487. : 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  488. virtual void InitConnection() = 0;
  489. virtual bool OnReadyToSend(); ^
  490.  
  491. ^
  492. ../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
  493.  
  494. virtual void Open();
  495. ^ virtual bool OnReadyToSend()
  496.  
  497. ../controller/net/NetworkSocket.h ^:
  498. 112:15../controller/net/NetworkSocket.h:: 210note:: 15overridden virtual function is here:
  499. warning: 'OnReadyToReceive' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  500. virtual void Open() = 0;
  501. ^
  502. ../controller/net/NetworkSocket.h virtual bool OnReadyToReceive();:
  503. 177 ^:
  504. 15:../controller/net/NetworkSocket.h :warning132: :'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]15
  505. : note: overridden virtual function is here
  506. virtual void Close();
  507. ^
  508. ../controller/net/NetworkSocket.h:113:15: note virtual bool OnReadyToReceive() { return true; };:
  509. overridden virtual function is here ^
  510.  
  511. virtual void Close() = 0;
  512. ^
  513. ../controller/net/NetworkSocket.h:178:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  514. virtual void Connect(const NetworkAddress address, uint16_t port);
  515. ^
  516. ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
  517. virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
  518. ^
  519. ../controller/net/NetworkSocket.h:179:15: warning: 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  520. virtual bool OnReadyToSend();
  521. ^
  522. ../controller/net/NetworkSocket.h:127:15: note: overridden virtual function is here
  523. virtual bool OnReadyToSend()
  524. ^
  525. ../controller/net/NetworkSocket.h:181:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  526. virtual bool IsFailed();
  527. ^
  528. ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
  529. virtual bool IsFailed();
  530. ^
  531. ../controller/net/NetworkSocket.h:182:15: warning: 'IsReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  532. virtual bool IsReadyToSend()
  533. ^
  534. ../controller/net/NetworkSocket.h:123:15: note: overridden virtual function is here
  535. virtual bool IsReadyToSend()
  536. ^
  537. ../controller/net/NetworkSocket.h:202:15: warning: 'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  538. virtual void Close();
  539. ^
  540. ../controller/net/NetworkSocket.h:113:15: note: overridden virtual function is here
  541. virtual void Close() = 0;
  542. ^
  543. ../controller/net/NetworkSocket.h:203:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  544. virtual void Connect(const NetworkAddress address, uint16_t port);
  545. ^
  546. ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
  547. virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
  548. ^
  549. ../controller/net/NetworkSocket.h:204:41: warning: 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  550. virtual std::shared_ptr<NetworkSocket> GetWrapped();
  551. ^
  552. ../controller/net/NetworkSocket.h:162:41: note: overridden virtual function is here
  553. virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0;
  554. ^
  555. ../controller/net/NetworkSocket.h:205:15: warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  556. virtual void InitConnection();
  557. ^
  558. ../controller/net/NetworkSocket.h:163:15: note: overridden virtual function is here
  559. virtual void InitConnection() = 0;
  560. ^
  561. ../controller/net/NetworkSocket.h:206:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  562. virtual bool IsFailed();
  563. ^
  564. ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
  565. virtual bool IsFailed();
  566. ^
  567. ../controller/net/NetworkSocket.h:207:25: warning: 'GetConnectedAddress' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  568. virtual NetworkAddress GetConnectedAddress();
  569. ^
  570. ../controller/net/NetworkSocket.h:118:25: note: overridden virtual function is here
  571. virtual NetworkAddress GetConnectedAddress() { return NetworkAddress::Empty(); };
  572. ^
  573. ../controller/net/NetworkSocket.h:208:19: warning: 'GetConnectedPort' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  574. virtual uint16_t GetConnectedPort();
  575. ^
  576. ../controller/net/NetworkSocket.h:119:19: note: overridden virtual function is here
  577. virtual uint16_t GetConnectedPort() { return 0; };
  578. ^
  579. ../controller/net/NetworkSocket.h:209:15: warning: 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  580. virtual bool OnReadyToSend();
  581. ^
  582. ../controller/net/NetworkSocket.h:127:15: note: overridden virtual function is here
  583. virtual bool OnReadyToSend()
  584. ^
  585. ../controller/net/NetworkSocket.h:210:15: warning: 'OnReadyToReceive' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  586. virtual bool OnReadyToReceive();
  587. ^
  588. ../controller/net/NetworkSocket.h:132:15: note: overridden virtual function is here
  589. virtual bool OnReadyToReceive() { return true; };
  590. ^
  591. In file included from ../TgVoip.cpp:3:
  592. In file included from ../VoIPController.h:34:
  593. ../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>')
  594. virtual std::shared_ptr<AudioOutput> *GetOutput()
  595. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
  596. ../audio/AudioIO.h:28:39: note: overridden virtual function is here
  597. virtual std::shared_ptr<AudioOutput> GetOutput() = 0;
  598. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  599. In file included from ../TgVoip.cpp:3:
  600. In file included from ../VoIPController.h:35:
  601. ../controller/net/JitterBuffer.h:75:55: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  602. std::array<jitter_packet_t, JITTER_SLOT_COUNT> slots{0};
  603. ^
  604. {}
  605. In file included from ../TgVoip.cpp:3:
  606. In file included from ../VoIPController.h:36:
  607. In file included from ../controller/net/Endpoint.h:8:
  608. ../controller/net/NetworkSocket.h:172:41: warning: 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  609. virtual std::shared_ptr<NetworkSocket> GetWrapped();
  610. ^
  611. ../controller/net/NetworkSocket.h:162:41: note: overridden virtual function is here
  612. virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0;
  613. ^
  614. ../controller/net/NetworkSocket.h:173:15: warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  615. virtual void InitConnection();
  616. ^
  617. ../controller/net/NetworkSocket.h:163:15: note: overridden virtual function is here
  618. virtual void InitConnection() = 0;
  619. ^
  620. ../controller/net/NetworkSocket.h:176:15: warning: 'Open' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  621. virtual void Open();
  622. ^
  623. ../controller/net/NetworkSocket.h:112:15: note: overridden virtual function is here
  624. virtual void Open() = 0;
  625. ^
  626. ../controller/net/NetworkSocket.h:177:15: warning: 'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  627. virtual void Close();
  628. ^
  629. ../controller/net/NetworkSocket.h:113:15: note: overridden virtual function is here
  630. virtual void Close() = 0;
  631. ^
  632. ../controller/net/NetworkSocket.h:178:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  633. virtual void Connect(const NetworkAddress address, uint16_t port);
  634. ^
  635. ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
  636. virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
  637. ^
  638. ../controller/net/NetworkSocket.h:179:15: warning: 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  639. virtual bool OnReadyToSend();
  640. ^
  641. ../controller/net/NetworkSocket.h:127:15: note: overridden virtual function is here
  642. virtual bool OnReadyToSend()
  643. ^
  644. ../controller/net/NetworkSocket.h:181:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  645. virtual bool IsFailed();
  646. ^
  647. ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
  648. virtual bool IsFailed();
  649. ^
  650. ../controller/net/NetworkSocket.h:182:15: warning: 'IsReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  651. virtual bool IsReadyToSend()
  652. ^
  653. ../controller/net/NetworkSocket.h:123:15: note: overridden virtual function is here
  654. virtual bool IsReadyToSend()
  655. ^
  656. ../controller/net/NetworkSocket.h:202:15: warning: 'Close' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  657. virtual void Close();
  658. ^
  659. ../controller/net/NetworkSocket.h:113:15: note: overridden virtual function is here
  660. virtual void Close() = 0;
  661. ^
  662. ../controller/net/NetworkSocket.h:203:15: warning: 'Connect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  663. virtual void Connect(const NetworkAddress address, uint16_t port);
  664. ^
  665. ../controller/net/NetworkSocket.h:115:15: note: overridden virtual function is here
  666. virtual void Connect(const NetworkAddress address, uint16_t port) = 0;
  667. ^
  668. ../controller/net/NetworkSocket.h:204:41: warning: 'GetWrapped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  669. virtual std::shared_ptr<NetworkSocket> GetWrapped();
  670. ^
  671. ../controller/net/NetworkSocket.h:162:41: note: overridden virtual function is here
  672. virtual std::shared_ptr<NetworkSocket> GetWrapped() = 0;
  673. ^
  674. ../controller/net/NetworkSocket.h:205:15: warning: 'InitConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  675. virtual void InitConnection();
  676. ^
  677. ../controller/net/NetworkSocket.h:163:15: note: overridden virtual function is here
  678. virtual void InitConnection() = 0;
  679. ^
  680. ../controller/net/NetworkSocket.h:206:15: warning: 'IsFailed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  681. virtual bool IsFailed();
  682. ^
  683. ../controller/net/NetworkSocket.h:122:15: note: overridden virtual function is here
  684. virtual bool IsFailed();
  685. ^
  686. ../controller/net/NetworkSocket.h:207:25: warning: 'GetConnectedAddress' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  687. virtual NetworkAddress GetConnectedAddress();
  688. ^
  689. ../controller/net/NetworkSocket.h:118:25: note: overridden virtual function is here
  690. virtual NetworkAddress GetConnectedAddress() { return NetworkAddress::Empty(); };
  691. ^
  692. ../controller/net/NetworkSocket.h:208:19: warning: 'GetConnectedPort' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  693. virtual uint16_t GetConnectedPort();
  694. ^
  695. ../controller/net/NetworkSocket.h:119:19: note: overridden virtual function is here
  696. virtual uint16_t GetConnectedPort() { return 0; };
  697. ^
  698. ../controller/net/NetworkSocket.h:209:15: warning: 'OnReadyToSend' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  699. virtual bool OnReadyToSend();
  700. ^
  701. ../controller/net/NetworkSocket.h:127:15: note: overridden virtual function is here
  702. virtual bool OnReadyToSend()
  703. ^
  704. ../controller/net/NetworkSocket.h:210:15: warning: 'OnReadyToReceive' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  705. virtual bool OnReadyToReceive();
  706. ^
  707. ../controller/net/NetworkSocket.h:132:15: note: overridden virtual function is here
  708. virtual bool OnReadyToReceive() { return true; };
  709. ^
  710. In file included from ../controller/net/CongestionControl.cpp:7:
  711. ../controller/net/CongestionControl.h:58:9: warning: private field 'lastActionRtt' is not used [-Wunused-private-field]
  712. double lastActionRtt = 0;
  713. ^
  714. ../controller/net/CongestionControl.h:59:9: warning: private field 'stateTransitionTime' is not used [-Wunused-private-field]
  715. double stateTransitionTime = 0;
  716. ^
  717. 20 warnings and 1 error generated.
  718. make[2]: *** [Makefile:4177: controller/net/CongestionControl.lo] Error 1
  719. make[2]: *** Waiting for unfinished jobs....
  720. 18 warnings and 1 error generated.
  721. make[2]: *** [Makefile:4177: TgVoip.lo] Error 1
  722. 18 warnings and 1 error generated.
  723. make[2]: *** [Makefile:4177: controller/net/JitterBuffer.lo] Error 1
  724. 18 warnings and 1 error generated.
  725. make[2]: *** [Makefile:4177: VoIPController.lo] Error 1
  726. make[2]: Leaving directory '/data/data/com.termux/files/home/PHP-CPP/php-libtgvoip/libtgvoip/build'
  727. make[1]: *** [Makefile:2427: all] Error 2
  728. make[1]: Leaving directory '/data/data/com.termux/files/home/PHP-CPP/php-libtgvoip/libtgvoip/build'
  729. make: *** [Makefile:131: libtgvoip/build/libtgvoip.la] Error 2
Add Comment
Please, Sign In to add comment