Page 45 of 49 < 1 2 ... 43 44 45 46 47 48 49 >
Topic Options
#78661 - 04/22/12 11:37 PM Re: How to build SDLMAME 0.137 and later [Re: R. Belmont]
pintcat Offline
Member

Registered: 11/08/08
Posts: 55
Loc: Germany
@couriersud: Works! laugh Now I'm wondering why this hasn't been fixed in u7 if it's that simple... wink
_________________________


Top
#78662 - 04/22/12 11:55 PM Re: How to build SDLMAME 0.137 and later [Re: R. Belmont]
couriersud Offline
Senior Member

Registered: 02/19/07
Posts: 415
Manpower ...
I am pretty much down under with work and had a couple of real life issues last year. Most likely what happens to other devs as well. Family, children, health (yes, we are getting older), demanding job.

This case just looked easy enough not to get caught up by it. Looked like an endless loop (needed killall -9 mame).
Now debug build,

gdb mame64d

run

cause endless loop
CTRL-C in gdb.

Found the culprit, no line++ in while (line < something)

These are exactly those cases which are really suited if somebody wants to start contributing.

Top
#78669 - 04/23/12 11:08 AM Re: How to build SDLMAME 0.137 and later [Re: R. Belmont]
pintcat Offline
Member

Registered: 11/08/08
Posts: 55
Loc: Germany
Thanx, couriersud. And don't take my previous comment too serious. I know that finding & fixing bugs (beside the actual development) is a fiddly job and considering that you guys do it just for fun with possible real life issues around... you're doing a great job!
_________________________


Top
#78735 - 04/29/12 04:12 PM Re: How to build SDLMAME 0.137 and later [Re: pintcat]
ajacocks Offline
Member

Registered: 04/29/12
Posts: 2
Loc: Eastern Shore, Maryland, USA
I'm having issues building 0.145u7, on Gentoo Linux/x86_64. I've tried a variety of patches that are floating around, but none seem to allow me to build the built-in FLAC:

Code:
Compiling src/lib/libflac/libflac/stream_encoder_framing.c...
x86_64-pc-linux-gnu-g++ -DCRLF=2 -DINLINE="static inline" -DLSB_FIRST -DPTR64 -DNDEBUG  -DFLAC__NO_DLL -DSDLMAME_SDL2=0 -DDISTRO=generic "-DSDLMAME_ARCH=" -DSYNC_IMPLEMENTATION=tc -DSDLMAME_UNIX -DNO_DEBUGGER -DUSE_OPENGL=0 -DSDLMAME_NO_X11 -DNATIVE_DRC=drcbe_x64 -DFLAC__NO_ASM -DHAVE_INTTYPES_H -DHAVE_ICONV -DHAVE_LANGINFO_CODESET -DHAVE_SOCKLEN_T -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DWORDS_BIGENDIAN=0
  -std=gnu89 -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Isrc/lib/libflac/include -c src/lib/libflac/libflac/stream_encoder_framing.c -o obj/sdl64/lib/libflac/stream_encoder_framing.o
cc1plus: warning: command line option "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-std=gnu89" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-std=gnu89" is valid for C/ObjC but not for C++
src/lib/libflac/libflac/stream_decoder.c: In function 'FLAC__StreamDecoderInitStatus init_FILE_internal_(FLAC__StreamDecoder*, FILE*, FLAC__StreamDecoderWriteStatus
 (*)(const FLAC__StreamDecoder*, const FLAC__Frame*, const FLAC__int32* const*, void*), void (*)(const FLAC__StreamDecoder*, const FLAC__StreamMetadata*, void*), void (*)(const FLAC__StreamDecoder*, FLAC__StreamDecoderErrorStatus, void*), void*, FLAC__bool)':
