Code:
[rotation@localhost ~]$ cd /usr/src
[rotation@localhost src]$ cd oscam-svn
[rotation@localhost oscam-svn]$ make CROSS=/home/rotation/Downloads/devkit_sh4/tdt/tdt/tufsbox/devkit/sh4/bin/sh4-linux-
./config.sh: line 365: build/sh4-linux/config.mak: No such file or directory
./config.sh: line 366: build/sh4-linux/config.c: No such file or directory
mkdir: cannot create directory ‘build/sh4-linux’: Permission denied
mkdir: cannot create directory ‘build/sh4-linux’: Permission denied
mkdir: cannot create directory ‘build/sh4-linux’: Permission denied
mkdir: cannot create directory ‘build/sh4-linux’: Permission denied
make: [all] Error 1 (ignored)
+-------------------------------------------------------------------------------
| 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
+-------------------------------------------------------------------------------
cc1: fatal error: opening output file build/sh4-linux/cscrypt/md5.d: No such file or directory
compilation terminated.
make[1]: *** [build/sh4-linux/cscrypt/md5.o] Error 1
make: *** [all] Error 2
[rotation@localhost oscam-svn]$ su root
502Password:
su: Authentication failure
[rotation@localhost oscam-svn]$ su root
Password:
[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
[root@localhost oscam-svn]#
Не правя нещо като хората или не съм си изтеглил правилният компилатор?