gorgone / s3_releases

Simplebuild 3 Releases
GNU General Public License v3.0
43 stars 34 forks source link

Error during compilation via command line #52

Closed jungla-team closed 4 years ago

jungla-team commented 4 years ago

Hi gorgone,

The compilation via ./s3 menu goes well but via command line no.

ja2m@vmi328832:~/conclave/s3_update$ ./s3 "vuplus4k_arm" -p=vuplus4k_arm.profile   
    ___  ____   ___
   / _ \/ ___| / __|__ _ _ __ ___
  | | | \___ \| |  / _` | '_ ` _ \
  | |_| |___) | |_| (_| | | | | | |
   \___/|____/ \___\__,_|_| |_| |_|

   toolchain : vuplus4k_arm
      status : compiler encontrado
    compiler : arm-vuplus4k-linux-gnueabihf-gcc
 |   Disable : WEBIF
 |   Disable : WEBIF_LIVELOG
 |   Disable : WEBIF_JQUERY
 |   Disable : HAVE_DVBAPI
 |   Disable : WITH_DEBUG
 |   Disable : WITH_LB
 |   Disable : CS_CACHEEX
 |   Disable : CS_CACHEEX_AIO
 |   Disable : CLOCKFIX
 |   Disable : MODULE_CAMD35_TCP
 |   Disable : MODULE_CCCAM
 |   Disable : MODULE_CCCSHARE
 |   Disable : READER_NAGRA
 |   Disable : CARDREADER_INTERNAL
 |    Enable : WEBIF
 |    Enable : WEBIF_LIVELOG
 |    Enable : WEBIF_JQUERY
 |    Enable : HAVE_DVBAPI
 |    Enable : WITH_DEBUG
 |    Enable : WITH_LB
 |    Enable : CS_CACHEEX
 |    Enable : CS_CACHEEX_AIO
 |    Enable : CLOCKFIX
 |    Enable : MODULE_CAMD35_TCP
 |    Enable : MODULE_CCCAM
 |    Enable : MODULE_CCCSHARE
 |    Enable : READER_NAGRA
 |    Enable : CARDREADER_INTERNAL

 |       set : USE_UTF8=1
 |       set : USE_LIBCRYPTO=1 |   PROFILE : vuplus4k_arm.profile
 |  MAX_CPUS : usa 4 de 4 CPU(s)
 |  CONF_DIR : /etc/tuxbox/config
 |  UseFlags : USE_LIBCRYPTO=1 USE_UTF8=1
 |  Addons   : WEBIF LIVELOG JQUERY DVBAPI DEBUG LB CACHEEX CACHEEX_AIO CLOCKFIX
 |  Protocols: CAMD35_TCP CCCAM CCCSHARE
 |  Readers  : NAGRA
 |  CardRdrs : INTERNAL
 |  Binary   : /home/ja2m/conclave/s3_update/support/binaries/oscam-trunk-git26-vuplus4k_arm-webif-dvbapi-ipv4only
 GEN -------->  webif/pages.c
 GEN -------->  Compressed 436664 template bytes into 167296 bytes. 269368 saved bytes (61.69%).
 BUILD ------>  cscrypt/i_ecb.c
 BUILD ------>  cscrypt/i_cbc.c
 BUILD ------>  cscrypt/i_skey.c
 BUILD ------>  cscrypt/rc6.c
 BUILD ------>  cscrypt/md5.c
 BUILD ------>  csctapi/atr.c
 BUILD ------>  csctapi/icc_async.c
 BUILD ------>  csctapi/io_serial.c

 TIME -------> [  0 min(s) 2 secs ]

        errors on build found

and the log:

ja2m@vmi328832:~/conclave/s3_update$ cat lastbuild.log
    ___  ____   ___
   / _ \/ ___| / __|__ _ _ __ ___
  | | | \___ \| |  / _` | '_ ` _ \
  | |_| |___) | |_| (_| | | | | | |
   \___/|____/ \___\__,_|_| |_| |_|

+-------------------------------------------------------------------------------
| OSCam ver: 1.20_svn rev: 11650 target: arm-vuplus4k-linux-gnueabihf
| Tools:
|  CROSS    = /home/ja2m/conclave/s3_update/support/toolchains/vuplus4k_arm/bin/arm-vuplus4k-linux-gnueabihf-
|  CC       = /home/ja2m/conclave/s3_update/support/toolchains/vuplus4k_arm/bin/arm-vuplus4k-linux-gnueabihf-gcc
| Settings:
|  CONF_DIR = /etc/tuxbox/config
|  CC_OPTS  = -O0 -ggdb -pipe -ffunction-sections -fdata-sections
|  CC_WARN  = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition
|  CFLAGS   = -DWITH_LIBCRYPTO=1 -DWITH_UTF8=1 -DWITH_UTF8
|  LDFLAGS  = -Wl,--gc-sections -DWITH_LIBCRYPTO=1 -DWITH_UTF8=1 -DWITH_UTF8
|  LIBS     = -lcrypto -lm -lpthread -ldl -lrt
|  UseFlags = USE_LIBCRYPTO=1 USE_UTF8=1
| Config:
|  Addons   : WEBIF WEBIF_LIVELOG WEBIF_JQUERY HAVE_DVBAPI WITH_DEBUG WITH_LB CS_CACHEEX CS_CACHEEX_AIO CLOCKFIX
|  Protocols: CAMD35_TCP CCCAM CCCSHARE
|  Readers  : NAGRA
|  CardRdrs : INTERNAL
|  Compiler : arm-vuplus4k-linux-gnueabihf-gcc (crosstool-NG 1.24.0.191_364ed7a) 9.3.0
|  Config   : build/arm-vuplus4k-linux-gnueabihf/config.mak
|  Binary   : /home/ja2m/conclave/s3_update/support/binaries/oscam-trunk-git26-vuplus4k_arm-webif-dvbapi-ipv4only
+-------------------------------------------------------------------------------
HOSTCC  webif/pages_gen
GEN     webif/pages.c
GEN     Compressed 436664 template bytes into 167296 bytes. 269368 saved bytes (61.69%).
CC      cscrypt/i_ecb.c
CC      cscrypt/i_cbc.c
CC      cscrypt/i_skey.c
CC      cscrypt/rc6.c
CC      cscrypt/md5.c
CC      csctapi/atr.c
CC      csctapi/icc_async.c
CC      csctapi/io_serial.c
In file included from cscrypt/../globals.h:110,
                 from cscrypt/md5.c:22:
cscrypt/../cscrypt/aes.h:2:12: fatal error: openssl/aes.h: No such file or directory
    2 | #  include <openssl/aes.h>
      |            ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:423: build/arm-vuplus4k-linux-gnueabihf/cscrypt/md5.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from csctapi/../globals.h:110,
                 from csctapi/atr.c:24:
csctapi/../cscrypt/aes.h:2:12: fatal error: openssl/aes.h: No such file or directory
    2 | #  include <openssl/aes.h>
      |            ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:423: build/arm-vuplus4k-linux-gnueabihf/csctapi/atr.o] Error 1
In file included from csctapi/../globals.h:110,
                 from csctapi/icc_async.c:1:
csctapi/../cscrypt/aes.h:2:12: fatal error: openssl/aes.h: No such file or directory
    2 | #  include <openssl/aes.h>
      |            ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:423: build/arm-vuplus4k-linux-gnueabihf/csctapi/icc_async.o] Error 1
In file included from csctapi/../globals.h:110,
                 from csctapi/io_serial.c:25:
csctapi/../cscrypt/aes.h:2:12: fatal error: openssl/aes.h: No such file or directory
    2 | #  include <openssl/aes.h>
      |            ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:423: build/arm-vuplus4k-linux-gnueabihf/csctapi/io_serial.o] Error 1
make: *** [Makefile:377: all] Error 2

We want to automate the oscam compilation and not doing via menu, we need to do via command line

Thx

gorgone commented 4 years ago

this has nothing to do with simplebuild

jungla-team commented 4 years ago

:-(