SatEurope.net
Z2U.com - IPTV
CardShare.cc
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Page 3 of 4 FirstFirst 12344 LastLast
Results 21 to 30 of 38

Thread: Oscam sh4 компилация от svn

  1. #21
    VIP Member
    Join Date
    02-07-2011
    Location
    Somewhere between the Streams
    Posts
    3,913
    Uploads
    248
    Likes
    304

    Re: Oscam sh4 компилация от svn

    Не си задал PATH и си пропуснал да дадеш chmod 777 на всички файлове от компилатора (или поне на изпълнимите) . Това бъркаш, трябва да знаеш как трябва да настроиш системата си за crosscompile преди да правиш каквото и да е.
    Ето ти един прост пример от Испански сайт.
    Прегледай примерните команди това е друг начин за постигане на целта.

    Code:
    cd oscam-svn
    chmod 777 Makefile.local
    Makefile.local

    Code:
    i386-pc-linux: simplei386-pc-linux-debug: debug
    i386-pc-freebsd: simple
    hppa1.1-hp-hpux10.20: simple
    alpha-dec-osf5.1: simple
    linux: simple
    freebsd: simple
    tuxbox: cross-powerpc-tuxbox-linux
    tripledragon: cross-powerpc-405-linux
    win: cross-i386-pc-cygwin
    cygwin: i386-pc-cygwin
    macosx: macosx-native
    linux-pcsc: i386-pc-linux-pcsc
    #### CAMBIAR GOGY POR VUESTRO USUARIO DE UBUNTU Y CAMBIR CONF_DIR DONDE QUERAIS QUE OSCAM LEA LOS ARCHIVOS CONFIGURACION ###################
     
     
    cross-sh4-linux-pcsc:
        $(MAKE) --no-print-directory \
            CROSS=/home/gogy/sh4-unknown-linux-gnu/bin/sh4-unknown-linux-gnu- \
            USE_LIBUSB=1 \
                    USE_PCSC=1 \
                    EXTRA_FLAGS="-I /home/gogy/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/include/c++/4.3.2/ -I /home/gogy/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sysroot/usr/include/PCSC -L /home/gogy/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sysroot/usr/lib" \
                    CONF_DIR=/var/etc/oscam \         $(MAKEFLAGS)
    Следва компилацията

    Code:
    make cross-sh4-linux-pcsc

  2. SatEurope.net
  3. #22
    Member
    Join Date
    03-07-2012
    Posts
    96
    Uploads
    1
    Likes
    0

    Re: Oscam sh4 компилация от svn

    Code:
    cd oscam-svn
    chmod 777 Makefile.extra
    Това изпълних, тъй като нямах файл Makefile.local, като горният съдържаше аналогични данни, макар че бях с админски права от конзолата, нямаше смосъл да правя 777 права. Също така му зададох и права, дори на цялата папка oscam-svn. Компилацията ми изпищя с 2 грешки, същите като в по-предишният ми пост. Всъщност, защо да не съм задал коректно пътя, по подразбиране експорта е зададен, ако искам мога да го сменя, но само да пиша безмислени команди ми се струва излишно. Да не би да е счупен оскама, който съм изтеглил?

  4. #23
    VIP Member
    Join Date
    02-07-2011
    Location
    Somewhere between the Streams
    Posts
    3,913
    Uploads
    248
    Likes
    304

    Re: Oscam sh4 компилация от svn

    Правата нямат нищо общо с потребителя ако искаш нещо да е изпълним файл трябва да кажеш на системата че е такъв само права са нужни за cross компилатора.
    Относно файла при условие, че съм споменал използвай него не е случаен.
    Каква ти е линукс дистрибуцията 64 или 32 битова ?

    Относно твоята платформа виж какво пишат в streamboard както писа и другият колега.

    Code:
    TDT Tuxbox Toolchain, built on Ubuntu 10.4 with alborland´s easybuild script. For better supported toolchain you should install stlinux.

  5. #24
    Member
    Join Date
    03-07-2012
    Posts
    96
    Uploads
    1
    Likes
    0

    Re: Oscam sh4 компилация от svn

    Fedora 20, 64-битова, е дистрибуцията, файл Makefile.local изобщо не съществува в изтегляния Оскам.
    ПП: Прикачил съм и оскама, с който разполагам.
    Attached Files Attached Files

  6. #25
    VIP Member
    Join Date
    02-07-2011
    Location
    Somewhere between the Streams
    Posts
    3,913
    Uploads
    248
    Likes
    304

    Re: Oscam sh4 компилация от svn

    Щом не съществува значи трябва да се създаде. За crosscompilation ти трябва 32 битова операционна система или инсталирани 32 битови библиотеки. Провери твоят sh4 колко бита е все пак, но за arm ми се наложи да ги инсталирам защото даваше грешка за glibc ти нямаш такава, но все пак.

  7. #26
    Member
    Join Date
    03-07-2012
    Posts
    96
    Uploads
    1
    Likes
    0

    Re: Oscam sh4 компилация от svn

    Инсталирах си въпросната библиотека и още други библиотеки:
    Code:
    yum install isdn4k-utils.i686 cups-libs.i686 dbus-libs.i686  fontconfig.i686 mesa-libGLU.i686 gnutls.i686 libgphoto2.i686 gsm.i686  libjpeg-turbo.i686 openldap.i686 lcms-libs.i686 libmpg123.i686  openal-soft.i686 libpng.i686 sane-backends-libs.i686 libv4l.i686  libXcomposite.i686 libXcursor.i686 libXinerama.i686 libxml2.i686  libxslt.i686 openssl-libs.i686 nss-mdns.i686 libgcc.i686 libXext.i686  freetype.i686 glibc.i686 zlib.i386
    Само че грешката е същата, как да създам този Makefile.local и какво да съдържа?

  8. #27
    VIP Member
    Join Date
    02-07-2011
    Location
    Somewhere between the Streams
    Posts
    3,913
    Uploads
    248
    Likes
    304

    Re: Oscam sh4 компилация от svn

    Целият съм ти го копирал, теб те интересува часта след коментарите, промени примера спрямо нуждите си.
    Ето ти линк към компилатора който използва колегата http://www.mediafire.com/?4xcrkk9xuu1oaum операционната му система е Ubuntu.
    Прикачил съм ти и файла, ако не се оправиш от тук нататък залягай на четенето или сваляй готов oscam.

    Ето ти и снимка от неговите настройки.




    Attached Files Attached Files

  9. #28
    Member
    Join Date
    03-07-2012
    Posts
    96
    Uploads
    1
    Likes
    0

    Re: Oscam sh4 компилация от svn

    Code:
    [root@localhost oscam-svn]# make cross-sh4-linux-pcscmake --no-print-directory \
        CROSS=/home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/sh4-linux- \
        USE_LIBUSB=1 \
                    USE_PCSC=1 \
                    EXTRA_FLAGS="-I /home/rotation/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/include/c++/4.3.2/ -I /home/rotation/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sysroot/usr/include/PCSC -L /home/rotation/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sysroot/usr/lib" \
                    CONF_DIR=/usr/local/etc \
        
    +-------------------------------------------------------------------------------
    | OSCam ver: 1.20-unstable_svn rev: 10642 target: sh4-linux-libusb-pcsc
    | Tools:
    |  CROSS    = /home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/sh4-linux-
    |  CC       = /home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/sh4-linux-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   = -DWITH_LIBUSB=1 -DWITH_PCSC=1 -I/home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/../lib/gcc/sh4-linux/4.1.1/../../../../sh4-linux/include/PCSC -I/home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/../lib/gcc/sh4-linux/4.1.1/../../../../sh4-linux/include/../local/include/PCSC -I /home/rotation/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/include/c++/4.3.2/ -I /home/rotation/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sysroot/usr/include/PCSC -L /home/rotation/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sysroot/usr/lib
    |  LDFLAGS  = -Wl,--gc-sections -DWITH_LIBUSB=1 -DWITH_PCSC=1 -I/home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/../lib/gcc/sh4-linux/4.1.1/../../../../sh4-linux/include/PCSC -I/home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/../lib/gcc/sh4-linux/4.1.1/../../../../sh4-linux/include/../local/include/PCSC -I /home/rotation/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/include/c++/4.3.2/ -I /home/rotation/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sysroot/usr/include/PCSC -L /home/rotation/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sysroot/usr/lib
    |  LIBS     = -lusb-1.0 -lrt -lpcsclite -lpthread -ldl -lrt
    |  UseFlags = USE_LIBUSB=1 USE_PCSC=1
    | Config:
    |  Addons   : WEBIF WEBIF_LIVELOG WEBIF_JQUERY TOUCH HAVE_DVBAPI IRDETO_GUESSING CS_ANTICASC WITH_DEBUG MODULE_MONITOR WITH_LB CS_CACHEEX CW_CYCLE_CHECK CLOCKFIX
    |  Protocols: CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST SCAM SERIAL CONSTCW PANDORA GHTTP
    |  Readers  : NAGRA IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG BULCRYPT GRIFFIN DGCRYPT
    |  CardRdrs : PHOENIX INTERNAL SC8IN1 MP35 SMARGO DB2COM STAPI STINGER SMART PCSC
    |  Compiler : sh4-linux-gcc (GCC) 4.1.1 (STMicroelectronics/Linux Base 4.1.1-23)
    |  Config   : build/sh4-linux-libusb-pcsc/config.mak
    |  Binary   : Distribution/oscam-1.20-unstable_svn10642-sh4-linux-libusb-pcsc
    +-------------------------------------------------------------------------------
    CC    cscrypt/aes.c
    In file included from cscrypt/aes.c:1:
    cscrypt/aes.h:18:20: error: stdint.h: No such file or directory
    In file included from cscrypt/aes.c:1:
    cscrypt/aes.h:30: error: expected specifier-qualifier-list before ‘uint32_t’
    cscrypt/aes.c:5:20: error: assert.h: No such file or directory
    cscrypt/aes.c:6:20: error: stdlib.h: No such file or directory
    cscrypt/aes.c:7:20: error: string.h: No such file or directory
    cscrypt/aes.c:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Te0’
    cscrypt/aes.c:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Te1’
    cscrypt/aes.c:144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Te2’
    cscrypt/aes.c:211: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Te3’
    cscrypt/aes.c:279: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Te4’
    cscrypt/aes.c:346: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Td0’
    cscrypt/aes.c:413: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Td1’
    cscrypt/aes.c:480: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Td2’
    cscrypt/aes.c:548: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Td3’
    cscrypt/aes.c:615: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Td4’
    cscrypt/aes.c:682: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rcon’
    cscrypt/aes.c: In function ‘AES_set_encrypt_key’:
    cscrypt/aes.c:696: error: ‘uint32_t’ undeclared (first use in this function)
    cscrypt/aes.c:696: error: (Each undeclared identifier is reported only once
    cscrypt/aes.c:696: error: for each function it appears in.)
    cscrypt/aes.c:696: error: ‘rk’ undeclared (first use in this function)
    cscrypt/aes.c:698: error: expected ‘;’ before ‘temp’
    cscrypt/aes.c:705: error: ‘AES_KEY’ has no member named ‘rd_key’
    cscrypt/aes.c:708: error: ‘AES_KEY’ has no member named ‘rounds’
    cscrypt/aes.c:710: error: ‘AES_KEY’ has no member named ‘rounds’
    cscrypt/aes.c:712: error: ‘AES_KEY’ has no member named ‘rounds’
    cscrypt/aes.c:722: error: ‘temp’ undeclared (first use in this function)
    cscrypt/aes.c:724: error: ‘Te4’ undeclared (first use in this function)
    cscrypt/aes.c:728: error: ‘rcon’ undeclared (first use in this function)
    cscrypt/aes.c: In function ‘AES_set_decrypt_key’:
    cscrypt/aes.c:807: error: ‘uint32_t’ undeclared (first use in this function)
    cscrypt/aes.c:807: error: ‘rk’ undeclared (first use in this function)
    cscrypt/aes.c:809: error: expected ‘;’ before ‘temp’
    cscrypt/aes.c:816: error: ‘AES_KEY’ has no member named ‘rd_key’
    cscrypt/aes.c:819: error: ‘AES_KEY’ has no member named ‘rounds’
    cscrypt/aes.c:821: error: ‘temp’ undeclared (first use in this function)
    cscrypt/aes.c:835: error: ‘AES_KEY’ has no member named ‘rounds’
    cscrypt/aes.c:839: error: ‘Td0’ undeclared (first use in this function)
    cscrypt/aes.c:839: error: ‘Te4’ undeclared (first use in this function)
    cscrypt/aes.c:840: error: ‘Td1’ undeclared (first use in this function)
    cscrypt/aes.c:841: error: ‘Td2’ undeclared (first use in this function)
    cscrypt/aes.c:842: error: ‘Td3’ undeclared (first use in this function)
    cscrypt/aes.c: In function ‘AES_encrypt’:
    cscrypt/aes.c:870: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    cscrypt/aes.c:870: error: ‘rk’ undeclared (first use in this function)
    cscrypt/aes.c:871: error: ‘uint32_t’ undeclared (first use in this function)
    cscrypt/aes.c:876: warning: implicit declaration of function ‘assert’
    cscrypt/aes.c:877: error: ‘AES_KEY’ has no member named ‘rd_key’
    cscrypt/aes.c:883: error: ‘s0’ undeclared (first use in this function)
    cscrypt/aes.c:884: error: ‘s1’ undeclared (first use in this function)
    cscrypt/aes.c:885: error: ‘s2’ undeclared (first use in this function)
    cscrypt/aes.c:886: error: ‘s3’ undeclared (first use in this function)
    cscrypt/aes.c:964: error: ‘AES_KEY’ has no member named ‘rounds’
    cscrypt/aes.c:967: error: ‘t0’ undeclared (first use in this function)
    cscrypt/aes.c:968: error: ‘Te0’ undeclared (first use in this function)
    cscrypt/aes.c:969: error: ‘Te1’ undeclared (first use in this function)
    cscrypt/aes.c:970: error: ‘Te2’ undeclared (first use in this function)
    cscrypt/aes.c:971: error: ‘Te3’ undeclared (first use in this function)
    cscrypt/aes.c:973: error: ‘t1’ undeclared (first use in this function)
    cscrypt/aes.c:979: error: ‘t2’ undeclared (first use in this function)
    cscrypt/aes.c:985: error: ‘t3’ undeclared (first use in this function)
    cscrypt/aes.c:1029: error: ‘Te4’ undeclared (first use in this function)
    cscrypt/aes.c:1034: error: ‘uint8_t’ undeclared (first use in this function)
    cscrypt/aes.c: In function ‘AES_decrypt’:
    cscrypt/aes.c:1066: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    cscrypt/aes.c:1066: error: ‘rk’ undeclared (first use in this function)
    cscrypt/aes.c:1067: error: ‘uint32_t’ undeclared (first use in this function)
    cscrypt/aes.c:1073: error: ‘AES_KEY’ has no member named ‘rd_key’
    cscrypt/aes.c:1079: error: ‘s0’ undeclared (first use in this function)
    cscrypt/aes.c:1080: error: ‘s1’ undeclared (first use in this function)
    cscrypt/aes.c:1081: error: ‘s2’ undeclared (first use in this function)
    cscrypt/aes.c:1082: error: ‘s3’ undeclared (first use in this function)
    cscrypt/aes.c:1160: error: ‘AES_KEY’ has no member named ‘rounds’
    cscrypt/aes.c:1163: error: ‘t0’ undeclared (first use in this function)
    cscrypt/aes.c:1164: error: ‘Td0’ undeclared (first use in this function)
    cscrypt/aes.c:1165: error: ‘Td1’ undeclared (first use in this function)
    cscrypt/aes.c:1166: error: ‘Td2’ undeclared (first use in this function)
    cscrypt/aes.c:1167: error: ‘Td3’ undeclared (first use in this function)
    cscrypt/aes.c:1169: error: ‘t1’ undeclared (first use in this function)
    cscrypt/aes.c:1175: error: ‘t2’ undeclared (first use in this function)
    cscrypt/aes.c:1181: error: ‘t3’ undeclared (first use in this function)
    cscrypt/aes.c:1225: error: ‘Td4’ undeclared (first use in this function)
    cscrypt/aes.c:1230: error: ‘uint8_t’ undeclared (first use in this function)
    make[2]: *** [build/sh4-linux-libusb-pcsc/cscrypt/aes.o] Error 1
    make[1]: *** [all] Error 2
    make: *** [cross-sh4-linux-pcsc] Error 2
    [root@localhost oscam-svn]# make CROSS=/home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/sh4-linux-
    +-------------------------------------------------------------------------------
    | OSCam ver: 1.20-unstable_svn rev: 10642 target: sh4-linux
    | Tools:
    |  CROSS    = /home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/sh4-linux-
    |  CC       = /home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/sh4-linux-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   = 
    |  LDFLAGS  = -Wl,--gc-sections
    |  LIBS     = -lpthread -ldl -lrt
    |  UseFlags = 
    | Config:
    |  Addons   : WEBIF WEBIF_LIVELOG WEBIF_JQUERY TOUCH HAVE_DVBAPI IRDETO_GUESSING CS_ANTICASC WITH_DEBUG MODULE_MONITOR WITH_LB CS_CACHEEX CW_CYCLE_CHECK CLOCKFIX
    |  Protocols: CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST SCAM SERIAL CONSTCW PANDORA GHTTP
    |  Readers  : NAGRA IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG BULCRYPT GRIFFIN DGCRYPT
    |  CardRdrs : PHOENIX INTERNAL SC8IN1 MP35 SMARGO DB2COM STAPI STINGER
    |  Compiler : sh4-linux-gcc (GCC) 4.1.1 (STMicroelectronics/Linux Base 4.1.1-23)
    |  Config   : build/sh4-linux/config.mak
    |  Binary   : Distribution/oscam-1.20-unstable_svn10642-sh4-linux
    +-------------------------------------------------------------------------------
    CC    cscrypt/aes.c
    In file included from cscrypt/aes.c:1:
    cscrypt/aes.h:18:20: error: stdint.h: No such file or directory
    In file included from cscrypt/aes.c:1:
    cscrypt/aes.h:30: error: expected specifier-qualifier-list before ‘uint32_t’
    cscrypt/aes.c:5:20: error: assert.h: No such file or directory
    cscrypt/aes.c:6:20: error: stdlib.h: No such file or directory
    cscrypt/aes.c:7:20: error: string.h: No such file or directory
    cscrypt/aes.c:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Te0’
    cscrypt/aes.c:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Te1’
    cscrypt/aes.c:144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Te2’
    cscrypt/aes.c:211: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Te3’
    cscrypt/aes.c:279: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Te4’
    cscrypt/aes.c:346: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Td0’
    cscrypt/aes.c:413: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Td1’
    cscrypt/aes.c:480: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Td2’
    cscrypt/aes.c:548: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Td3’
    cscrypt/aes.c:615: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Td4’
    cscrypt/aes.c:682: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rcon’
    cscrypt/aes.c: In function ‘AES_set_encrypt_key’:
    cscrypt/aes.c:696: error: ‘uint32_t’ undeclared (first use in this function)
    cscrypt/aes.c:696: error: (Each undeclared identifier is reported only once
    cscrypt/aes.c:696: error: for each function it appears in.)
    cscrypt/aes.c:696: error: ‘rk’ undeclared (first use in this function)
    cscrypt/aes.c:698: error: expected ‘;’ before ‘temp’
    cscrypt/aes.c:705: error: ‘AES_KEY’ has no member named ‘rd_key’
    cscrypt/aes.c:708: error: ‘AES_KEY’ has no member named ‘rounds’
    cscrypt/aes.c:710: error: ‘AES_KEY’ has no member named ‘rounds’
    cscrypt/aes.c:712: error: ‘AES_KEY’ has no member named ‘rounds’
    cscrypt/aes.c:722: error: ‘temp’ undeclared (first use in this function)
    cscrypt/aes.c:724: error: ‘Te4’ undeclared (first use in this function)
    cscrypt/aes.c:728: error: ‘rcon’ undeclared (first use in this function)
    cscrypt/aes.c: In function ‘AES_set_decrypt_key’:
    cscrypt/aes.c:807: error: ‘uint32_t’ undeclared (first use in this function)
    cscrypt/aes.c:807: error: ‘rk’ undeclared (first use in this function)
    cscrypt/aes.c:809: error: expected ‘;’ before ‘temp’
    cscrypt/aes.c:816: error: ‘AES_KEY’ has no member named ‘rd_key’
    cscrypt/aes.c:819: error: ‘AES_KEY’ has no member named ‘rounds’
    cscrypt/aes.c:821: error: ‘temp’ undeclared (first use in this function)
    cscrypt/aes.c:835: error: ‘AES_KEY’ has no member named ‘rounds’
    cscrypt/aes.c:839: error: ‘Td0’ undeclared (first use in this function)
    cscrypt/aes.c:839: error: ‘Te4’ undeclared (first use in this function)
    cscrypt/aes.c:840: error: ‘Td1’ undeclared (first use in this function)
    cscrypt/aes.c:841: error: ‘Td2’ undeclared (first use in this function)
    cscrypt/aes.c:842: error: ‘Td3’ undeclared (first use in this function)
    cscrypt/aes.c: In function ‘AES_encrypt’:
    cscrypt/aes.c:870: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    cscrypt/aes.c:870: error: ‘rk’ undeclared (first use in this function)
    cscrypt/aes.c:871: error: ‘uint32_t’ undeclared (first use in this function)
    cscrypt/aes.c:876: warning: implicit declaration of function ‘assert’
    cscrypt/aes.c:877: error: ‘AES_KEY’ has no member named ‘rd_key’
    cscrypt/aes.c:883: error: ‘s0’ undeclared (first use in this function)
    cscrypt/aes.c:884: error: ‘s1’ undeclared (first use in this function)
    cscrypt/aes.c:885: error: ‘s2’ undeclared (first use in this function)
    cscrypt/aes.c:886: error: ‘s3’ undeclared (first use in this function)
    cscrypt/aes.c:964: error: ‘AES_KEY’ has no member named ‘rounds’
    cscrypt/aes.c:967: error: ‘t0’ undeclared (first use in this function)
    cscrypt/aes.c:968: error: ‘Te0’ undeclared (first use in this function)
    cscrypt/aes.c:969: error: ‘Te1’ undeclared (first use in this function)
    cscrypt/aes.c:970: error: ‘Te2’ undeclared (first use in this function)
    cscrypt/aes.c:971: error: ‘Te3’ undeclared (first use in this function)
    cscrypt/aes.c:973: error: ‘t1’ undeclared (first use in this function)
    cscrypt/aes.c:979: error: ‘t2’ undeclared (first use in this function)
    cscrypt/aes.c:985: error: ‘t3’ undeclared (first use in this function)
    cscrypt/aes.c:1029: error: ‘Te4’ undeclared (first use in this function)
    cscrypt/aes.c:1034: error: ‘uint8_t’ undeclared (first use in this function)
    cscrypt/aes.c: In function ‘AES_decrypt’:
    cscrypt/aes.c:1066: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    cscrypt/aes.c:1066: error: ‘rk’ undeclared (first use in this function)
    cscrypt/aes.c:1067: error: ‘uint32_t’ undeclared (first use in this function)
    cscrypt/aes.c:1073: error: ‘AES_KEY’ has no member named ‘rd_key’
    cscrypt/aes.c:1079: error: ‘s0’ undeclared (first use in this function)
    cscrypt/aes.c:1080: error: ‘s1’ undeclared (first use in this function)
    cscrypt/aes.c:1081: error: ‘s2’ undeclared (first use in this function)
    cscrypt/aes.c:1082: error: ‘s3’ undeclared (first use in this function)
    cscrypt/aes.c:1160: error: ‘AES_KEY’ has no member named ‘rounds’
    cscrypt/aes.c:1163: error: ‘t0’ undeclared (first use in this function)
    cscrypt/aes.c:1164: error: ‘Td0’ undeclared (first use in this function)
    cscrypt/aes.c:1165: error: ‘Td1’ undeclared (first use in this function)
    cscrypt/aes.c:1166: error: ‘Td2’ undeclared (first use in this function)
    cscrypt/aes.c:1167: error: ‘Td3’ undeclared (first use in this function)
    cscrypt/aes.c:1169: error: ‘t1’ undeclared (first use in this function)
    cscrypt/aes.c:1175: error: ‘t2’ undeclared (first use in this function)
    cscrypt/aes.c:1181: error: ‘t3’ undeclared (first use in this function)
    cscrypt/aes.c:1225: error: ‘Td4’ undeclared (first use in this function)
    cscrypt/aes.c:1230: error: ‘uint8_t’ undeclared (first use in this function)
    make[1]: *** [build/sh4-linux/cscrypt/aes.o] Error 1
    make: *** [all] Error 2
    За мен оскама, който компилирам, е счупен или нещо не правя като хората.
    Makefile.local
    Code:
    i386-pc-linux: simple
    i386-pc-linux-debug: debug
    i386-pc-freebsd: simple
    hppa1.1-hp-hpux10.20: simple
    alpha-dec-osf5.1: simple
    linux: simple
    freebsd: simple
    tuxbox: cross-powerpc-tuxbox-linux
    tripledragon: cross-powerpc-405-linux
    win: cross-i386-pc-cygwin
    cygwin: i386-pc-cygwin
    macosx: macosx-native
    linux-pcsc: i386-pc-linux-pcsc
    #### CAMBIAR GOGY POR VUESTRO USUARIO DE UBUNTU Y CAMBIR CONF_DIR DONDE QUERAIS QUE OSCAM LEA LOS ARCHIVOS CONFIGURACION ###################
    
    cross-sh4-linux-pcsc:
        $(MAKE) --no-print-directory \
            CROSS=/home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/sh4-linux- \
            USE_LIBUSB=1 \
                    USE_PCSC=1 \
                    EXTRA_FLAGS="-I /home/rotation/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/include/c++/4.3.2/ -I /home/rotation/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sysroot/usr/include/PCSC -L /home/rotation/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sysroot/usr/lib" \
                    CONF_DIR=/usr/local/etc \
            $(MAKEFLAGS)

  10. #29
    Senior Member
    Join Date
    30-06-2010
    Posts
    151
    Uploads
    3
    Likes
    2

    Re: Oscam sh4 компилация от svn

    Я пробвай с тази команда:

    make cross-sh4-linux-pcsc CROSS_DIR=/home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/

  11. Z2U.com - IPTV
  12. #30
    Member
    Join Date
    03-07-2012
    Posts
    96
    Uploads
    1
    Likes
    0

    Re: Oscam sh4 компилация от svn

    Всъщност защо ми показва това:

    [rotation@localhost ~]$ cd /usr/src/oscam-svn
    [rotation@localhost oscam-svn]$ make CROSS=/home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/sh4-linux-
    +-------------------------------------------------------------------------------
    | OSCam ver: 1.20-unstable_svn rev: 10642 target: sh4-linux
    | Tools:
    | CROSS = /home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/sh4-linux-
    | CC = /home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/sh4-linux-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 =
    | LDFLAGS = -Wl,--gc-sections
    | LIBS = -lpthread -ldl -lrt
    | UseFlags =
    | Config:
    | Addons : WEBIF WEBIF_LIVELOG WEBIF_JQUERY TOUCH HAVE_DVBAPI IRDETO_GUESSING CS_ANTICASC WITH_DEBUG MODULE_MONITOR WITH_LB CS_CACHEEX CW_CYCLE_CHECK CLOCKFIX
    | Protocols: CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST SCAM SERIAL CONSTCW PANDORA GHTTP
    | Readers : NAGRA IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG BULCRYPT GRIFFIN DGCRYPT
    | CardRdrs : PHOENIX INTERNAL SC8IN1 MP35 SMARGO DB2COM STAPI STINGER
    | Compiler : sh4-linux-gcc (GCC) 4.1.1 (STMicroelectronics/Linux Base 4.1.1-23)
    | Config : build/sh4-linux/config.mak
    | Binary : Distribution/oscam-1.20-unstable_svn10642-sh4-linux
    +-------------------------------------------------------------------------------
    CC cscrypt/aes.c
    In file included from cscrypt/aes.c:1:
    cscrypt/aes.h:18:20: error: stdint.h: No such file or directory
    In file included from cscrypt/aes.c:1:
    cscrypt/aes.h:30: error: expected specifier-qualifier-list before ‘uint32_t’
    cscrypt/aes.c:5:20: error: assert.h: No such file or directory
    cscrypt/aes.c:6:20: error: stdlib.h: No such file or directory
    cscrypt/aes.c:7:20: error: string.h: No such file or directory
    ........................................ ..............
    make[1]: *** [build/sh4-linux/cscrypt/aes.o] Error 1
    make: *** [all] Error 2
    [rotation@localhost oscam-svn]$

    Къде си търси хедър файловете този оскам, след като ги копирах ръчно в /usr/src/oscam-svn/cscrypt ?
    Показва че изобщо не съществуват.

Page 3 of 4 FirstFirst 12344 LastLast

Similar Threads

  1. Replies: 149
    Last Post: 09-08-2020, 20:21:31
  2. Replies: 2
    Last Post: 20-06-2012, 21:05:24
  3. Replies: 0
    Last Post: 30-08-2011, 16:22:03
  4. Кокс сообщений для запуска одиннадцать н
    By erdoganeng in forum Russian / Русский
    Replies: 0
    Last Post: 30-11-2008, 06:30:13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •