Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: 3gem on May 21, 2010, 01:14:59 am

Title: Mame138 hiscore diff patch compile error linux
Post by: 3gem on May 21, 2010, 01:14:59 am
Hi guys i am new to the forum, but have been using Mame for many years.  I finally decided to roll my own, cause I just built my first control panel :) I am having a bit of an issue with compiling mame138.9   I patched it using windows, cause I received .rej files using linux.  I then moved the files back over to my linux box for compile and got the following error....

Linking mame...
obj/sdl/mame/libemu.a(video.o): In function `video_frame_update_hi(running_machine*, int)':
video.c:(.text+0x10d68): undefined reference to `osd_update_hi(running_machine*, int)'
collect2: ld returned 1 exit status
make: *** [mame] Error 1

any ideas how to fix it, of can someone point me to a place for help.  I googled it, but it seems I am the only one having the problem.

Thanks.

-Gregg

ps (It compiles great without the hiscore patch, and compiles with the patch in windows)
Title: Re: Mame138 hiscore diff patch compile error linux
Post by: MTwitty on May 21, 2010, 11:08:40 pm
You're not the ONLY person having this problem. I'm trying to use the patch mame 0.138 on OS X and I'm getting the same error. The problem is that the patch was written for Windows. So some of the changes it makes are in src/osd/windows/ and not src/osd/sdl/. There are other defines and dependencies that need to be tracked down to apply the patches to sdlmame, but I haven't had time to find them all yet.

Assuming nobody else already has a working patch, I'll post the changes if/when I finally get around to fixing it.
Title: Re: Mame138 hiscore diff patch compile error linux
Post by: 3gem on May 22, 2010, 12:21:15 pm
ok thanks for the update.  I will just remove the nag screen for now.

 
Title: Re: Mame138 hiscore diff patch compile error linux
Post by: julian on July 21, 2010, 07:58:02 am
Give this one a shot. I removed the microsoft line endings due to issues I was having with patching, so if you still have them in your source, you may need to add them back here- or let me know and I'll change it back and repost.