Advertisement
Guest User

oscam failure

a guest
Mar 6th, 2018
453
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.18 KB | None | 0 0
  1. + make -f oscam LFS_BASEDIR=/usr/src install
  2. ====================================== Installing oscam_1.20+svn11401 ...
  3. Install started; saving file list to /usr/src/lsalr ...
  4. cd /usr/src/oscam_1.20+svn11401 && ./config.sh -R -E WITH_SSL
  5. Disable CARDREADER_STAPI5
  6. Enable WITH_SSL
  7. cd /usr/src/oscam_1.20+svn11401 && mkdir build && cd /usr/src/oscam_1.20+svn11401/build && cmake ..
  8. -- The C compiler identification is GNU 7.3.0
  9. -- Check for working C compiler: /tools_x86_64/ccache/bin/cc
  10. -- Check for working C compiler: /tools_x86_64/ccache/bin/cc -- works
  11. -- Detecting C compiler ABI info
  12. -- Detecting C compiler ABI info - done
  13. -- Detecting C compile features
  14. -- Detecting C compile features - done
  15. -- Looking for pthread.h
  16. -- Looking for pthread.h - found
  17. -- pthread found. Adding pthread support
  18. -- Looking for openssl/aes.h
  19. -- Looking for openssl/aes.h - found
  20. status SSL is added by config file Y compiling with ssl included
  21. -- Found OpenSSL: /usr/lib64/libssl.so (found version "1.1.0g")
  22. -- openssl found.
  23. -- Looking for time.h
  24. -- Looking for time.h - found
  25. -- librt found (needed by libusb).
  26. -- Looking for libusb-1.0/libusb.h
  27. -- Looking for libusb-1.0/libusb.h - found
  28. -- Looking for libusb-1.0/libusb.h
  29. -- Looking for libusb-1.0/libusb.h - found
  30. -- libusb 1.0 found (libusb-1.0.so) Adding smartreader support
  31. -- Looking for PCSC/wintypes.h
  32. -- Looking for PCSC/wintypes.h - found
  33. -- PCSC headers found (/usr/include/PCSC). Adding PCSC support
  34. HOSTCC webif/pages_gen
  35. GEN webif/pages.c
  36. GEN Compressed 435432 template bytes into 176842 bytes. 258590 saved bytes (59.39%).
  37. -- The CXX compiler identification is GNU 7.3.0
  38. -- Check for working CXX compiler: /tools_x86_64/ccache/bin/c++
  39. -- Check for working CXX compiler: /tools_x86_64/ccache/bin/c++ -- works
  40. -- Detecting CXX compiler ABI info
  41. -- Detecting CXX compile features
  42. -- Detecting CXX compile features - done
  43. fatal: Not a git repository (or any of the parent directories): .git
  44. -- Utils: operating system: Linux
  45. -- Utils: target system: x86_64-pc-linux-gnu
  46. -- utils use system libusb functions
  47. --
  48. --
  49. -- operating system: Linux
  50. -- target system: x86_64-pc-linux-gnu
  51. -- revision:
  52. -- use system libcrypto functions
  53. -- use system pcsc functions
  54. -- use system pthread functions
  55. -- use system libusb functions
  56. --
  57. -- Configuring done
  58. -- Generating done
  59. -- Build files have been written to: /usr/src/oscam_1.20+svn11401/build
  60. cd /usr/src/oscam_1.20+svn11401/build && make -j5
  61. make[1]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  62. make[2]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  63. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  64. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  65. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  66. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  67. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  68. Scanning dependencies of target svnversion-log
  69. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  70. Scanning dependencies of target minilzo
  71. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  72. Scanning dependencies of target cscrypt
  73. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  74. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  75. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  76. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  77. Scanning dependencies of target csreaders
  78. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  79. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  80. [ 0%] Built target svnversion-log
  81. [ 0%] Building C object cscrypt/CMakeFiles/cscrypt.dir/aes.o
  82. [ 0%] Building C object minilzo/CMakeFiles/minilzo.dir/minilzo.o
  83. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  84. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  85. [ 0%] Building C object CMakeFiles/csreaders.dir/reader-bulcrypt.o
  86. [ 1%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_add.o
  87. Scanning dependencies of target svnversion
  88. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  89. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  90. [ 2%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_asm.o
  91. [ 3%] Linking C static library libminilzo.a
  92. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  93. [ 4%] Building C object CMakeFiles/csreaders.dir/reader-common.o
  94. [ 4%] Built target svnversion
  95. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  96. Scanning dependencies of target csmodules
  97. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  98. [ 5%] Building C object CMakeFiles/csreaders.dir/reader-conax.o
  99. [ 5%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_ctx.o
  100. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  101. /usr/src/oscam_1.20+svn11401/reader-conax.c: In function 'conax_do_ecm':
  102. /usr/src/oscam_1.20+svn11401/reader-conax.c:322:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
  103. rdr_log(reader, "conax RSA pairing- wrong size of data for second round");
  104. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  105. /usr/src/oscam_1.20+svn11401/reader-conax.c:323:2: note: here
  106. case -4:
  107. ^~~~
  108. Scanning dependencies of target csctapi
  109. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  110. [ 6%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_div.o
  111. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  112. [ 6%] Built target minilzo
  113. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  114. [ 7%] Building C object CMakeFiles/csreaders.dir/reader-cryptoworks.o
  115. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  116. [ 8%] Building C object CMakeFiles/csmodules.dir/module-anticasc.o
  117. [ 8%] Building C object csctapi/CMakeFiles/csctapi.dir/atr.o
  118. Scanning dependencies of target list_smargo
  119. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  120. [ 9%] Building C object csctapi/CMakeFiles/csctapi.dir/icc_async.o
  121. [ 10%] Building C object CMakeFiles/csmodules.dir/module-cacheex.o
  122. [ 11%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_exp.o
  123. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  124. /usr/src/oscam_1.20+svn11401/csctapi/icc_async.c: In function 'ICC_Async_CardWrite':
  125. /usr/src/oscam_1.20+svn11401/csctapi/icc_async.c:214:6: warning: statement will never be executed [-Wswitch-unreachable]
  126. if(try > 1)
  127. ^
  128. /usr/src/oscam_1.20+svn11401/csctapi/icc_async.c:215:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  129. rdr_log(reader, "Warning: needed try nr %i, next ECM has some delay", try);
  130. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  131. /usr/src/oscam_1.20+svn11401/csctapi/icc_async.c:216:3: note: here
  132. case ATR_PROTOCOL_TYPE_T0:
  133. ^~~~
  134. [ 12%] Building C object CMakeFiles/csmodules.dir/module-camd33.o
  135. [ 13%] Building C object utils/CMakeFiles/list_smargo.dir/list_smargo.o
  136. [ 14%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_lib.o
  137. [ 15%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_azbox.o
  138. [ 15%] Building C object CMakeFiles/csmodules.dir/module-camd35-cacheex.o
  139. [ 16%] Building C object CMakeFiles/csmodules.dir/module-camd35.o
  140. [ 16%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_mul.o
  141. [ 17%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_cool.o
  142. [ 18%] Linking C executable list_smargo
  143. [ 19%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_print.o
  144. [ 19%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_db2com.o
  145. [ 20%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_shift.o
  146. /usr/src/oscam_1.20+svn11401/csctapi/ifd_db2com.c: In function 'detect_db2com_reader':
  147. /usr/src/oscam_1.20+svn11401/csctapi/ifd_db2com.c:26:13: warning: In the GNU C Library, "major" is defined
  148. by <sys/sysmacros.h>. For historical compatibility, it is
  149. currently defined by <sys/types.h> as well, but we plan to
  150. remove this soon. To use "major", include <sys/sysmacros.h>
  151. directly. If you did not intend to use a system-defined macro
  152. "major", you should undefine it after including <sys/types.h>.
  153. int32_t dev_major = major(sb.st_rdev);
  154. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  155.  
  156.  
  157. /usr/src/oscam_1.20+svn11401/csctapi/ifd_db2com.c:27:13: warning: In the GNU C Library, "minor" is defined
  158. by <sys/sysmacros.h>. For historical compatibility, it is
  159. currently defined by <sys/types.h> as well, but we plan to
  160. remove this soon. To use "minor", include <sys/sysmacros.h>
  161. directly. If you did not intend to use a system-defined macro
  162. "minor", you should undefine it after including <sys/types.h>.
  163. int32_t dev_minor = minor(sb.st_rdev);
  164. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  165.  
  166.  
  167. [ 21%] Building C object CMakeFiles/csmodules.dir/module-cccam-cacheex.o
  168. [ 21%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_sqr.o
  169. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  170. [ 22%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_drecas.o
  171. [ 23%] Building C object CMakeFiles/csmodules.dir/module-cccam.o
  172. [ 23%] Built target list_smargo
  173. [ 24%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_word.o
  174. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  175. /usr/src/oscam_1.20+svn11401/module-cccam.c: In function 'cc_parse_msg':
  176. /usr/src/oscam_1.20+svn11401/module-cccam.c:2589:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  177. if(!cfg.c35_suppresscmd08)
  178. ^
  179. /usr/src/oscam_1.20+svn11401/module-cccam.c:2607:2: note: here
  180. case MSG_CW_NOK1:
  181. ^~~~
  182. [ 25%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_mp35.o
  183. [ 25%] Building C object CMakeFiles/csmodules.dir/module-cccshare.o
  184. [ 26%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_pcsc.o
  185. [ 27%] Building C object cscrypt/CMakeFiles/cscrypt.dir/des.o
  186. Scanning dependencies of target csoscam
  187. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  188. make[3]: Entering directory '/usr/src/oscam_1.20+svn11401/build'
  189. [ 28%] Building C object CMakeFiles/csmodules.dir/module-constcw.o
  190. [ 28%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_phoenix.o
  191. [ 29%] Building C object CMakeFiles/csoscam.dir/oscam-aes.o
  192. [ 30%] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_cbc.o
  193. [ 31%] Building C object CMakeFiles/csmodules.dir/module-csp.o
  194. [ 32%] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_ecb.o
  195. [ 32%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_sc8in1.o
  196. [ 33%] Building C object CMakeFiles/csoscam.dir/oscam-array.o
  197. [ 34%] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_skey.o
  198. /usr/src/oscam_1.20+svn11401/csctapi/ifd_sc8in1.c: In function 'Sc8in1_InitLocks':
  199. /usr/src/oscam_1.20+svn11401/csctapi/ifd_sc8in1.c:1111:40: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size
  200. 116 [-Wformat-truncation=]
  201. { snprintf(buff, 128, "sc8in1_lock_%s", reader->device); }
  202. ^~
  203. In file included from /usr/include/stdio.h:862:0,
  204. from /usr/src/oscam_1.20+svn11401/csctapi/../globals.h:6,
  205. from /usr/src/oscam_1.20+svn11401/csctapi/ifd_sc8in1.c:19:
  206. /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 13 and 140 bytes into a destination of size 128
  207. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  208. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  209. __bos (__s), __fmt, __va_arg_pack ());
  210. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  211. /usr/src/oscam_1.20+svn11401/csctapi/ifd_sc8in1.c:1113:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size
  212. 108 [-Wformat-truncation=]
  213. { snprintf(buff2, 128, "display_sc8in1_lock_%s", reader->device); }
  214. ^~
  215. In file included from /usr/include/stdio.h:862:0,
  216. from /usr/src/oscam_1.20+svn11401/csctapi/../globals.h:6,
  217. from /usr/src/oscam_1.20+svn11401/csctapi/ifd_sc8in1.c:19:
  218. /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 21 and 148 bytes into a destination of size 128
  219. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  220. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  221. __bos (__s), __fmt, __va_arg_pack ());
  222. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  223. [ 34%] Building C object CMakeFiles/csmodules.dir/module-cw-cycle-check.o
  224. /usr/src/oscam_1.20+svn11401/reader-cryptoworks.c:11:18: error: field 'exp' has incomplete type
  225. BIGNUM exp;
  226. ^~~
  227. /usr/src/oscam_1.20+svn11401/reader-cryptoworks.c:12:18: error: field 'ucpk' has incomplete type
  228. BIGNUM ucpk;
  229. ^~~~
  230. make[3]: *** [CMakeFiles/csreaders.dir/build.make:135: CMakeFiles/csreaders.dir/reader-cryptoworks.o] Error 1
  231. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  232. make[2]: *** [CMakeFiles/Makefile2:68: CMakeFiles/csreaders.dir/all] Error 2
  233. make[2]: *** Waiting for unfinished jobs....
  234. [ 35%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_sci.o
  235. [ 36%] Building C object cscrypt/CMakeFiles/cscrypt.dir/md5.o
  236. [ 36%] Building C object CMakeFiles/csoscam.dir/oscam-cache.o
  237. [ 37%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-azbox.o
  238. [ 38%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-chancache.o
  239. [ 38%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_smargo.o
  240. [ 39%] Building C object CMakeFiles/csoscam.dir/oscam-chk.o
  241. [ 40%] Building C object cscrypt/CMakeFiles/cscrypt.dir/mem.o
  242. [ 41%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-coolapi-legacy.o
  243. [ 41%] Building C object cscrypt/CMakeFiles/cscrypt.dir/rc6.o
  244. [ 42%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_smartreader.o
  245. [ 43%] Building C object CMakeFiles/csoscam.dir/oscam-client.o
  246. [ 43%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-coolapi.o
  247. /usr/src/oscam_1.20+svn11401/oscam-client.c: In function 'client_get_proto':
  248. /usr/src/oscam_1.20+svn11401/oscam-client.c:94:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  249. if(cccam_client_extended_mode(cl))
  250. ^
  251. /usr/src/oscam_1.20+svn11401/oscam-client.c:99:2: note: here
  252. default:
  253. ^~~~~~~
  254. /usr/src/oscam_1.20+svn11401/oscam-client.c: In function 'cs_auth_client':
  255. /usr/src/oscam_1.20+svn11401/oscam-client.c:397:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  256. if(!rc)
  257. ^
  258. /usr/src/oscam_1.20+svn11401/oscam-client.c:441:2: note: here
  259. case -1: // anonymous grant access
  260. ^~~~
  261. [ 44%] Building C object cscrypt/CMakeFiles/cscrypt.dir/sha1.o
  262. [ 45%] Building C object CMakeFiles/csoscam.dir/oscam-conf-chk.o
  263. [ 45%] Building C object CMakeFiles/csoscam.dir/oscam-conf-mk.o
  264. [ 46%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-mca.o
  265. [ 47%] Linking C static library libcscrypt.a
  266. [ 48%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_stapi.o
  267. [ 49%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-stapi.o
  268. [ 50%] Building C object CMakeFiles/csoscam.dir/oscam-conf.o
  269. [ 51%] Building C object CMakeFiles/csoscam.dir/oscam-config-account.o
  270. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  271. [ 52%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-stapi5.o
  272. [ 53%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_stinger.o
  273. [ 53%] Built target cscrypt
  274. [ 53%] Building C object CMakeFiles/csoscam.dir/oscam-config-global.o
  275. [ 54%] Building C object CMakeFiles/csoscam.dir/oscam-config-reader.o
  276. [ 54%] Building C object CMakeFiles/csmodules.dir/module-dvbapi.o
  277. [ 55%] Building C object CMakeFiles/csmodules.dir/module-gbox-cards.o
  278. [ 56%] Building C object CMakeFiles/csoscam.dir/oscam-config.o
  279. [ 56%] Building C object csctapi/CMakeFiles/csctapi.dir/io_serial.o
  280. [ 57%] Building C object CMakeFiles/csmodules.dir/module-gbox-helper.o
  281. [ 57%] Building C object CMakeFiles/csmodules.dir/module-gbox-remm.o
  282. [ 58%] Building C object csctapi/CMakeFiles/csctapi.dir/protocol_t0.o
  283. [ 59%] Building C object CMakeFiles/csoscam.dir/oscam-ecm.o
  284. /usr/src/oscam_1.20+svn11401/csctapi/protocol_t0.c: In function 'Protocol_T0_Command':
  285. /usr/src/oscam_1.20+svn11401/csctapi/protocol_t0.c:136:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
  286. command_len--; //FIXME this should change 4S to 2S/3S command
  287. ~~~~~~~~~~~^~
  288. /usr/src/oscam_1.20+svn11401/csctapi/protocol_t0.c:137:2: note: here
  289. case APDU_CASE_2S:
  290. ^~~~
  291. [ 60%] Building C object csctapi/CMakeFiles/csctapi.dir/protocol_t1.o
  292. [ 61%] Building C object CMakeFiles/csmodules.dir/module-gbox-sms.o
  293. /usr/src/oscam_1.20+svn11401/oscam-ecm.c: In function 'send_dcw.part.9':
  294. /usr/src/oscam_1.20+svn11401/oscam-ecm.c:798:47: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 29 [-Wforma
  295. t-truncation=]
  296. { snprintf(sreason, sizeof(sreason) - 1, " (%s)", er->msglog); }
  297. ^~
  298. In file included from /usr/include/stdio.h:862:0,
  299. from /usr/src/oscam_1.20+svn11401/globals.h:6,
  300. from /usr/src/oscam_1.20+svn11401/oscam-ecm.c:3:
  301. /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 4 and 67 bytes into a destination of size 31
  302. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  303. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  304. __bos (__s), __fmt, __va_arg_pack ());
  305. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  306. /usr/src/oscam_1.20+svn11401/oscam-ecm.c:801:49: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 29 [-Wforma
  307. t-truncation=]
  308. { snprintf(scwcinfo, sizeof(scwcinfo) - 1, " (%s)", er->cwc_msg_log); }
  309. ^~
  310. In file included from /usr/include/stdio.h:862:0,
  311. from /usr/src/oscam_1.20+svn11401/globals.h:6,
  312. from /usr/src/oscam_1.20+svn11401/oscam-ecm.c:3:
  313. /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 4 and 67 bytes into a destination of size 31
  314. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  315. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  316. __bos (__s), __fmt, __va_arg_pack ());
  317. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  318. [ 61%] Building C object CMakeFiles/csoscam.dir/oscam-emm-cache.o
  319. [ 62%] Building C object CMakeFiles/csmodules.dir/module-gbox.o
  320. [ 63%] Building C object CMakeFiles/csoscam.dir/oscam-emm.o
  321. [ 64%] Building C object CMakeFiles/csoscam.dir/oscam-failban.o
  322. /usr/src/oscam_1.20+svn11401/module-gbox.c: In function 'write_msg_info.part.5':
  323. /usr/src/oscam_1.20+svn11401/module-gbox.c:161:40: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 116 [-Wf
  324. ormat-truncation=]
  325. snprintf(buf, sizeof(buf), "%s %d %s %s %s %d", fname, msg_id, username(cli), cli->reader->device, cs_inet_ntoa(cli->ip), misc);
  326. ^~
  327. In file included from /usr/include/stdio.h:862:0,
  328. from /usr/src/oscam_1.20+svn11401/globals.h:6,
  329. from /usr/src/oscam_1.20+svn11401/module-gbox.c:3:
  330. /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 135) into a destination of size 120
  331. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  332. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  333. __bos (__s), __fmt, __va_arg_pack ());
  334. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  335. [ 65%] Building C object CMakeFiles/csmodules.dir/module-ghttp.o
  336. [ 65%] Building C object CMakeFiles/csmodules.dir/module-ird-guess.o
  337. [ 66%] Building C object CMakeFiles/csoscam.dir/oscam-files.o
  338. [ 66%] Linking C static library libcsctapi.a
  339. [ 66%] Building C object CMakeFiles/csoscam.dir/oscam-garbage.o
  340. [ 68%] Building C object CMakeFiles/csmodules.dir/module-led.o
  341. [ 68%] Building C object CMakeFiles/csmodules.dir/module-lcd.o
  342. [ 69%] Building C object CMakeFiles/csoscam.dir/oscam-hashtable.o
  343. [ 70%] Building C object CMakeFiles/csoscam.dir/oscam-llist.o
  344. In file included from /usr/src/oscam_1.20+svn11401/oscam-hashtable.c:6:0:
  345. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c: In function 'tommy_hash_u32':
  346. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:95:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
  347. case 11 : c += ((tommy_uint32_t)key[10]) << 16;
  348. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  349. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:96:2: note: here
  350. case 10 : c += ((tommy_uint32_t)key[9]) << 8;
  351. ^~~~
  352. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:96:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
  353. case 10 : c += ((tommy_uint32_t)key[9]) << 8;
  354. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  355. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:97:2: note: here
  356. case 9 : c += key[8];
  357. ^~~~
  358. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:97:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  359. case 9 : c += key[8];
  360. ~~^~~~~~~~~
  361. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:98:2: note: here
  362. case 8 :
  363. ^~~~
  364. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:102:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  365. case 7 : b += ((tommy_uint32_t)key[6]) << 16;
  366. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  367. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:103:2: note: here
  368. case 6 : b += ((tommy_uint32_t)key[5]) << 8;
  369. ^~~~
  370. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:103:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  371. case 6 : b += ((tommy_uint32_t)key[5]) << 8;
  372. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  373. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:104:2: note: here
  374. case 5 : b += key[4];
  375. ^~~~
  376. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:104:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  377. case 5 : b += key[4];
  378. ~~^~~~~~~~~
  379. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:105:2: note: here
  380. case 4 :
  381. ^~~~
  382. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:108:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  383. case 3 : a += ((tommy_uint32_t)key[2]) << 16;
  384. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  385. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:109:2: note: here
  386. case 2 : a += ((tommy_uint32_t)key[1]) << 8;
  387. ^~~~
  388. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:109:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  389. case 2 : a += ((tommy_uint32_t)key[1]) << 8;
  390. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  391. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:110:2: note: here
  392. case 1 : a += key[0];
  393. ^~~~
  394. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c: In function 'tommy_hash_u64':
  395. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:145:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
  396. case 11 : c += ((tommy_uint32_t)key[10]) << 16;
  397. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  398. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:146:2: note: here
  399. case 10 : c += ((tommy_uint32_t)key[9]) << 8;
  400. ^~~~
  401. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:146:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
  402. case 10 : c += ((tommy_uint32_t)key[9]) << 8;
  403. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  404. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:147:2: note: here
  405. case 9 : c += key[8];
  406. ^~~~
  407. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:147:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  408. case 9 : c += key[8];
  409. ~~^~~~~~~~~
  410. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:148:2: note: here
  411. case 8 :
  412. ^~~~
  413. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:152:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  414. case 7 : b += ((tommy_uint32_t)key[6]) << 16;
  415. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  416. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:153:2: note: here
  417. case 6 : b += ((tommy_uint32_t)key[5]) << 8;
  418. ^~~~
  419. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:153:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  420. case 6 : b += ((tommy_uint32_t)key[5]) << 8;
  421. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  422. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:154:2: note: here
  423. case 5 : b += key[4];
  424. ^~~~
  425. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:154:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  426. case 5 : b += key[4];
  427. ~~^~~~~~~~~
  428. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:155:2: note: here
  429. case 4 :
  430. ^~~~
  431. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:158:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  432. case 3 : a += ((tommy_uint32_t)key[2]) << 16;
  433. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  434. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:159:2: note: here
  435. case 2 : a += ((tommy_uint32_t)key[1]) << 8;
  436. ^~~~
  437. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:159:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  438. case 2 : a += ((tommy_uint32_t)key[1]) << 8;
  439. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  440. /usr/src/oscam_1.20+svn11401/tommyDS_hashlin/tommyhash.c:160:2: note: here
  441. case 1 : a += key[0];
  442. ^~~~
  443. [ 71%] Building C object CMakeFiles/csmodules.dir/module-monitor.o
  444. [ 71%] Building C object CMakeFiles/csmodules.dir/module-newcamd-des.o
  445. /usr/src/oscam_1.20+svn11401/module-monitor.c: In function 'monitor_login':
  446. /usr/src/oscam_1.20+svn11401/module-monitor.c:565:43: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 54 [-W
  447. format-truncation=]
  448. { snprintf(buf, sizeof(buf), "[A-0000]1|%s logged in\n", cur_cl->account->usr); }
  449. ^~
  450. In file included from /usr/include/stdio.h:862:0,
  451. from /usr/src/oscam_1.20+svn11401/globals.h:6,
  452. from /usr/src/oscam_1.20+svn11401/module-monitor.c:3:
  453. /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 22 and 85 bytes into a destination of size 64
  454. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  455. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  456. __bos (__s), __fmt, __va_arg_pack ());
  457. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  458. [ 71%] Building C object CMakeFiles/csoscam.dir/oscam-lock.o
  459. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  460. [ 72%] Building C object CMakeFiles/csoscam.dir/oscam-log-reader.o
  461. [ 73%] Building C object CMakeFiles/csmodules.dir/module-newcamd.o
  462. [ 74%] Building C object CMakeFiles/csmodules.dir/module-pandora.o
  463. [ 74%] Built target csctapi
  464. [ 75%] Building C object CMakeFiles/csoscam.dir/oscam-log.o
  465. [ 76%] Building C object CMakeFiles/csoscam.dir/oscam-net.o
  466. [ 76%] Building C object CMakeFiles/csoscam.dir/oscam-reader.o
  467. [ 76%] Building C object CMakeFiles/csmodules.dir/module-radegast.o
  468. [ 77%] Building C object CMakeFiles/csmodules.dir/module-scam.o
  469. /usr/src/oscam_1.20+svn11401/module-scam.c: In function 'xxor':
  470. /usr/src/oscam_1.20+svn11401/module-scam.c:32:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
  471. for(i = 8; i < 16; ++i)
  472. ^~~
  473. /usr/src/oscam_1.20+svn11401/module-scam.c:36:2: note: here
  474. case 8:
  475. ^~~~
  476. /usr/src/oscam_1.20+svn11401/module-scam.c:37:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
  477. for(i = 4; i < 8; ++i)
  478. ^~~
  479. /usr/src/oscam_1.20+svn11401/module-scam.c:41:2: note: here
  480. case 4:
  481. ^~~~
  482. [ 78%] Building C object CMakeFiles/csmodules.dir/module-serial.o
  483. [ 79%] Building C object CMakeFiles/csoscam.dir/oscam-simples.o
  484. [ 80%] Building C object CMakeFiles/csmodules.dir/module-stat.o
  485. [ 80%] Building C object CMakeFiles/csmodules.dir/module-webif-lib.o
  486. [ 81%] Building C object CMakeFiles/csoscam.dir/oscam-string.o
  487. /usr/src/oscam_1.20+svn11401/oscam-string.c: In function 'i2b_buf':
  488. /usr/src/oscam_1.20+svn11401/oscam-string.c:320:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  489. b[2] = (i) & 0xff;
  490. ~~~~~^~~~~~~~~~~~
  491. /usr/src/oscam_1.20+svn11401/oscam-string.c:321:2: note: here
  492. case 4:
  493. ^~~~
  494. [ 81%] Building C object CMakeFiles/csoscam.dir/oscam-time.o
  495. [ 83%] Building C object CMakeFiles/csoscam.dir/oscam-work.o
  496. [ 83%] Building C object CMakeFiles/csmodules.dir/module-webif-tpl.o
  497. /usr/src/oscam_1.20+svn11401/module-webif-lib.c:838:13: warning: 'SSL_dyn_destroy_function' defined but not used [-Wunused-function]
  498. static void SSL_dyn_destroy_function(struct CRYPTO_dynlock_value *l, const char *file, int32_t line)
  499. ^~~~~~~~~~~~~~~~~~~~~~~~
  500. /usr/src/oscam_1.20+svn11401/module-webif-lib.c:824:13: warning: 'SSL_dyn_lock_function' defined but not used [-Wunused-function]
  501. static void SSL_dyn_lock_function(int32_t mode, struct CRYPTO_dynlock_value *l, const char *file, int32_t line)
  502. ^~~~~~~~~~~~~~~~~~~~~
  503. /usr/src/oscam_1.20+svn11401/module-webif-lib.c:806:37: warning: 'SSL_dyn_create_function' defined but not used [-Wunused-function]
  504. static struct CRYPTO_dynlock_value *SSL_dyn_create_function(const char *file, int32_t line)
  505. ^~~~~~~~~~~~~~~~~~~~~~~
  506. /usr/src/oscam_1.20+svn11401/module-webif-lib.c:792:13: warning: 'SSL_locking_function' defined but not used [-Wunused-function]
  507. static void SSL_locking_function(int32_t mode, int32_t type, const char *file, int32_t line)
  508. ^~~~~~~~~~~~~~~~~~~~
  509. /usr/src/oscam_1.20+svn11401/module-webif-lib.c:787:22: warning: 'SSL_id_function' defined but not used [-Wunused-function]
  510. static unsigned long SSL_id_function(void)
  511. ^~~~~~~~~~~~~~~
  512. [ 84%] Building C object CMakeFiles/csmodules.dir/module-webif.o
  513. /usr/src/oscam_1.20+svn11401/module-webif-tpl.c: In function 'tpl_checkDiskRevisions':
  514. /usr/src/oscam_1.20+svn11401/module-webif-tpl.c:670:33: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wf
  515. ormat-truncation=]
  516. snprintf(dirpath, 255, "%s%s", cfg.http_tpl, entry.d_name);
  517. ^
  518. In file included from /usr/include/stdio.h:862:0,
  519. from /usr/src/oscam_1.20+svn11401/globals.h:6,
  520. from /usr/src/oscam_1.20+svn11401/module-webif-tpl.c:3:
  521. /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 1 or more bytes (assuming 256) into a destination of size 255
  522. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  523. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  524. __bos (__s), __fmt, __va_arg_pack ());
  525. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  526. /usr/src/oscam_1.20+svn11401/module-webif-tpl.c:679:13: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and
  527. 255 [-Wformat-truncation=]
  528. "%s/"
  529. ^
  530. In file included from /usr/include/stdio.h:862:0,
  531. from /usr/src/oscam_1.20+svn11401/globals.h:6,
  532. from /usr/src/oscam_1.20+svn11401/module-webif-tpl.c:3:
  533. /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 257 bytes into a destination of size 255
  534. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  535. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  536. __bos (__s), __fmt, __va_arg_pack ());
  537. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  538. [ 84%] Building C object CMakeFiles/csmodules.dir/webif/pages.o
  539. [ 85%] Building C object CMakeFiles/csoscam.dir/config.o
  540. /usr/src/oscam_1.20+svn11401/module-webif.c: In function 'process_request':
  541. /usr/src/oscam_1.20+svn11401/module-webif.c:6688:37: warning: '%02X' directive output may be truncated writing between 2 and 8 bytes into a region of siz
  542. e 3 [-Wformat-truncation=]
  543. snprintf(buff, sizeof(buff), "0x%02X", len);
  544. ^~~~
  545. /usr/src/oscam_1.20+svn11401/module-webif.c:6688:34: note: directive argument in the range [0, 2147483647]
  546. snprintf(buff, sizeof(buff), "0x%02X", len);
  547. ^~~~~~~~
  548. In file included from /usr/include/stdio.h:862:0,
  549. from /usr/src/oscam_1.20+svn11401/globals.h:6,
  550. from /usr/src/oscam_1.20+svn11401/module-webif.c:3:
  551. /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 5 and 11 bytes into a destination of size 5
  552. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  553. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  554. __bos (__s), __fmt, __va_arg_pack ());
  555. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  556. /usr/src/oscam_1.20+svn11401/module-webif.c: In function 'webif_client_init_lastreader':
  557. /usr/src/oscam_1.20+svn11401/module-webif.c:8711:70: warning: ' (cache)' directive output may be truncated writing 8 bytes into a region of size between
  558. 0 and 63 [-Wformat-truncation=]
  559. { snprintf(client->lastreader, sizeof(client->lastreader) - 1, "%s (cache)", er_reader->label); }
  560. ^~~~~~~~
  561. In file included from /usr/include/stdio.h:862:0,
  562. from /usr/src/oscam_1.20+svn11401/globals.h:6,
  563. from /usr/src/oscam_1.20+svn11401/module-webif.c:3:
  564. /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 9 and 72 bytes into a destination of size 63
  565. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  566. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  567. __bos (__s), __fmt, __va_arg_pack ());
  568. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  569. [ 86%] Linking C static library libcsmodules.a
  570. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  571. [ 87%] Linking C static library libcsoscam.a
  572. [ 87%] Built target csmodules
  573. make[3]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  574. [ 87%] Built target csoscam
  575. make[2]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  576. make[1]: *** [Makefile:152: all] Error 2
  577. make[1]: Leaving directory '/usr/src/oscam_1.20+svn11401/build'
  578. make: *** [oscam:86: /usr/src/log/oscam_1.20+svn11401] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement