Moderator Control Panel ]

compile OSEmu

compile OSEmu

Postby coldi » Tue Feb 23, 2016 9:02 pm

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?
coldi
 
Posts: 6
Joined: Fri Sep 04, 2015 4:20 am

Re: compile OSEmu

Postby costan » Fri Mar 04, 2016 1:56 am

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.
costan
 
Posts: 66
Joined: Sat Feb 21, 2015 8:30 am


Return to MOI+

Who is online

Users browsing this forum: No registered users and 3 guests

cron