Notices


Reply
Thread Tools
Posts: 7 | Thanked: 0 times | Joined on Sep 2006
#1
I am trying to compile xmame-0.58.1. It compiles just fine, but every time I run xmame.SDL, I get the following error message:

"error: compiled byte ordering doesn't match machine byte ordering"
"are you sure you choose the right arch?"
"compiled for msb-first, are you sure you choose the right cpu in makefile.unix"

I have set the MY_CPU to both arm926 and arm, but still get the same results. I have also tried turning on and off many of the CFLAGS, and tried forcing little endian compile in gcc. I modified the makefile.unix values based on the values found in the Makefile found at http://mame770.mysticserver.com/. I've also compiled xmame-0.103 using the mysticserver 0.103 Makefile and get the same error message when I try to run it. I get the same error message when I run xmess-0.58.1.

I've gotten Frodo (Commodore 64 emulator) as well as Stella (Atari 2600 emulator) compiled for ARM and working on the 770, so I don't understand why I am having so much trouble with xMAME. All are being compiled under the same Ubuntu 5.10 environment. Any ideas? Thanks.
 
Posts: 105 | Thanked: 1 time | Joined on Feb 2006
#2
You need a response from Tak for the mame stuff as he's done it; I presume you've checked to see if tak uploaded the source to the xmame garage site. My roms (from around .100 ish) work fine in the main.

Hey tts, any chance of making your other things garage (or something) and uploading them?

Another big boost for the 770 emu scene.

Did you get input working for frodo?

Don't suppose you're thinking about a NES emu too? Apparently the best Elite version (according to bell or braben, can't remember which) is on the NES; would be good to lose some hours playing Elite.
 
Posts: 8 | Thanked: 0 times | Joined on Oct 2006
#3
Hi, I am formerly geekdoc,
I remember having the same error.
I think the deal was that you needed to have the msb or lsb flag set when you cc.
Did you look at the makefile for how I compiled?

I have been off site and out of scene for at least 6 months.

I am glad someone was able to take up where I left off
 
Posts: 8 | Thanked: 0 times | Joined on Oct 2006
#4
Furthermore, this boards spam eater killed a previous username that I tried to
post from this morning. I forgot the password for my original account.

Cheers
 
Posts: 7 | Thanked: 0 times | Joined on Sep 2006
#5
mlvj,

Yes, I checked the xmame garage site, but couldn't find the source for xmame, only for xmaeme.

I could put Frodo and Stella up on my website. I don't think they are Garage worthy since I didn't do any porting. I simply compiled them. They are not Hildonized or in .deb packages, so it would be up to the user to extract them to a folder on the 770 and run them as root. I can post the diff or patch files and some of my notes so that someone who has free time can develop them further. I wish I had more time to spend on it, but I have a 14-month old baby. Babies keep you busy.

I haven't been able to test the input for Frodo yet. I just got it compiled and it brings up the C64 startup screen. I need to get another keyboard. I bought the Think Ahead Shasta for Blackberry, but didn't realize that it wouldn't work with the 770. Actually, the keyboard works, but not reliably.

I haven't tried any NES emulators. I just saw your mention of FCE Ultra on the other thread. I downloaded that, compiled, and tried running Elite. It seems to work, but has some graphics weirdness on the bottom of the screen. I'll throw that up on my page as well.

Here are a few other things that I compiled.

Sylpheed for OS 2006. It is listed on Maemo.org as an OS 2006 work-in-progress, but appears to only be compiled for OS 2005.

Rise of the Triad running under the i386 Maemo 2.0 scratchbox environment in Xephyr, but it doesn't run on the 770. On the 770 I get a stack dump in /lib/libpthread.so.0.

Since Doom was only compiled for OS 2005, I compiled Prboom for OS 2006. It is supposed to be able to play Doom, Doom 2, Ultimate Doom, and Final Doom. I haven't tried all of them yet. It seems to run Doom quite fast, but it has some weird graphics artifacts.

tts

Last edited by tts; 2006-10-04 at 03:35.
 
Posts: 7 | Thanked: 0 times | Joined on Sep 2006
#6
geekdoc,

Yes, I used the makefile that you posted on your server to compile the 0.103 (slow) xmame. It gave me the same error message.

Here are the different ways that I have tried to compile (without success):

Tried compiling with -mcpu=arm926ej-s
Tried switching -Os to -O2
Tried compiling without -O2
Tried compiling with -fno-strict-aliasing instead of -fstrict-aliasing
Tried compiling with -O2 -mbig-endian -Wall ( fails on compile)
Tried compiling with -mlittle-endian

When I run the Unix file command on the files, I get:
xmame.SDL: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Lunix 2.4.17, dynamically linked (uses shared libs), not stripped

That looks to be correct since it is an LSB executable. I get the same message when I run file on other executables that work properly on the 770.

Do you still have the Makefile that you used for fastMAME?

tts
 
Posts: 105 | Thanked: 1 time | Joined on Feb 2006
#7
@tts - yes I know the problem. 21 months and 3 years here. Spent most of my computer hacking time for this year (i.e. time when my wife is out in the evening visiting friends!!) getting chaos strikes back going

Note that Tak looks like he's picking up FCEUltra too.
 
Posts: 8 | Thanked: 0 times | Joined on Oct 2006
#8
Yeah, somewhere give me half a bit to look for the makefile.

I am currently in travelinh and haven't unpacked my hard drives yet...
and do you blame me


Alright
 
Posts: 8 | Thanked: 0 times | Joined on Oct 2006
#9
My files are too big to post.

I will try to pm them to you, or pm me your email address.
 
Posts: 8 | Thanked: 0 times | Joined on Oct 2006
#10
So did the makefiles work? What was the issue?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:03.