schimmelreiter / oscam-smod Goto Github PK
View Code? Open in Web Editor NEWmodern & emu based oscam, but in-line with the latest trunk too
License: GNU General Public License v3.0
modern & emu based oscam, but in-line with the latest trunk too
License: GNU General Public License v3.0
today my first try:
+-------------------------------------------------------------------------------
| OSCam ver: smod rev: git+2181+d6bbc6d target: x86_64-linux-gnu
| Tools:
| CROSS =
| CC = gcc
| Settings:
| CONF_DIR = /usr/local/etc
| CC_OPTS = -O2 -ggdb -pipe -ffunction-sections -fdata-sections
| CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition
| CFLAGS = -fexpensive-optimizations -mmmx -msse -msse2 -msse3
| LDFLAGS = -Wl,--gc-sections
| LIBS = -lm -lpthread -ldl
| UseFlags =
| Config:
| Addons : WEBIF WEBIF_LIVELOG WEBIF_JQUERY HAVE_DVBAPI READ_SDT_CHARSETS IRDETO_GUESSING CS_ANTICASC WITH_DEBUG MODULE_MONITOR WITH_LB CS_CACHEEX CW_CYCLE_CHECK LCDSUPPORT IPV6SUPPORT WITH_EMU WITH_CARDLIST
| Protocols: CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST SCAM SERIAL CONSTCW PANDORA GHTTP
| Readers : NAGRA NAGRA_MERLIN IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG STREAMGUARD JET BULCRYPT GRIFFIN DGCRYPT
| CardRdrs : PHOENIX
| Compiler : gcc (Debian 8.3.0-6) 8.3.0
| Config : build/x86_64-linux-gnu/config.mak
| Binary : Distribution/oscam-smod+git+2181+d6bbc6d-x86_64-linux-gnu
+-------------------------------------------------------------------------------
HOSTCC webif/pages_gen
GEN webif/pages.c
GEN Compressed 474144 template bytes into 194723 bytes. 279421 saved bytes (58.93%).
CC cscrypt/aes.c
CC cscrypt/bn_add.c
CC cscrypt/bn_asm.c
CC cscrypt/bn_ctx.c
CC cscrypt/bn_div.c
CC cscrypt/bn_exp.c
CC cscrypt/bn_lib.c
CC cscrypt/bn_mul.c
CC cscrypt/bn_print.c
CC cscrypt/bn_shift.c
CC cscrypt/bn_sqr.c
CC cscrypt/bn_word.c
CC cscrypt/mem.c
CC cscrypt/des.c
CC cscrypt/jet_twofish.c
CC cscrypt/jet_dh.c
CC cscrypt/i_cbc.c
CC cscrypt/i_ecb.c
CC cscrypt/i_skey.c
CC cscrypt/md5.c
CC cscrypt/rc6.c
CC cscrypt/sha1.c
CC cscrypt/mdc2.c
CC cscrypt/fast_aes.c
CC cscrypt/sha256.c
CC cardlist.c
CC csctapi/atr.c
CC csctapi/icc_async.c
CC csctapi/io_serial.c
CC csctapi/protocol_t0.c
CC csctapi/protocol_t1.c
CC csctapi/ifd_phoenix.c
CC minilzo/minilzo.c
CC module-anticasc.c
CC module-cacheex.c
CC module-camd35-cacheex.c
CC module-camd35.c
CC module-cccam-cacheex.c
CC module-cccam.c
CC module-cccshare.c
CC module-constcw.c
CC module-emulator.c
CC module-emulator-osemu.c
CC module-emulator-streamserver.c
CC module-emulator-biss.c
CC module-emulator-cryptoworks.c
CC module-emulator-director.c
CC module-emulator-irdeto.c
CC module-emulator-nagravision.c
CC module-emulator-powervu.c
CC module-emulator-viaccess.c
CC ffdecsa/ffdecsa.c
CC module-csp.c
CC module-cw-cycle-check.c
CC module-dvbapi-chancache.c
CC module-dvbapi.c
CC module-gbox-helper.c
CC module-gbox-sms.c
CC module-gbox-remm.c
CC module-gbox-cards.c
CC module-gbox.c
CC module-ird-guess.c
CC module-lcd.c
CC module-monitor.c
CC module-newcamd.c
CC module-newcamd-des.c
CC module-pandora.c
CC module-ghttp.c
CC module-radegast.c
CC module-scam.c
CC module-serial.c
CC module-stat.c
CC module-webif-lib.c
CC module-webif-tpl.c
CC module-webif.c
CC webif/pages.c
CC reader-common.c
CC reader-bulcrypt.c
CC reader-conax.c
CC reader-cryptoworks.c
CC reader-dgcrypt.c
CC reader-dre.c
CC reader-dre-cas.c
CC reader-dre-common.c
CC reader-dre-st20.c
CC reader-griffin.c
CC reader-irdeto.c
CC reader-nagra-common.c
CC reader-nagra.c
CC reader-nagracak7.c
CC reader-seca.c
CC reader-tongfang.c
CC reader-streamguard.c
CC reader-jet.c
CC reader-viaccess.c
CC reader-videoguard-common.c
CC reader-videoguard1.c
CC reader-videoguard12.c
CC reader-videoguard2.c
CC oscam-aes.c
CC oscam-array.c
CC oscam-hashtable.c
CC oscam-cache.c
CC oscam-chk.c
CC oscam-client.c
CC oscam-conf.c
CC oscam-conf-chk.c
CC oscam-conf-mk.c
CC oscam-config-null.c
oscam-config-null.c: In function ‘conf_file’:
oscam-config-null.c:103:7: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
strncpy(buffer, server_str, strlen(server_str));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
oscam-config-null.c:86:8: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
strncpy(buffer, server_str, strlen(server_str));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC oscam-config-account.c
CC oscam-config-global.c
CC oscam-config-reader.c
CC oscam-config.c
CC oscam-ecm.c
CC oscam-emm.c
CC oscam-emm-cache.c
CC oscam-failban.c
CC oscam-files.c
CC oscam-garbage.c
CC oscam-lock.c
CC oscam-log.c
CC oscam-log-reader.c
CC oscam-net.c
CC oscam-llist.c
CC oscam-reader.c
CC oscam-simples.c
CC oscam-string.c
CC oscam-time.c
CC oscam-work.c
CC oscam.c
CONF build/x86_64-linux-gnu/config.c
LINK Distribution/oscam-smod+git+2181+d6bbc6d-x86_64-linux-gnu.debug
/usr/bin/ld: build/x86_64-linux-gnu/module-emulator-biss.o: in function parse_session_data': /usr/local/src/oscam-smod.git/module-emulator-biss.c:677: undefined reference to
RSA_private_decrypt'
/usr/bin/ld: build/x86_64-linux-gnu/module-emulator-biss.o: in function biss_read_pem': /usr/local/src/oscam-smod.git/module-emulator-biss.c:835: undefined reference to
PEM_read_RSAPrivateKey'
/usr/bin/ld: /usr/local/src/oscam-smod.git/module-emulator-biss.c:860: undefined reference to i2d_RSA_PUBKEY' /usr/bin/ld: /usr/local/src/oscam-smod.git/module-emulator-biss.c:869: undefined reference to
EVP_MD_CTX_new'
/usr/bin/ld: /usr/local/src/oscam-smod.git/module-emulator-biss.c:875: undefined reference to EVP_sha256' /usr/bin/ld: /usr/local/src/oscam-smod.git/module-emulator-biss.c:875: undefined reference to
EVP_DigestInit_ex'
/usr/bin/ld: /usr/local/src/oscam-smod.git/module-emulator-biss.c:876: undefined reference to EVP_DigestUpdate' /usr/bin/ld: /usr/local/src/oscam-smod.git/module-emulator-biss.c:877: undefined reference to
EVP_DigestFinal_ex'
/usr/bin/ld: /usr/local/src/oscam-smod.git/module-emulator-biss.c:878: undefined reference to EVP_MD_CTX_free' /usr/bin/ld: build/x86_64-linux-gnu/reader-nagracak7.o: in function
CreateRSAPair60':
/usr/local/src/oscam-smod.git/reader-nagracak7.c:692: undefined reference to BN_mod_inverse' /usr/bin/ld: build/x86_64-linux-gnu/reader-nagracak7.o: in function
CreateRSAPair68':
/usr/local/src/oscam-smod.git/reader-nagracak7.c:746: undefined reference to `BN_mod_inverse'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:439: Distribution/oscam-smod+git+2181+d6bbc6d-x86_64-linux-gnu.debug] Fehler 1
make: *** [Makefile:411: all] Fehler 2
Maybe config-related?
HD01+
https://trac.streamboard.tv/oscam/ticket/4770
21:28:24 0B0F6CAE r (reader) TBS3102 [nagra] -----------------------------------------
21:28:24 0B0F6CAE r (reader) TBS3102 [nagra] |id |tier |valid from |valid to |
21:28:24 0B0F6CAE r (reader) TBS3102 [nagra] +----+--------+------------+------------+
*** buffer overflow detected ***: terminated
Currently, all C:/N:/... lines will automatically get written to oscam.server, if any reader is modified at oscam-smod runtime.
TODO: Some additional property for these proxies should mark them as transient, preventing them from being written to oscam.server, unless the user explicitely unselects the "transient" property.
hi,
if "ins7e" is set, don't override "boxid" with default value "12345678".
otherwise it is not possible to use "mode 83" with k1_unique.
greetz
Seems like with the current git version (r11546) there is a problem with hd02 and hd04?
Because after upgrade oscam cant read my hd02 and the HD04 wasnt working too.
After testing against current svn version..everything is fine.
Maybe a new pull? :)
Hey can you Fix this
Hallo kannst du das fixen ? Ist nur bei 11714 bis jetzt was mir aufgefallen ist ! Bei 11581 ist alles ok !
Kommt die 11715 auch dazu bzw weitere ! Danke mfg
Bug 11714 :
CC oscam-failban.c
oscam-config.c: In Funktion »chk_cccam_cfg_F_more«:
oscam-config.c:1593:14: Warnung: Deklaration von »caid« überdeckt eine globale Deklaration [-Wshadow]
uint16_t caid=0,srvid=0;
^
oscam-config.c:29:10: Warnung: verdeckte Deklaration ist hier [-Wshadow]
uint32_t caid;
^
oscam-config.c: In Funktion »read_cccamcfg«:
oscam-config.c:1685:10: Warnung: Deklaration von »caid« überdeckt eine globale Deklaration [-Wshadow]
int32_t caid,prid;
^
oscam-config.c:29:10: Warnung: verdeckte Deklaration ist hier [-Wshadow]
uint32_t caid;
^
CC oscam-files.c
P.s. i updated with
gh pr checkout 58
Everything runs very well except for the small optical error in the log.
2022/12/31 13:16:27 1D9E4D23 c (ecm) DVBApi (0x8D@000000/00F5/008B/B7:925D136C592BCC4DFDAE07E05587CF92): found (174 ms) by Icam - xxx xxxxxx 2022/12/31 13:16:33 00000000 (emu) icam_send_to_radegast: Send failure 2022/12/31 13:16:34 1D9E4D23 c (-) -- Skipped 1 duplicated log lines -- 2022/12/31 13:16:34 1D9E4D23 c (ecm) DVBApi (09xD@000000/00F5/008B/B7:2CB17ED9B7F1E2993FB76E187CC9DDA0): found (393 ms) by Icam - xxx xxxxxx 2022/12/31 13:16:40 00000000 (emu) icam_send_to_radegast: Send failure 2022/12/31 13:16:41 1D9E4D23 c (-) -- Skipped 1 duplicated log lines -- 2022/12/31 13:16:41 1D9E4D23 c (ecm) DVBApi (09xD@000000/00F5/008B/B7:5B4A894E2B21D18EBAC7BE35CDB67500): found (184 ms) by Icam - xxx xxxxxx 2022/12/31 13:16:47 00000000 (emu) icam_send_to_radegast: Send failure 2022/12/31 13:16:48 1D9E4D23 c (-) -- Skipped 1 duplicated log lines -- 2022/12/31 13:16:48 1D9E4D23 c (ecm) DVBApi (09xD@000000/00F5/008B/B7:3C573646A4E16EC0BEA759DD02A39AB0): found (178 ms) by Icam - xxx xxxxxx 2022/12/31 13:16:54 00000000 (emu) icam_send_to_radegast: Send failure 2022/12/31 13:16:55 1D9E4D23 c (-) -- Skipped 1 duplicated log lines -- 2022/12/31 13:16:55 1D9E4D23 c (ecm) DVBApi (09xD@000000/00F5/008B/B7:80C0FA28194B3793A9D5C1B3A851C65D): found (177 ms) by Icam - xxx xxxxxx 2022/12/31 13:17:01 00000000 (emu) icam_send_to_radegast: Send failure 2022/12/31 13:17:02 1D9E4D23 c (-) -- Skipped 1 duplicated log lines -- 2022/12/31 13:17:02 1D9E4D23 c (ecm) DVBApi (09xD@000000/00F5/008B/B7:81E1952804E50FE630FBBF3DCC524A52): found (181 ms) by Icam - xxx xxxxxx 2022/12/31 13:17:09 00000000 (emu) icam_send_to_radegast: Send failure 2022/12/31 13:17:09 1D9E4D23 c (-) -- Skipped 1 duplicated log lines -- 2022/12/31 13:17:09 1D9E4D23 c (ecm) DVBApi (09xD@000000/00F5/008B/B7:811041B7823DC250386412A070BAF3EF): found (173 ms) by Icam - xxx xxxxxx
Hi, help mi how to install this oscam mod for this image, before I used with GP4.1 was perfect.Now install dreambox two software dream-elite
root auf MCP-Server am 03.08.2020 14:50
[/usr/local/src/oscam-smod.git] # make all
+-------------------------------------------------------------------------------
| OSCam ver: smod rev: git+2188+db58dbb target: x86_64-linux-gnu-ssl
| Tools:
| CROSS =
| CC = gcc
| Settings:
| CONF_DIR = /usr/local/etc
| CC_OPTS = -O2 -ggdb -pipe -ffunction-sections -fdata-sections
| CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition
| CFLAGS = -fexpensive-optimizations -mmmx -msse -msse2 -msse3 -DWITH_SSL=1 -DWITH_LIBCRYPTO=1
| LDFLAGS = -Wl,--gc-sections -DWITH_SSL=1 -DWITH_LIBCRYPTO=1
| LIBS = -lssl -lcrypto -lm -lpthread -ldl
| UseFlags = USE_SSL=1 USE_LIBCRYPTO=1
| Config:
| Addons : WEBIF WEBIF_LIVELOG WEBIF_JQUERY WITH_SSL HAVE_DVBAPI READ_SDT_CHARSETS IRDETO_GUESSING CS_ANTICASC WITH_DEBUG MODULE_MONITOR WITH_LB CW_CYCLE_CHECK LCDSUPPORT WITH_EMU WITH_CARDLIST
| Protocols: CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST SCAM SERIAL CONSTCW PANDORA GHTTP
| Readers : NAGRA NAGRA_MERLIN IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG STREAMGUARD JET BULCRYPT GRIFFIN DGCRYPT
| CardRdrs : PHOENIX
| Compiler : gcc (Debian 8.3.0-6) 8.3.0
| Config : build/x86_64-linux-gnu-ssl/config.mak
| Binary : Distribution/oscam-smod+git+2188+db58dbb-x86_64-linux-gnu-ssl
+-------------------------------------------------------------------------------
GEN webif/pages.c
GEN Compressed 461560 template bytes into 190441 bytes. 271119 saved bytes (58.74%).
CC cscrypt/des.c
CC cscrypt/jet_twofish.c
CC cscrypt/jet_dh.c
CC cscrypt/i_cbc.c
CC cscrypt/i_ecb.c
CC cscrypt/i_skey.c
CC cscrypt/md5.c
CC cscrypt/rc6.c
CC cscrypt/mdc2.c
CC cscrypt/fast_aes.c
CC cscrypt/sha256.c
CC cardlist.c
CC csctapi/atr.c
CC csctapi/icc_async.c
CC csctapi/io_serial.c
CC csctapi/protocol_t0.c
CC csctapi/protocol_t1.c
CC csctapi/ifd_phoenix.c
CC minilzo/minilzo.c
CC module-anticasc.c
CC module-camd35.c
module-camd35.c: In function ‘camd35_client_init’:
module-camd35.c:867:3: warning: implicit declaration of function ‘camd35_cacheex_feature_request’; did you mean ‘camd35_cacheex_module_init’? [-Wimplicit-function-declaration]
camd35_cacheex_feature_request(cl);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
camd35_cacheex_module_init
CC module-cccam.c
module-cccam.c: In function ‘cc_parse_msg’:
module-cccam.c:3340:5: warning: implicit declaration of function ‘cc_cacheex_feature_request_reply’; did you mean ‘cc_cacheex_filter_out’? [-Wimplicit-function-declaration]
cc_cacheex_feature_request_reply(cl);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc_cacheex_filter_out
module-cccam.c:3349:5: warning: implicit declaration of function ‘cc_cacheex_feature_request_save’; did you mean ‘cc_cacheex_filter_out’? [-Wimplicit-function-declaration]
cc_cacheex_feature_request_save(cl, data);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc_cacheex_filter_out
module-cccam.c:3358:5: warning: implicit declaration of function ‘cc_cacheex_feature_trigger_in’; did you mean ‘cc_cacheex_filter_in’? [-Wimplicit-function-declaration]
cc_cacheex_feature_trigger_in(cl, data);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc_cacheex_filter_in
module-cccam.c: In function ‘cc_srv_init2’:
module-cccam.c:4529:34: error: ‘struct s_auth’ has no member named ‘cacheex’
if((cl->account && cl->account->cacheex.mode > 1) ||(cl->reader && cl->reader->cacheex.mode > 1))
^~
module-cccam.c:4529:83: error: ‘struct s_reader’ has no member named ‘cacheex’; did you mean ‘cachemm’?
if((cl->account && cl->account->cacheex.mode > 1) ||(cl->reader && cl->reader->cacheex.mode > 1))
^~~~~~~
cachemm
module-cccam.c:4530:5: warning: implicit declaration of function ‘cc_cacheex_feature_request’; did you mean ‘cc_cacheex_filter_out’? [-Wimplicit-function-declaration]
cc_cacheex_feature_request(cl);
^~~~~~~~~~~~~~~~~~~~~~~~~~
cc_cacheex_filter_out
make[1]: *** [Makefile:457: build/x86_64-linux-gnu-ssl/module-cccam.o] Fehler 1
make: *** [Makefile:411: all] Fehler 2
current master ends up with this error:
csctapi/cardlist.c: In function ‘findatr’: csctapi/cardlist.c:192:17: error: ‘struct s_reader’ has no member named ‘data50’ memcpy(reader->data50, data50, 80); ^~ csctapi/cardlist.c:193:17: error: ‘struct s_reader’ has no member named ‘mod50’ memcpy(reader->mod50, mod50, 80); ^~ csctapi/cardlist.c:194:17: error: ‘struct s_reader’ has no member named ‘key60’ memcpy(reader->key60, key60, 96); ^~ csctapi/cardlist.c:195:17: error: ‘struct s_reader’ has no member named ‘exp60’ memcpy(reader->exp60, exp60, 96); ^~ csctapi/cardlist.c:196:17: error: ‘struct s_reader’ has no member named ‘mod1’ memcpy(reader->mod1, mod1, 112); ^~ csctapi/cardlist.c:197:19: error: ‘struct s_reader’ has no member named ‘nuid’; did you mean ‘prid’? memcpy(reader->nuid, max_nuid, 4); ^~~~ prid csctapi/cardlist.c:198:17: error: ‘struct s_reader’ has no member named ‘cwekey0’ memcpy(reader->cwekey0, max_cwpk, 16); ^~ csctapi/cardlist.c:200:12: error: ‘struct s_reader’ has no member named ‘data50_length’; did you mean ‘boxkey_length’? reader->data50_length = 80; ^~~~~~~~~~~~~ boxkey_length csctapi/cardlist.c:201:12: error: ‘struct s_reader’ has no member named ‘mod50_length’; did you mean ‘boxkey_length’? reader->mod50_length = 80; ^~~~~~~~~~~~ boxkey_length csctapi/cardlist.c:202:12: error: ‘struct s_reader’ has no member named ‘key60_length’; did you mean ‘boxkey_length’? reader->key60_length = 96; ^~~~~~~~~~~~ boxkey_length csctapi/cardlist.c:203:12: error: ‘struct s_reader’ has no member named ‘exp60_length’; did you mean ‘boxkey_length’? reader->exp60_length = 96; ^~~~~~~~~~~~ boxkey_length csctapi/cardlist.c:204:12: error: ‘struct s_reader’ has no member named ‘mod1_length’; did you mean ‘boxkey_length’? reader->mod1_length = 112; ^~~~~~~~~~~ boxkey_length csctapi/cardlist.c:205:12: error: ‘struct s_reader’ has no member named ‘nuid_length’; did you mean ‘boxkey_length’? reader->nuid_length = 4; ^~~~~~~~~~~ boxkey_length csctapi/cardlist.c:206:12: error: ‘struct s_reader’ has no member named ‘cwekey0_length’; did you mean ‘boxkey_length’? reader->cwekey0_length = 16; ^~~~~~~~~~~~~~ boxkey_length csctapi/cardlist.c:229:18: error: ‘struct s_reader’ has no member named ‘data50’ memcpy(reader->data50, data50, 80); ^~ csctapi/cardlist.c:230:18: error: ‘struct s_reader’ has no member named ‘mod50’ memcpy(reader->mod50, mod50, 80); ^~ csctapi/cardlist.c:231:18: error: ‘struct s_reader’ has no member named ‘mod1’ memcpy(reader->mod1, mod1, 112); ^~ csctapi/cardlist.c:232:20: error: ‘struct s_reader’ has no member named ‘nuid’; did you mean ‘prid’? memcpy(reader->nuid, hd_nuid, 4); ^~~~ prid csctapi/cardlist.c:233:18: error: ‘struct s_reader’ has no member named ‘cwekey0’ memcpy(reader->cwekey0, hd_cwpk, 16); ^~ csctapi/cardlist.c:234:18: error: ‘struct s_reader’ has no member named ‘key3588’ memcpy(reader->key3588, hd_key3588, 136); ^~ csctapi/cardlist.c:235:18: error: ‘struct s_reader’ has no member named ‘idird’ memcpy(reader->idird, hd_idird, 4); ^~ csctapi/cardlist.c:237:13: error: ‘struct s_reader’ has no member named ‘data50_length’; did you mean ‘boxkey_length’? reader->data50_length = 80; ^~~~~~~~~~~~~ boxkey_length csctapi/cardlist.c:238:13: error: ‘struct s_reader’ has no member named ‘mod50_length’; did you mean ‘boxkey_length’? reader->mod50_length = 80; ^~~~~~~~~~~~ boxkey_length csctapi/cardlist.c:239:13: error: ‘struct s_reader’ has no member named ‘mod1_length’; did you mean ‘boxkey_length’? reader->mod1_length = 112; ^~~~~~~~~~~ boxkey_length csctapi/cardlist.c:240:13: error: ‘struct s_reader’ has no member named ‘nuid_length’; did you mean ‘boxkey_length’? reader->nuid_length = 4; ^~~~~~~~~~~ boxkey_length csctapi/cardlist.c:241:13: error: ‘struct s_reader’ has no member named ‘cwekey0_length’; did you mean ‘boxkey_length’? reader->cwekey0_length = 16; ^~~~~~~~~~~~~~ boxkey_length csctapi/cardlist.c:242:13: error: ‘struct s_reader’ has no member named ‘key3588_length’; did you mean ‘des_key_length’? reader->key3588_length = 136; ^~~~~~~~~~~~~~ des_key_length csctapi/cardlist.c:243:13: error: ‘struct s_reader’ has no member named ‘idird_length’; did you mean ‘boxkey_length’? reader->idird_length = 4; ^~~~~~~~~~~~ boxkey_length CC csctapi/protocol_t0.c At top level: csctapi/cardlist.c:19:19: warning: ‘cmd0eprov’ defined but not used [-Wunused-const-variable=] static const char cmd0eprov[3] = { "\x00" }; ^~~~~~~~~ csctapi/cardlist.c:18:19: warning: ‘mod2’ defined but not used [-Wunused-const-variable=] static const char mod2[113] = { "\x00" }; ^~~~ csctapi/cardlist.c:16:19: warning: ‘key3310’ defined but not used [-Wunused-const-variable=] static const char key3310[17] = { "\x00" }; ^~~~~~~ csctapi/cardlist.c:15:19: warning: ‘key3460’ defined but not used [-Wunused-const-variable=] static const char key3460[97] = { "\x00" }; ^~~~~~~ make[1]: *** [Makefile:455: build/x86_64-pc-linux-gnu-ssl-libusb/csctapi/cardlist.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:409: all] Error 2
This is the ENV (if it helps)
make -j8 OSCAM_BIN=$(BINDIR)/oscam LIST_SMARGO_BIN=$(BINDIR)/list_smargo CONF_DIR=/etc/oscam USE_LIBUSB=1 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++
+-------------------------------------------------------------------------------
| OSCam ver: smod rev: 11546 target: x86_64-pc-linux-gnu-ssl-libusb
| Tools:
| CROSS =
| CC = x86_64-pc-linux-gnu-gcc
| Settings:
| CONF_DIR = /etc/oscam
| CC_OPTS = -O2 -ggdb -pipe -ffunction-sections -fdata-sections
| CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition
| CFLAGS = -O2 -pipe -march=native -fexpensive-optimizations -mmmx -msse -msse2 -msse3 -DWITH_SSL=1 -DWITH_LIBCRYPTO=1 -DWITH_LIBUSB=1
| LDFLAGS = -Wl,--gc-sections -DWITH_SSL=1 -DWITH_LIBCRYPTO=1 -DWITH_LIBUSB=1
| LIBS = -lssl -lcrypto -lusb-1.0 -lrt -lm -lpthread -ldl
| UseFlags = USE_SSL=1 USE_LIBCRYPTO=1 USE_LIBUSB=1
| Config:
| Addons : WEBIF WEBIF_LIVELOG WEBIF_JQUERY WITH_SSL HAVE_DVBAPI READ_SDT_CHARSETS IRDETO_GUESSING CS_ANTICASC MODULE_MONITOR WITH_LB CS_CACHEEX CW_CYCLE_CHECK LEDSUPPORT WITH_EMU
| Protocols: CAMD33 CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST SERIAL CONSTCW PANDORA GHTTP
| Readers : NAGRA IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG BULCRYPT DGCRYPT
| CardRdrs : PHOENIX INTERNAL SC8IN1 MP35 SMARGO STINGER DRECAS SMART
| Compiler : x86_64-pc-linux-gnu-gcc (Gentoo 8.3.0-r1 p1.1) 8.3.0
| Config : build/x86_64-pc-linux-gnu-ssl-libusb/config.mak
| Binary : Distribution/oscam
Uncommented #define WITH_SSL 1
in config.h to make the SSL errors go away.
Cloning into 'oscam-smod'...
remote: Enumerating objects: 188, done.
remote: Counting objects: 100% (188/188), done.
remote: Compressing objects: 100% (128/128), done.
remote: Total 11858 (delta 92), reused 104 (delta 55), pack-reused 11670
Receiving objects: 100% (11858/11858), 6.07 MiB | 1.98 MiB/s, done.
Resolving deltas: 100% (8781/8781), done.
$ cd oscam-smod/
$ make -j
+-------------------------------------------------------------------------------
| OSCam ver: smod rev: git+2188+db58dbb target: x86_64-pc-linux-gnu-ssl
| Tools:
| CROSS =
| CC = gcc
| Settings:
| CONF_DIR = /usr/local/etc
| CC_OPTS = -O2 -ggdb -pipe -ffunction-sections -fdata-sections
| CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition
| CFLAGS = -fexpensive-optimizations -mmmx -msse -msse2 -msse3 -DWITH_SSL=1 -DWITH_LIBCRYPTO=1
| LDFLAGS = -Wl,--gc-sections -DWITH_SSL=1 -DWITH_LIBCRYPTO=1
| LIBS = -lssl -lcrypto -lm -lpthread -ldl
| UseFlags = USE_SSL=1 USE_LIBCRYPTO=1
| Config:
| Addons : WEBIF WEBIF_LIVELOG WEBIF_JQUERY TOUCH WITH_SSL HAVE_DVBAPI READ_SDT_CHARSETS IRDETO_GUESSING CS_ANTICASC WITH_DEBUG MODULE_MONITOR WITH_LB CS_CACHEEX CW_CYCLE_CHECK IPV6SUPPORT WITH_EMU WITH_CARDLIST
| Protocols: CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST SCAM SERIAL CONSTCW PANDORA GHTTP
| Readers : NAGRA NAGRA_MERLIN IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG STREAMGUARD JET BULCRYPT GRIFFIN DGCRYPT
| CardRdrs : PHOENIX INTERNAL SC8IN1 MP35 SMARGO DB2COM STAPI STAPI5 STINGER DRECAS
| Compiler : gcc (GCC) 10.2.0
| Config : build/x86_64-pc-linux-gnu-ssl/config.mak
| Binary : Distribution/oscam-smod+git+2188+db58dbb-x86_64-pc-linux-gnu-ssl
+-------------------------------------------------------------------------------
CC cscrypt/i_skey.c
CC cscrypt/i_cbc.c
CC cscrypt/i_ecb.c
CC cscrypt/rc6.c
CC cscrypt/sha256.c
CC cscrypt/fast_aes.c
CC cscrypt/jet_twofish.c
CC cscrypt/jet_dh.c
CC cscrypt/md5.c
CC cscrypt/mdc2.c
CC cardlist.c
CC cscrypt/des.c
CC csctapi/atr.c
CC csctapi/icc_async.c
CC csctapi/protocol_t0.c
CC csctapi/ifd_mp35.c
CC csctapi/ifd_db2com.c
CC csctapi/io_serial.c
CC csctapi/protocol_t1.c
CC csctapi/ifd_drecas.c
CC csctapi/ifd_sc8in1.c
CC csctapi/ifd_phoenix.c
CC csctapi/ifd_smargo.c
CC csctapi/ifd_stinger.c
CC csctapi/ifd_sci.c
CC minilzo/minilzo.c
CC module-cacheex.c
CC module-anticasc.c
CC module-camd35-cacheex.c
CC module-camd35.c
CC module-cccam-cacheex.c
CC module-cccam.c
CC module-constcw.c
CC module-cccshare.c
CC module-emulator-streamserver.c
CC module-emulator.c
CC module-emulator-osemu.c
CC module-emulator-biss.c
CC module-emulator-cryptoworks.c
CC module-emulator-director.c
CC module-emulator-irdeto.c
CC module-emulator-nagravision.c
CC module-emulator-powervu.c
CC ffdecsa/ffdecsa.c
CC module-emulator-viaccess.c
CC module-csp.c
CC module-cw-cycle-check.c
CC module-dvbapi-chancache.c
CC module-dvbapi.c
CC module-gbox-helper.c
CC module-gbox-sms.c
CC module-gbox-remm.c
CC module-gbox-cards.c
CC module-gbox.c
CC module-ird-guess.c
CC module-monitor.c
CC module-newcamd.c
CC module-newcamd-des.c
CC module-pandora.c
CC module-radegast.c
CC module-ghttp.c
CC module-scam.c
CC module-serial.c
CC module-stat.c
CC module-webif-tpl.c
CC module-webif-lib.c
CC module-webif.c
module-monitor.c: In function ‘monitor_process_request.isra’:
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-monitor.c:360:34: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~
......
548 | monitor_process_details_master(sbuf, cl->tid);
| ~~~~
module-monitor.c:360:2: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 255
360 | snprintf(buf, 255, "[D-----]%8X|%s\n", tid, txt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC webif/pages.c
CC reader-common.c
CC reader-conax.c
CC reader-bulcrypt.c
CC reader-cryptoworks.c
CC reader-dgcrypt.c
CC reader-dre.c
module-webif-lib.c: In function ‘send_file’:
module-webif-lib.c:494:5: warning: ‘snprintf’ argument 6 overlaps destination object ‘allocated’ [-Wrestrict]
494 | snprintf(allocated, newsize, "%s\n%s\n%s", CSS, separator, (oldallocated != NULL ? oldallocated : ""));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-webif-lib.c:415:39: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
415 | char *mimetype = "", *result = " ", *allocated = NULL;
| ^~~~~~~~~
CC reader-dre-cas.c
CC reader-dre-common.c
CC reader-dre-st20.c
CC reader-griffin.c
CC reader-irdeto.c
CC reader-nagra-common.c
CC reader-nagra.c
CC reader-tongfang.c
CC reader-nagracak7.c
CC reader-streamguard.c
CC reader-seca.c
CC reader-jet.c
CC reader-viaccess.c
CC reader-videoguard-common.c
CC reader-videoguard1.c
CC reader-videoguard12.c
CC oscam-hashtable.c
CC oscam-aes.c
CC reader-videoguard2.c
CC oscam-array.c
CC oscam-cache.c
CC oscam-client.c
CC oscam-conf.c
CC oscam-chk.c
CC oscam-conf-chk.c
CC oscam-conf-mk.c
CC oscam-config-null.c
CC oscam-config-account.c
oscam-config-null.c: In function ‘conf_file’:
oscam-config-null.c:103:7: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
103 | strncpy(buffer, server_str, strlen(server_str));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
oscam-config-null.c:86:8: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
86 | strncpy(buffer, server_str, strlen(server_str));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC oscam-config.c
CC oscam-config-global.c
CC oscam-ecm.c
CC oscam-config-reader.c
CC oscam-emm.c
CC oscam-emm-cache.c
CC oscam-failban.c
CC oscam-garbage.c
CC oscam-files.c
CC oscam-lock.c
CC oscam-log.c
CC oscam-log-reader.c
CC oscam-llist.c
CC oscam-net.c
CC oscam-reader.c
CC oscam-string.c
CC oscam-simples.c
CONF build/x86_64-pc-linux-gnu-ssl/config.c
CC oscam-work.c
CC oscam-time.c
CC oscam.c
LINK Distribution/oscam-smod+git+2188+db58dbb-x86_64-pc-linux-gnu-ssl.debug
/usr/bin/ld: build/x86_64-pc-linux-gnu-ssl/csctapi/icc_async.o:/tmp/oscam-smod/csctapi/icc_async.c:18: multiple definition of `current'; build/x86_64-pc-linux-gnu-ssl/cardlist.o:/tmp/oscam-smod/cardlist.c:109: first defined here
/usr/bin/ld: build/x86_64-pc-linux-gnu-ssl/oscam-config-account.o:/tmp/oscam-smod/oscam-config-null.h:6: multiple definition of `tmp_conf'; build/x86_64-pc-linux-gnu-ssl/oscam-config-null.o:/tmp/oscam-smod/oscam-config-null.h:6: first defined here
/usr/bin/ld: build/x86_64-pc-linux-gnu-ssl/oscam-config-account.o:/tmp/oscam-smod/oscam-config-null.h:7: multiple definition of `res'; build/x86_64-pc-linux-gnu-ssl/oscam-config-null.o:/tmp/oscam-smod/oscam-config-null.h:7: first defined here
/usr/bin/ld: build/x86_64-pc-linux-gnu-ssl/oscam-config-reader.o:/tmp/oscam-smod/oscam-config-null.h:6: multiple definition of `tmp_conf'; build/x86_64-pc-linux-gnu-ssl/oscam-config-null.o:/tmp/oscam-smod/oscam-config-null.h:6: first defined here
/usr/bin/ld: build/x86_64-pc-linux-gnu-ssl/oscam-config-reader.o:/tmp/oscam-smod/oscam-config-null.h:7: multiple definition of `res'; build/x86_64-pc-linux-gnu-ssl/oscam-config-null.o:/tmp/oscam-smod/oscam-config-null.h:7: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:439: Distribution/oscam-smod+git+2188+db58dbb-x86_64-pc-linux-gnu-ssl.debug] Error 1
make: *** [Makefile:411: all] Error 2```
F:-lines inside a CCcam.cfg are not correctly interpreted when read by oscam-smod
Get this output while compiling without cccam
CC oscam-config.c
oscam-config.c: In function ‘chk_cccam_cfg_F_more’:
oscam-config.c:1521:27: error: ‘struct s_auth’ has no member named ‘cccreshare’
if(!cno && !(account->cccreshare)){
^~
oscam-config.c:1523:15: error: ‘struct s_auth’ has no member named ‘cccreshare’
account->cccreshare=(int32_t)reshare;
^~
oscam-config.c: In function ‘read_cccamcfg’:
oscam-config.c:1597:15: warning: unused variable ‘prid’ [-Wunused-variable]
int32_t caid,prid;
^~~~
oscam-config.c:1597:10: warning: unused variable ‘caid’ [-Wunused-variable]
int32_t caid,prid;
^~~~
I dont know if this is an issue, but sometimes (especial hd02 and hd03, are much slower cards) it can lead to decoding-glitches
2020/03/07 23:37:51 0999E2E2 c (ecm) user1 (186A:000000:EF77, CW:978F0A30DE39BBD288EA4DBF8A444816): found (122 ms) by hd04 (L/1/2/2) - SIXX HD
2020/03/07 23:37:51 65E37E5C r (reader) hd04 [nagra merlin] 10521302 CMDs left to FASTreinit
2020/03/07 23:37:51 65E37E5C r (reader) hd04 [nagra merlin] Card is starting in GLOBAL mode
2020/03/07 23:37:51 65E37E5C r (reader) hd04 [nagra merlin] New AES: E2 25 84 24 D9 AB F4 96 DC 74 E3 61 59 77 30 FD
2020/03/07 23:37:51 1365075D c (ecm) user2 (186A:000000:EF77, CW:978F0A30DE39BBD288EA4DBF8A444816): cache2 (707 ms) by hd04 (L/1/2/2) - SIXX HD
tvh /tmp/oscam-smod # make pcsc
....
CardRdrs : PHOENIX INTERNAL SC8IN1 MP35 SMARGO DB2COM STAPI STAPI5 STINGER DRECAS PCSC
....
tvh /tmp/oscam-smod # Distribution/oscam-Schimmelreiter11397-x86_64-pc-linux-gnu-ssl-pcsc -V |grep -i pcsc
Compiler: x86_64-pc-linux-gnu-ssl-pcsc
cardreader_pcsc: no
with oscam-1.20-unstable_svn-r0 it is working
Wenn ich baue dann kommt folgender Fehler bzw Warnung:
cardlist.c:59:16: warning: ‘idird’ defined but not used [-Wunused-variable]
Wenn ich das binary dann mit einer HD03/04 Karte starte wird die Karte nicht gelesen, weil die idird fehlt. Wenn ich das dann in der oscam.server eintrage funktioniert es. Aber das ist ja nun nicht Sinn der Sache...
Gruß
Martin
hello sir i have setellite card and plz tell me how can find out rsa key or box becuz i m try more then so my card is block my oscam server install ubuntu nd raspberry pi plz help i m tired
If a hostname, e.g. server.dyndns.org, resolves to multiple IPs, e.g.
oscam-smod does not cycle through these IP addresses.
This breaks
Examples:
AVM Fritz!Boxes can perform automatic DynDNS updates. However, for connections with dual-stack, they will always perform updates of the AAAA record of the DynDNS using the Fritz!Box' IPv6 address.
But if the oscam server runs on any other machine inside the network, the IPv6 of that other machine would be needed to connect, not the IPv6 of the Fritz!Box.
Cycling through the resolved records would at least allow IPv4 connections in such cases.
An oscam server is multi-homed, e.g. it can be reached through the server operator's WAN connections 1 and 2 under normal conditions (WAN load-balancing), but oscam-smod will always stick to the first IP it decided for.
If the server's WAN connection 1 fails but oscam-smod decided to use the IP address of the server's WAN1, it will never attempt to connect via the server's other WAN (WAN2), which would still be connectable.
Please sync.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.