|
Joined: Aug 2012
Posts: 74
Member
|
Member
Joined: Aug 2012
Posts: 74 |
Still Nothing C:/msyCompiling src/mame/audio/jedi.cpp...
s64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ar.exe: unable to rename '../../../../mingw-gcc/bin/x64/Release/mame_mame/libbaCompiling src/mame/machine/lisa.cpp...
lly.a'; reason: File exiCompiling src/mame/audio/wswan.cpp...
stCompiling src/mame/audio/llander.cpp...
s
Archiving libbanctec.a...
bally.make:265: recipe for target '../../../../mingw-gcc/bin/x64/Release/mame_mame/libbally.a' failed
make[2]: *** [../../../../mingw-gcc/bin/x64/Release/mame_mame/libbally.a] Error 1
makefile:463: recipe for target 'bally' failed
make[1]: *** [bally] Error 2
make[1]: *** Waiting for unfinished jobs....
|
|
|
|
Joined: Jan 2012
Posts: 891 Likes: 17
Senior Member
|
Senior Member
Joined: Jan 2012
Posts: 891 Likes: 17 |
This happens to me a lot. Just run the compile again and it'll start from where it stopped and finish successfully.
|
|
|
|
Joined: Aug 2012
Posts: 74
Member
|
Member
Joined: Aug 2012
Posts: 74 |
Perfect! Just had to run it another couple of times and it finally finished successfully. Thanks!
|
|
|
|
Joined: Apr 2006
Posts: 737 Likes: 1
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 737 Likes: 1 |
Just as a reminder, add -k to your make string which will compile everything except what doesn't compile. If you have that happen again, your reattempt will be much shorter as most of the source will be compiled.
|
|
|
|
Joined: Mar 2008
Posts: 230 Likes: 8
Senior Member
|
Senior Member
Joined: Mar 2008
Posts: 230 Likes: 8 |
Hi, I'm trying to compile 0.202 on OSX El Capitan 10.11.6 and I get the following error when running make: Compiling src/mame/drivers/alpha68k.cpp... In file included from ../../../../../src/mame/drivers/alpha68k.cpp:1: In file included from ../../../../../src/emu/emu.h:104: /Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:1258:12: error: 'consume' is a protected member of 'devcb_write<unsigned char, '\xFF'>::builder_base' { m_sink.consume(); } ^ /Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:1497:11: note: in instantiation of function template specialization 'devcb_write<unsigned char, '\xFF'>::first_transform_builder<devcb_write<unsigned char, '\xFF'>::delegate_builder<device_delegate<void (address_space &, unsigned int, unsigned char, unsigned char)> >::wrapped_builder, (lambda at /Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:255:52)>::first_transform_builder<(lambda at /Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:255:52)>' requested here return first_transform_builder<wrapped_builder, std::remove_reference... ^ /Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:255:42: note: in instantiation of function template specialization 'devcb_write<unsigned char, '\xFF'>::delegate_builder<device_delegate<void (address_space &, unsigned int, unsigned char, unsigned char)> >::transform<(lambda at /Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:255:52)>' requested here auto trans(static_cast<Impl &>(*this).transform([val] (offs_t offset... ^ /Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:1142:8: note: declared protected here void consume() { m_consumed = true; } ^ /Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:1267:11: error: 'consume' is a protected member of 'devcb_write<unsigned char, '\xFF'>::builder_base' m_sink.consume(); ^ /Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:255:9: note: in instantiation of member function 'devcb_write<unsigned char, '\xFF'>::first_transform_builder<devcb_write<unsigned char, '\xFF'>::delegate_builder<device_delegate<void (address_space &, unsigned int, unsigned char, unsigned char)> >::wrapped_builder, (lambda at /Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:255:52)>::first_transform_builder' requested here auto trans(static_cast<Impl &>(*this).transform([val] (offs_t offset... ^ /Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:1142:8: note: declared protected here void consume() { m_consumed = true; } ^ 2 errors generated. make[2]: *** [../../../../osx_clang/obj/x64/Release/src/mame/drivers/alpha68k.o] Error 1 make[1]: *** [alpha] Error 2 make: *** [macosx_x64_clang] Error 2 My version of Clang is as follows: Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin15.6.0 Thread model: posix I don't remember having to do anything special to make it work on previous releases, but if that has changed, could you give a pointer on what to do? Thanks and keep up the good work!
|
|
|
|
Joined: Aug 2004
Posts: 1,458 Likes: 9
Very Senior Member
|
Very Senior Member
Joined: Aug 2004
Posts: 1,458 Likes: 9 |
I believe you have to make
void consume() { m_consumed = true; }
public instead of protected.
I think there's an official way instead of just modifying the file, but you'd have to ask cuavas as it's his code.
|
|
|
|
Joined: Mar 2008
Posts: 230 Likes: 8
Senior Member
|
Senior Member
Joined: Mar 2008
Posts: 230 Likes: 8 |
On devcb.h , you can find this code: //**************************************************************************
// DETECT PROBLEMATIC COMPILERS
//**************************************************************************
#if defined(__GNUC__) && !defined(__clang__)
#if __GNUC__ >= 8
#define MAME_DEVCB_GNUC_BROKEN_FRIEND 1
#endif // __GNUC__ >= 8
#endif // defined(__GNUC__) && !defined(__clang__) As the compiler identifies as Clang, this code is not triggered. For now, just adding: #define MAME_DEVCB_GNUC_BROKEN_FRIEND 1 after the previous code, will make MAME compile. At least until this point: Objective-C compiling 3rdparty/bgfx/src/renderer_mtl.mm...
In file included from ../../../../../3rdparty/bgfx/src/renderer_mtl.mm:10:
../../../../../3rdparty/bgfx/src/renderer_mtl.h:365:12: error: instance method '-setLabel:' not found
(return type defaults to 'id') [-Werror,-Wobjc-method-access]
[m_obj setLabel:@(_label)];
|
|
|
|
Joined: Mar 2010
Posts: 155 Likes: 1
Senior Member
|
Senior Member
Joined: Mar 2010
Posts: 155 Likes: 1 |
Hello, under linux and GCC 8, compilation of MAME 0.211 fails with the following message: In function ‘char* strcat(char*, const char*)’,
inlined from ‘void nubus_image_device::file_cmd_w(address_space&, offs_t, u32, u32)’ at ../../../../../src/devices/bus/nubus/nubus_image.cpp:262:10:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:128:33: error: ‘char* __builtin___strcat_chk(char*, const char*, long unsigned int)’ accessing 129 or more bytes at offsets 1028 and 900 may overlap 1 byte at offset 1028 [-Werror=restrict]
return __builtin___strcat_chk (__dest, __src, __bos (__dest));
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling src/devices/bus/nubus/nubus_wsportrait.cpp...
Compiling src/devices/bus/nubus/pds30_30hr.cpp...
cc1plus: all warnings being treated as errors
Compiling src/devices/bus/nubus/pds30_cb264.cpp...
optional.make:16346: recipe for target '../../../../linux_gcc/obj/x64/Release/src/devices/bus/nubus/nubus_image.o' failed
make[2]: *** [../../../../linux_gcc/obj/x64/Release/src/devices/bus/nubus/nubus_image.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:94: recipe for target 'optional' failed
make[1]: *** [optional] Error 2
makefile:1292: recipe for target 'linux_x64' failed
make: *** [linux_x64] Error 2
Any ideas what could be causing this?
|
|
|
|
Joined: May 2004
Posts: 1,007 Likes: 118
Very Senior Member
|
Very Senior Member
Joined: May 2004
Posts: 1,007 Likes: 118 |
Last edited by Duke; 06/28/19 07:29 PM.
|
|
|
2 members (AJR, 1 invisible),
159
guests, and
0
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,328
Posts122,128
Members5,074
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|