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)