Page 1 of 1

Cannot execute binary file

Posted: 09 Apr 2011, 16:02
by dumbo
Hi,

I have problem when I try to run CCcam on my B3. I get the following message:

bash: /emu/cccam/CCcam.x86: cannot execute binary file

I have tried the version that are compiled for arm too (armeb). I have read about people how have run CCcam on a Debian squeeze distrubution so I think it should work.

Which compilation works on B3? Anything else I need to do?

BR,
Micke

Re: Cannot execute binary file

Posted: 09 Apr 2011, 17:04
by Cheeseboy
Hi Micke,
Anything else I need to do?
You could start by telling us exactly what you are trying to install.
I have never heard of this software, and a google search gives more than one answer.

If (whatever it is) offers the source code you could probably compile it yourself for the B3.
The x86 distribution will never work as you have already discovered...

Best regards,

Cheeseboy

Re: Cannot execute binary file

Posted: 10 Apr 2011, 03:31
by Ubi
what's this /emu dir anyway?

Re: Cannot execute binary file

Posted: 10 Apr 2011, 08:30
by pcrene
Hello All,

CCcam is a program to read cards for satellite or cable TV watching. Aslo used for cardsharing what is illegal.

Btw: the extension of the file is x86 so i think it is not for our processor.

Rene

PS: Its all in the name!!!

Re: Cannot execute binary file

Posted: 10 Apr 2011, 14:55
by dumbo
Yes, it's correct that it's a software emulator for reading cards for satellite or cable TV watching. But it's not illegal if you only use it in your househeld.

I have created a folder /emu/cccam where have placed the binary and config file. I have made the files executable with chmod 755.

There are som differnt binary with extensions:

.x86
.armeb
.armeb.eabi
.mipsel
.ppc

Would any of this format works on B3? I haven't find any source so I can't compile it.

Re: Cannot execute binary file

Posted: 10 Apr 2011, 15:39
by Ubi
well, as you already stated you tried them all (and if not, trying those 5 files takes less time than that forum post), I guess you know the anwer!

Re: Cannot execute binary file

Posted: 10 Apr 2011, 17:10
by pcrene
Hello Dumbo,

If you have got it running ...let me know.

I use CCcam internally here too.. DM800HD and AzboxHD+

Rene

Re: Cannot execute binary file

Posted: 11 Apr 2011, 04:35
by dumbo
Ubi wrote:well, as you already stated you tried them all (and if not, trying those 5 files takes less time than that forum post), I guess you know the anwer!
But I wonder if anyone know if someone of the format I listed is possible to run on the B3 or if I am doing something wrong?

Because it's an ARM processor in the B3 I think it's the .armeb version that maybe should work. I know that it's possible to compile for ARM on two different ways (little endian or big endian).

I have run CCcam on an NSLU2 before.

Re: Cannot execute binary file

Posted: 12 Apr 2011, 03:49
by kjellberg
dumbo wrote: There are som differnt binary with extensions:

.x86
.armeb
.armeb.eabi
.mipsel
.ppc
Unfortunately I don't know the exact architecture of the B3, but I can clear out the extensions above:

x86 = Yes, its the good old x86 ;)
armeb = ARM EABI Big-endian
armel = ARM EABI Little-endian (not in the list, but as opposite to the armeb)
mipsel = MIPS with Little-endian
ppc = Power PC (older MAC and stuff)

EABI = Embedded Application Binary Interface, most commonly for PowerPC and ARM architecture

I get a bit confused here because of the armeb and armeb.eabi, but I guess my list is not perfect and the armeb does not have EABI, but armeb.eabi does. Anyone knows?

Can anyone fill out which architecture the B3 uses?

/Kjellberg

Re: Cannot execute binary file

Posted: 12 Apr 2011, 15:30
by Ubi
eabi does *not* mean little endian. armeb.eabi means "arm, ENDIAN-BIG, eabi". And Bubba is clearly not MIPS or PPC either.

Re: Cannot execute binary file

Posted: 12 Apr 2011, 17:21
by Cheeseboy
I made another foray on the web for the source of this illusive software, and the more I see about the places that claim to offer the source (but does not), the more I feel I have to discourage it's use.

How can you even consider to install some piece of code on your machine that is written by someone who doesn't own up to it and lets you know the source?

It is very dodgy, stay well away.

Re: Cannot execute binary file

Posted: 12 Apr 2011, 17:30
by Ubi
There is "a" source claiming to be for cccam available on a few places (e.g. http://www.cardsharing-x.com/cccam-tuto ... -code.html). But this looks incomplete and untrustworthy.

Re: Cannot execute binary file

Posted: 13 Apr 2011, 02:33
by kjellberg
The interesting part is that the CCcam software is used in commersial product since years back. A relative of mine has got a Dreambox (MIPS-based) that uses the CCcam software and it works just fine there.
But derevatives for otherwise unsupported architectures should offcouse be examined before hapily installed... :!:

[Solved] Re: Cannot execute binary file

Posted: 03 May 2011, 03:54
by dumbo
I decide to use OSCAM instead and to that software it's possible to get the sourcecode and compile it by your self. I have run it now for a couple of week and it seems to work fine.