oscam-smod
oscam-smod copied to clipboard
make all failed
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
Had to enable chceex to get it compiled.
Some warnings still exist:
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));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~