|
MAME 0.149 Compile Error on OS X 10.8.4
#310119 - 06/12/13 01:43 AM
|
|
|
I'm trying to compile 0.149 and am getting the following error:
Code:
Compiling src/emu/cpu/tms57002/tms57002.c... cc1plus: warnings being treated as errors In file included from src/emu/cpu/m6809/hd6309.c:704: obj/sdl64/emu/cpu/m6809/hd6309.inc: In member function ‘void hd6309_device::execute_one()’: obj/sdl64/emu/cpu/m6809/hd6309.inc:3084: warning: large integer implicitly truncated to unsigned type obj/sdl64/emu/cpu/m6809/hd6309.inc:3088: warning: large integer implicitly truncated to unsigned type obj/sdl64/emu/cpu/m6809/hd6309.inc:3092: warning: large integer implicitly truncated to unsigned type obj/sdl64/emu/cpu/m6809/hd6309.inc:3099: warning: large integer implicitly truncated to unsigned type obj/sdl64/emu/cpu/m6809/hd6309.inc:3103: warning: large integer implicitly truncated to unsigned type obj/sdl64/emu/cpu/m6809/hd6309.inc:3107: warning: large integer implicitly truncated to unsigned type obj/sdl64/emu/cpu/m6809/hd6309.inc:3114: warning: large integer implicitly truncated to unsigned type obj/sdl64/emu/cpu/m6809/hd6309.inc:3118: warning: large integer implicitly truncated to unsigned type obj/sdl64/emu/cpu/m6809/hd6309.inc:3122: warning: large integer implicitly truncated to unsigned type obj/sdl64/emu/cpu/m6809/hd6309.inc:3129: warning: large integer implicitly truncated to unsigned type obj/sdl64/emu/cpu/m6809/hd6309.inc:3136: warning: large integer implicitly truncated to unsigned type obj/sdl64/emu/cpu/m6809/hd6309.inc:3139: warning: large integer implicitly truncated to unsigned type obj/sdl64/emu/cpu/m6809/hd6309.inc:3153: warning: large integer implicitly truncated to unsigned type obj/sdl64/emu/cpu/m6809/hd6309.inc:3156: warning: large integer implicitly truncated to unsigned type obj/sdl64/emu/cpu/m6809/hd6309.inc:3164: warning: large integer implicitly truncated to unsigned type make: *** [obj/sdl64/emu/cpu/m6809/hd6309.o] Error 1 make: *** Waiting for unfinished jobs....
I can compile 0.148 without issues. I didn't have time to test any of the U releases, so I don't know where this issue arose.
|
|
|
Tafoid![Administrator Administrator](//www.mameworld.info/ubbthreads/images/adm.gif) |
I keep on testing.. testing.. testing... into the future!
|
|
|
Reged: 04/19/06
|
Posts: 3135
|
Loc: USA
|
|
Send PM
|
|
|
Re: MAME 0.149 Compile Error on OS X 10.8.4
[Re: goldenegg]
#310164 - 06/12/13 08:39 PM
|
|
|
> I'm trying to compile 0.149 and am getting the following error: > > > Compiling src/emu/cpu/tms57002/tms57002.c... > cc1plus: warnings being treated as errors > In file included from src/emu/cpu/m6809/hd6309.c > obj/sdl64/emu/cpu/m6809/hd6309.inc: In member function ‘void > hd6309_device::execute_one()’: > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > obj/sdl64/emu/cpu/m6809/hd6309.inc warning: large integer implicitly truncated to > unsigned type > make: *** [obj/sdl64/emu/cpu/m6809/hd6309.o] Error 1 > make: *** Waiting for unfinished jobs.... > > > I can compile 0.148 without issues. I didn't have time to test any of the U releases, > so I don't know where this issue arose.
I'm told that if you apply Arbee's "line ending" patch HERE, this should not happen.
|
|
|
|
Re: MAME 0.149 Compile Error on OS X 10.8.4
[Re: Tafoid]
#310185 - 06/13/13 03:13 AM
|
|
|
That patch is out of date and will corrupt any binary files you have. It's better to use the program dos2unix, as it will skip binary files automatically:
find -type f -exec dos2unix {} \;
if for some reason you don't have dos2unix available, you can try this slower method:
find -type f -exec file {} \; | grep CRLF | awk 'BEGIN{FS=":"}{print $1}' | xargs perl -pi -e 's/\r\n?/\n/g'
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: MAME 0.149 Compile Error on OS X 10.8.4
[Re: flamuss]
#310214 - 06/13/13 05:00 PM
|
|
|
My patch that Tafoid pointed to is the officially supported way to compile 0.149 on non-Windows systems and is known to work fine.
|
|
|
|
Re: MAME 0.149 Compile Error on OS X 10.8.4
[Re: R. Belmont]
#310219 - 06/13/13 05:58 PM
|
|
|
I finally got mame 0.149 compiled on my debian ! Thanks you so much guys.
Code:
find . -type f -not -name uismall.png | xargs perl -pi -e 's/\r\n?/\n/g'
Edited by tuxshake (06/13/13 06:00 PM)
|
|
|