Dear Expert team i need help to fix bellow error...
please help out
Thanks in advance
QuoteDisplay More+-------------------------------------------------------------------------------
| OSCam ver: 1.20_svn rev: 11585-798 target: armv7a-unknown-linux-android24-stapi
| Tools:
| CROSS = /home/kaleem/opt/s3/support/toolchains/android_nougat_arm/bin/arm-linux-androideabi-
| CC = /home/kaleem/opt/s3/support/toolchains/android_nougat_arm/bin/arm-linux-androideabi-gcc
| Settings:
| CONF_DIR = /data/plugin/oscam
| CC_OPTS = -O0 -ggdb -pipe -ffunction-sections -fdata-sections -march=armv7-a -mtune=cortex-a9 -mfloat-abi=softfp -mfpu=vfpv3-d16 -DANDROID -D__ANDROID_API__=24 -fpic -fno-addrsig -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wno-invalid-command-line-argument -Wno-unused-command-line-argument
| CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition
| CFLAGS = -fexpensive-optimizations -DWITH_STAPI=1
| LDFLAGS = -Wl,--gc-sections -DWITH_STAPI=1
| LIBS = /home/kaleem/opt/s3/support/stapi/libwi.a -lm -ldl
| UseFlags = USE_STAPI=1
| 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 WITH_EMU WITH_SOFTCAM
| Protocols: CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX SCAM CONSTCW
| Readers : NAGRA NAGRA_MERLIN IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG BULCRYPT GRIFFIN DGCRYPT
| CardRdrs : PHOENIX INTERNAL STAPI STINGER
| Compiler : Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn)
| Config : build/armv7a-unknown-linux-android24-stapi/config.mak
| Binary : /home/kaleem/opt/s3/support/binaries/oscam-svn11585-android_nougat_arm-webif-dvbapi-emu798-upx
+-------------------------------------------------------------------------------
HOSTCC webif/pages_gen
GEN webif/pages.c
GEN Compressed 458240 template bytes into 184836 bytes. 273404 saved bytes (59.66%).
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_mul.c
CC cscrypt/bn_lib.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/i_cbc.c
CC cscrypt/i_ecb.c
CC cscrypt/i_skey.c
CC cscrypt/md5.c
CC cscrypt/sha1.c
CC cscrypt/rc6.c
CC cscrypt/mdc2.c
CC cscrypt/fast_aes.c
CC cscrypt/sha256.c
CC csctapi/atr.c
CC csctapi/io_serial.c
CC csctapi/icc_async.c
CC csctapi/protocol_t0.c
CC csctapi/protocol_t1.c
CC csctapi/ifd_phoenix.c
CC csctapi/ifd_sci.c
CC minilzo/minilzo.c
CC csctapi/ifd_stinger.c
CC csctapi/ifd_stapi.c
CC module-anticasc.c
CC module-camd35.c
CC module-camd35-cacheex.c
CC module-cacheex.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-cryptoworks.c
CC module-emulator-streamserver.c
CC module-emulator-irdeto.c
CC module-emulator-osemu.c
CC module-emulator-nagravision.c
CC module-emulator-biss.c
CC module-emulator-director.c
CC module-emulator-powervu.c
CC module-emulator-viaccess.c
CC module-dvbapi-stapi.c
CC ffdecsa/ffdecsa.c
CC module-csp.c
CC module-cw-cycle-check.c
CC module-dvbapi-chancache.c
CC module-gbox-helper.c
CC module-dvbapi.c
module-dvbapi-stapi.c:97:4: warning: implicit declaration of function 'pthread_cancel' is invalid in C99 [-Wimplicit-function-declaration]
pthread_cancel(dev_list[i].thread);
^
module-dvbapi-stapi.cCC module-gbox-sms.c
:479:2: warning: implicit declaration of function 'pthread_setcanceltype' is invalid in C99 [-Wimplicit-function-declaration]
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
^
module-dvbapi-stapi.c:479:24: error: use of undeclared identifier 'PTHREAD_CANCEL_ASYNCHRONOUS'
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
^
2 warnings and 1 error generated.
make[1]: *** [Makefile:452: build/armv7a-unknown-linux-android24-stapi/module-dvbapi-stapi.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC module-gbox.cCC module-gbox-remm.c
CC module-gbox-cards.c
CC module-ird-guess.c
CC module-newcamd-des.c
CC module-monitor.c
CC module-newcamd.c
module-dvbapi.cCC module-scam.c
:1112:37: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size]
strncat(device_path, device_path2, sizeof(device_path) - strlen(device_path));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-dvbapi.c:1112:37: note: change the argument to be the free space in the destination buffer minus the terminating null byte
strncat(device_path, device_path2, sizeof(device_path) - strlen(device_path));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sizeof(device_path) - strlen(device_path) - 1
module-dvbapi.c:1199:39: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size]
strncat(device_path, device_path2, sizeof(device_path) - strlen(device_path));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-dvbapi.c:1199:39: note: change the argument to be the free space in the destination buffer minus the terminating null byte
strncat(device_path, device_path2, sizeof(device_path) - strlen(device_path));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sizeof(device_path) - strlen(device_path) - 1
module-dvbapi.c:1342:38: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size]
strncat(device_path, device_path2, sizeof(device_path) - strlen(device_path));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-dvbapi.c:1342:38: note: change the argument to be the free space in the destination buffer minus the terminating null byte
strncat(device_path, device_path2, sizeof(device_path) - strlen(device_path));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sizeof(device_path) - strlen(device_path) - 1
module-dvbapi.c:1362:38: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size]
strncat(device_path, device_path2, sizeof(device_path) - strlen(device_path));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-dvbapi.c:1362:38: note: change the argument to be the free space in the destination buffer minus the terminating null byte
strncat(device_path, device_path2, sizeof(device_path) - strlen(device_path));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sizeof(device_path) - strlen(device_path) - 1
4 warnings generated.
make: *** [Makefile:408: all] Error 2
| TIME > [ 0 min(s) 3 secs ]