Page 1 of 1

compile OSEmu

PostPosted: Tue Feb 23, 2016 9:02 pm
by coldi
Can someone help me to compile OSEmu?

i need to crosscompile OSEmu because i'm trying to get PowerVU to work

first i installed the crosscompile tools

then i copied OSEmu from the SVN:
Code: Select All Code
svn checkout https://github.com/oscam-emu/OSEmu/trunk /opt/OSEmu


i added the following settings inside the Makefile:
Code: Select All Code
CC ?= /opt/cross/bin/arm-mv5sft-linux-gnueabi-gcc
STRIP ?= /opt/cross/bin/arm-mv5sft-linux-gnueabi-strip


for some reason it does not compile :(
Code: Select All Code
root@debian:/opt/OSEmu# make
CC   cscrypt/bn_ctx.c
CC   cscrypt/bn_lib.c
CC   cscrypt/bn_exp.c
CC   cscrypt/bn_sqr.c
CC   cscrypt/bn_div.c
CC   cscrypt/bn_asm.c
CC   cscrypt/bn_shift.c
CC   cscrypt/bn_word.c
CC   cscrypt/bn_add.c
CC   cscrypt/bn_mul.c
CC   cscrypt/aes.c
CC   cscrypt/i_cbc.c
CC   cscrypt/i_ecb.c
CC   cscrypt/i_skey.c
CC   cscrypt/mem.c
CC   cscrypt/des.c
CC   cscrypt/md5.c
CC   cscrypt/viades.c
CC   ffdecsa/ffdecsa.c
CC   module-emulator-st20.c
CC   module-emulator-dre2overcrypt.c
CC   via3surenc.c
CC   helpfunctions.c
CC   module-emulator-stream.c
CC   module-emulator-osemu.c
CC   OSEmu.c
touch SoftCam.Key
/opt/cross/bin/arm-mv5sft-linux-gnueabi-strip OSEmu
/opt/cross/bin/arm-mv5sft-linux-gnueabi-strip:OSEmu: File format not recognized
Makefile:47: recipe for target 'OSEmu' failed
make: *** [OSEmu] Error 1
root@debian:/opt/OSEmu#


can someone help me?

Re: compile OSEmu

PostPosted: Fri Mar 04, 2016 1:56 am
by costan
coldi Wrote:Can someone help me to compile OSEmu?

i need to crosscompile OSEmu because i'm trying to get PowerVU to work

first i installed the crosscompile tools

then i copied OSEmu from the SVN:
Code: Select All Code
svn checkout https://github.com/oscam-emu/OSEmu/trunk /opt/OSEmu


i added the following settings inside the Makefile:
Code: Select All Code
CC ?= /opt/cross/bin/arm-mv5sft-linux-gnueabi-gcc
STRIP ?= /opt/cross/bin/arm-mv5sft-linux-gnueabi-strip


for some reason it does not compile :(
Code: Select All Code
root@debian:/opt/OSEmu# make
CC   cscrypt/bn_ctx.c
CC   cscrypt/bn_lib.c
CC   cscrypt/bn_exp.c
CC   cscrypt/bn_sqr.c
CC   cscrypt/bn_div.c
CC   cscrypt/bn_asm.c
CC   cscrypt/bn_shift.c
CC   cscrypt/bn_word.c
CC   cscrypt/bn_add.c
CC   cscrypt/bn_mul.c
CC   cscrypt/aes.c
CC   cscrypt/i_cbc.c
CC   cscrypt/i_ecb.c
CC   cscrypt/i_skey.c
CC   cscrypt/mem.c
CC   cscrypt/des.c
CC   cscrypt/md5.c
CC   cscrypt/viades.c
CC   ffdecsa/ffdecsa.c
CC   module-emulator-st20.c
CC   module-emulator-dre2overcrypt.c
CC   via3surenc.c
CC   helpfunctions.c
CC   module-emulator-stream.c
CC   module-emulator-osemu.c
CC   OSEmu.c
touch SoftCam.Key
/opt/cross/bin/arm-mv5sft-linux-gnueabi-strip OSEmu
/opt/cross/bin/arm-mv5sft-linux-gnueabi-strip:OSEmu: File format not recognized
Makefile:47: recipe for target 'OSEmu' failed
make: *** [OSEmu] Error 1
root@debian:/opt/OSEmu#


can someone help me?




Just open the makefile and remove the strip part. It's needed just to remove the unused objects from the executable, but it should work nonetheless.