Page 11 of 22 < 1 2 ... 9 10 11 12 13 ... 21 22 >
Topic Options
#59645 - 04/03/10 11:35 PM Re: How to build SDLMAME 0.136u1 and later [Re: Cyberzinho Punk]
ElBarto Online   content
Member

Registered: 01/07/08
Posts: 47
Loc: France, Paris
u4 OK on FreeBSD 8.0 with gcc44, thanks guy.

Top
#59736 - 07/03/10 01:06 AM Re: How to build SDLMAME 0.136u1 and later [Re: ElBarto]
bowspearer Offline
Member

Registered: 06/03/10
Posts: 23
Loc: NSW, Australia
I'm getting the following error when following the patch instructions for ydl 6.2 for the ps3 (not sure of the build number- dled it from the site in the last 24 hours if that helps):

Quote:
[root@localhost sdlmame0136]# patch -p0 <0136u1.diff
bash: 0136u1.diff: No such file or directory
[root@localhost sdlmame0136]# make BIGENDIAN=1 powerpc=1 ARCHOPTS="-mpowerpc powerpc=1 -mpowerpc-gfxopt -mpowerpc-gpopt -maltivec"
Archiving obj/sdl/mame/libz.a...
BFD: obj/sdl/mame/lib/zlib/inftrees.o: invalid string offset 196612 >= 86 for section `.strtab'
BFD: obj/sdl/mame/lib/zlib/inftrees.o: invalid string offset 2162737 >= 86 for section `.strtab'
BFD: obj/sdl/mame/lib/zlib/inftrees.o: invalid string offset 33620737 >= 86 for section `.strtab'
BFD: obj/sdl/mame/lib/zlib/inftrees.o: invalid string offset 536948737 >= 86 for section `.strtab'
BFD: obj/sdl/mame/lib/zlib/inftrees.o: invalid string offset 1048592 >= 86 for section `.strtab'
BFD: obj/sdl/mame/lib/zlib/inftrees.o: invalid string offset 1114129 >= 86 for section `.strtab'
BFD: obj/sdl/mame/lib/zlib/inftrees.o: invalid string offset 1245203 >= 86 for section `.strtab'
BFD: obj/sdl/mame/lib/zlib/inftrees.o: invalid string offset 1376277 >= 86 for section `.strtab'
BFD: obj/sdl/mame/lib/zlib/inftrees.o: invalid string offset 393223 >= 86 for section `.strtab'
BFD: obj/sdl/mame/lib/zlib/inftrees.o: invalid string offset 1114131 >= 86 for section `.strtab'
BFD: obj/sdl/mame/lib/zlib/inftrees.o: invalid string offset 3866691 >= 86 for section `.strtab'
BFD: obj/sdl/mame/lib/zlib/inftrees.o: invalid string offset 14876930 >= 86 for section `.strtab'
BFD: obj/sdl/mame/lib/zlib/inftrees.o: invalid string offset 1314203936 >= 86 for section `.strtab'
Linking obj/sdl/mame/build/png2bdc...
obj/sdl/mame/build/png2bdc.o: could not read symbols: File format not recognized
collect2: ld returned 1 exit status
make: *** [obj/sdl/mame/build/png2bdc] Error 1


What exactly have I done wrong here?

Top
#59741 - 07/03/10 02:34 AM Re: How to build SDLMAME 0.136u1 and later [Re: bowspearer]
R. Belmont Offline
Senior Member

Registered: 17/03/01
Posts: 12492
Loc: USA
A whole bunch of things. Please delete your sdlmame0136 folder and start over, carefully following the directions.

Error 1: you cannot use SDLMAME 0.136 as a base to build later versions. You must start with baseline 0.136 as the base.

Error 2: you either didn't download or didn't unzip the 0.136u1/u2/u3/u4 diffs into your MAME folder before applying the endings patch.

Error 3: patch spit out a pretty clear failure message and you tried to continue on anyway, which made it worse.

Top
#59743 - 07/03/10 03:33 AM Re: How to build SDLMAME 0.136u1 and later [Re: R. Belmont]
bowspearer Offline
Member

Registered: 06/03/10
Posts: 23
Loc: NSW, Australia
Redid it,this time getting the following few errors during the patch process:

Quote:
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/mame/video/spbactn.c.rej


This was after one instance of telling it to still go ahead and patch a file only to have it spit ou a few fails (unfortunately so much text went through my terminal window that I can't seem to access that in terminal history for a cut and paste).
As people on here indicateds that this wasn't too much of a problem,I contuned on, using the "make BIGENDIAN=1 powerpc=1 ARCHOPTS="-mpowerpc -mpowerpc-gfxopt -mpowerpc-gpopt -maltivec"" command to compile. When I did, I got the following error message:

Quote:
Compiling src/emu/cpu/m68000/m68kmake.c...
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make: *** [obj/sdl/mame/emu/cpu/m68000/m68kmake.o] Error 1


Is there meant to be an alteration to the make command parameters or have I somehow missed something again.

Top
#59744 - 07/03/10 03:42 AM Re: How to build SDLMAME 0.136u1 and later [Re: bowspearer]
R. Belmont Offline
Senior Member

Registered: 17/03/01
Posts: 12492
Loc: USA
I have no idea what that last error means, but once again you tried to continue after patch failed. That is *always* a problem and you should never continue afterwards.

To be clear: you are *only* trying to apply the 0136u1.diff/0136u2.diff/0136u3.diff/0136u4.diff patches, right? You didn't somehow pick up the obsolete "ppcfix" or something?

Top
#59745 - 07/03/10 04:14 AM Re: How to build SDLMAME 0.136u1 and later [Re: R. Belmont]
bowspearer Offline
Member

Registered: 06/03/10
Posts: 23
Loc: NSW, Australia
I was applying the u1 patch with the ppcfix and sure enough, when I checked the patch, the three files it was saying were already patched were:
/cpu/dsp56k.c
/cpu/e132xs.c
/video/spbactn.c

which are of course the 3 files in the ppcfix file. When I didn't use the ppcfix zip file, I got no errors during the patch process, but I got the exact same error when I went to compile. Is there a newer version of ppcfix.zip I need to get (in case I may have grabbed an older version from the WIP page last night) or is something else the problem?

Top
#59746 - 07/03/10 04:50 AM Re: How to build SDLMAME 0.136u1 and later [Re: bowspearer]
R. Belmont Offline
Senior Member

Registered: 17/03/01
Posts: 12492
Loc: USA
To be clear, you are applying the u1 patch, then the u2, then the u3, and then the u4?

I cannot support anything older than latest, and especially on PowerPC.

Top
#59747 - 07/03/10 05:09 AM Re: How to build SDLMAME 0.136u1 and later [Re: R. Belmont]
bowspearer Offline
Member

Registered: 06/03/10
Posts: 23
Loc: NSW, Australia
No just the u1. Should I be patching individually from u1-u4 or just be grabbing the u4 patch and patching that then compiling?

Top
#59748 - 07/03/10 05:11 AM Re: How to build SDLMAME 0.136u1 and later [Re: bowspearer]
R. Belmont Offline
Senior Member

Registered: 17/03/01
Posts: 12492
Loc: USA
You should apply the patches in order: u1, then u2, then u3, then u4.

Top
#59751 - 07/03/10 07:23 AM Re: How to build SDLMAME 0.136u1 and later [Re: R. Belmont]
bowspearer Offline
Member

Registered: 06/03/10
Posts: 23
Loc: NSW, Australia
Ok, I started from scratch, extracted all 4 diff files and the endings file into the mame root directory as the first post in this thread instructed for the u1 build patch and typed in the "./endings" command, then patched all 4 patches in order using the patch command listed. I still got the same error. Is there something blatently obvious to someone else that I'm doing wrong or is something weird going on?

Top
Page 11 of 22 < 1 2 ... 9 10 11 12 13 ... 21 22 >


Moderator:  R. Belmont 
Who's Online
2 registered (Micko, Kaylee), 18 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Forum Stats
4015 Members
9 Forums
6215 Topics
63601 Posts

Max Online: 162 @ 01/05/07 03:28 AM