src/lib/libflac/libflac/stream_decoder.c:544:39: error: cannot convert 'FLAC__StreamDecoderInitStatus' to 'FLAC__StreamDecoderState' in assignment
src/lib/libflac/libflac/stream_decoder.c:547:39: error: cannot convert 'FLAC__StreamDecoderInitStatus' to 'FLAC__StreamDecoderState' in assignment
src/lib/libflac/libflac/stream_decoder.c: In function 'FLAC__StreamDecoderInitStatus init_file_internal_(FLAC__StreamDecoder*, const char*, FLAC__StreamDecoderWriteStatus (*)(const FLAC__StreamDecoder*, const FLAC__Frame*, const FLAC__int32* const*, void*), void (*)(const FLAC__StreamDecoder*, const FLAC__StreamMetadata*, void*), void (*)(const FLAC__StreamDecoder*, FLAC__StreamDecoderErrorStatus, void*), void*, FLAC__bool)':
src/lib/libflac/libflac/stream_decoder.c:618:39: error: cannot convert 'FLAC__StreamDecoderInitStatus' to 'FLAC__StreamDecoderState' in assignment
src/lib/libflac/libflac/stream_decoder.c:621:39: error: cannot convert 'FLAC__StreamDecoderInitStatus' to 'FLAC__StreamDecoderState' in assignment
src/lib/libflac/libflac/stream_decoder.c: In function 'FLAC__bool read_metadata_picture_(FLAC__StreamDecoder*, FLAC__StreamMetadata_Picture*)':
src/lib/libflac/libflac/stream_decoder.c:1852:14: error: invalid conversion from 'FLAC__uint32' to 'FLAC__StreamMetadata_Picture_Type'
distcc[26337] ERROR: compile src/lib/libflac/libflac/stream_decoder.c on localhost failed
make: *** [obj/sdl64/lib/libflac/stream_decoder.o] Error 1
make: *** Waiting for unfinished jobs....
src/lib/libflac/libflac/stream_encoder.c: In function 'FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder*, const FLAC__byte*, size_t, unsigned int, FLAC__bool)':
src/lib/libflac/libflac/stream_encoder.c:2442:46: error: invalid conversion from 'int' to 'FLAC__MetadataType'
distcc[26343] ERROR: compile src/lib/libflac/libflac/stream_encoder.c on localhost failed
make: *** [obj/sdl64/lib/libflac/stream_encoder.o] Error 1


I can't really find any MAME/MESS references to similar problems, so I assume that it has something to do with the environment I'm building in.

Any suggestions?

Thanks!
- Alex

Top
#78736 - 04/29/12 04:17 PM Re: How to build SDLMAME 0.137 and later [Re: R. Belmont]
R. Belmont Offline
Very Senior Member

Registered: 03/17/01
Posts: 13211
Loc: USA
gcc --version?

Top
#78737 - 04/29/12 10:27 PM Re: How to build SDLMAME 0.137 and later [Re: R. Belmont]
ajacocks Offline
Member

Registered: 04/29/12
Posts: 2
Loc: Eastern Shore, Maryland, USA
# gcc --version
gcc (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

- Alex

Top
#78861 - 05/07/12 08:30 PM Re: How to build SDLMAME 0.137 and later [Re: R. Belmont]
Cyberzinho Punk Offline
Senior Member

Registered: 09/26/06
Posts: 171
Loc: São José dos Campos, SP, Brazi...
u8 runs fine on Slackware Linux 13.37....

MAME packages for Slackware Linux users are here:

https://sourceforge.net/projects/mameforslack/

Thanks!!!! wink
_________________________
Sorry, my English is bad!
MAME for Slackware

Top
#78885 - 05/08/12 07:04 PM Re: How to build SDLMAME 0.137 and later [Re: R. Belmont]
Monotremata Offline
Member

Registered: 07/05/07
Posts: 98
Loc: California
u8's so far so good on OS 10.7.3.. Seems they've fixed the 64-bit troubles for us first gen Mac Pro people. Didn't have to specify PTR64=1 this time and it built me the regular 32-bit mame with no problems.

Just waiting for qmc2 to finish building its new game list and then these centipedes are dead meat!!

Top
#78888 - 05/08/12 07:21 PM Re: How to build SDLMAME 0.137 and later [Re: R. Belmont]
R. Belmont Offline
Very Senior Member

Registered: 03/17/01
Posts: 13211
Loc: USA
Yeah, I forgot to mention that the PTR64 weirdness should be good and dead in u8 smile

Top
#79366 - 05/21/12 09:48 PM Re: How to build SDLMAME 0.137 and later [Re: R. Belmont]
Cyberzinho Punk Offline
Senior Member

Registered: 09/26/06
Posts: 171
Loc: São José dos Campos, SP, Brazi...
MAME 0.146 works fine on Slackware Linux 13.37....

MAME packages for Slackware Linux users are here:

https://sourceforge.net/projects/mameforslack/

Thanks!!!!
_________________________
Sorry, my English is bad!
MAME for Slackware

Top
Page 45 of 49 < 1 2 ... 43 44 45 46 47 48 49 >


Moderator:  R. Belmont 
Who's Online
4 registered (qmc2, Dorando, remax, 1 invisible), 18 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Shout Box

Forum Stats
4350 Members
9 Forums
7245 Topics
87607 Posts

Max Online: 183 @ 03/06/12 06:21 PM