Previous Thread
Next Thread
Print Thread
Page 21 of 40 1 2 19 20 21 22 23 39 40
Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #97386 12/12/14 08:40 PM
Joined: Feb 2004
Posts: 2,120
Vas Crabb Online Content
Very Senior Member
Online Content
Very Senior Member
Joined: Feb 2004
Posts: 2,120
Is default python on your system Python 3? It needs to be Python 2 to work.

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #97387 12/12/14 09:20 PM
Joined: Jan 2012
Posts: 1,056
rfka01 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,056
Yeah, I just removed Python 3 and installed 2.79 ... it's just curious that it worked until last week.

Edit: Working now, thanks.

Last edited by rfka01; 12/12/14 09:56 PM.

NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #97440 12/15/14 08:30 AM
Joined: Aug 2012
Posts: 27
E
eris23 Offline
Member
Offline
Member
E
Joined: Aug 2012
Posts: 27
Build failed (for both mess and ume) on 64 bit Linux (Xubuntu - gcc 4.9.1) at:

src/mess/drivers/bitgraph.c: In member function ‘virtual void bitgraph_state::machine_reset()’:
src/mess/drivers/bitgraph.c:456:32: error: ‘memset’ used with constant zero length parameter; this could be due to transposed parameters [-Werror=memset-transposed-args]
memset(m_ppu, sizeof(m_ppu), 0);
^
Compiling src/mess/drivers/cosmicos.c...
cc1plus: all warnings being treated as errors
makefile:935: recipe for target 'obj/sdl64/mess/drivers/bitgraph.o' failed
make: *** [obj/sdl64/mess/drivers/bitgraph.o] Error 1

Last entry in git log: Dec 15 12:42:29 2014 +1100

Last edited by eris23; 12/15/14 09:21 AM.
Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #97447 12/16/14 04:36 AM
Joined: Mar 2010
Posts: 136
S
Shoegazer Offline
Senior Member
Offline
Senior Member
S
Joined: Mar 2010
Posts: 136
Hello, hoping someone can help - having difficulties compiling the tools (chdman etc.) with Linux Mint 17.1 x64 using the stock .156 source as available from mamedev.org. Specifically, a "make TARGET=tools" fails with this:

Linking obj/sdl64/build/verinfo...
make: *** No rule to make target `obj/sdl64/tools/tools.o', needed by `tools64'. Stop.

Any ideas what this may be? Thanks.

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #97448 12/16/14 09:42 AM
Joined: Jun 2001
Posts: 44
O
Osso Offline
Member
Offline
Member
O
Joined: Jun 2001
Posts: 44
Shoegazer, it's make tools, not make TARGET=tools.

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #97449 12/16/14 01:51 PM
Joined: Mar 2010
Posts: 136
S
Shoegazer Offline
Senior Member
Offline
Senior Member
S
Joined: Mar 2010
Posts: 136
Ah, quite right. Thanks!

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #97454 12/17/14 09:02 AM
Joined: Aug 2012
Posts: 27
E
eris23 Offline
Member
Offline
Member
E
Joined: Aug 2012
Posts: 27
commit bc795224f4c34853ed738ea2f8e9f2a94f0f5bbc fixed bitgraph compile problem in #97440 above. Thank you hap.

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #97560 12/25/14 09:17 AM
Joined: Aug 2011
Posts: 499
M
MikeAbson Offline
Senior Member
Offline
Senior Member
M
Joined: Aug 2011
Posts: 499
I'm trying to compile MESS and MAME using TortoiseGIT on Windows 7 but I'm receiving the following error message:

mkdir.exe -p obj/windows/osd/modules/sound
mkdir.exe -p obj/windows/osd/windows
mkdir.exe -p obj/windows/tools
Compiling src/osd/windows/vconv.c...
Compiling src/build/makedep.c...
Compiling src/lib/util/astring.c...
Compiling src/lib/util/corealloc.c...
Compiling src/lib/util/corefile.c...
Compiling src/lib/util/unicode.c...
src/lib/util/corealloc.c: In static member function 'static memory_entry* memory
_entry::allocate(size_t, void*, const char*, int, bool)':
src/lib/util/corealloc.c:294:43: error: cast from 'void*' to 'FPTR {aka unsigned
int}' loses precision [-fpermissive]
src/lib/util/corealloc.c: In static member function 'static memory_entry* memory
_entry::find(void*)':
src/lib/util/corealloc.c:319:42: error: cast from 'void*' to 'FPTR {aka unsigned
int}' loses precision [-fpermissive]
src/lib/util/corealloc.c: In static member function 'static void memory_entry::r
elease(memory_entry*, const char*, int)':
src/lib/util/corealloc.c:342:52: error: cast from 'void*' to 'FPTR {aka unsigned
int}' loses precision [-fpermissive]
make: *** [obj/windows/lib/util/corealloc.o] Error 1
make: *** Waiting for unfinished jobs....

The source code was compiling fine the last time I tried, which I think was on the weekend.

Re: Can't compile latest MESS? READ THIS THREAD [Re: MikeAbson] #97561 12/25/14 09:24 AM
Joined: Jun 2001
Posts: 44
O
Osso Offline
Member
Offline
Member
O
Joined: Jun 2001
Posts: 44
You can add PTR64=1 to work around it for the time being.

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #97562 12/25/14 11:27 AM
Joined: Aug 2011
Posts: 499
M
MikeAbson Offline
Senior Member
Offline
Senior Member
M
Joined: Aug 2011
Posts: 499
Thanks for that. This worked for MESS, but not MAME though. I'm also using a clean build for both MESS and MAME.

Linking MAME64.exe...
obj/windows64/mame/dataeast.a(deco222.o):deco222.c:(.data$_ZTV15deco_222_device[
vtable for deco_222_device]+0x250): undefined reference to `non-virtual thunk to
m6502_device::memory_space_config(address_spacenum) const'
obj/windows64/mame/dataeast.a(deco222.o):deco222.c:(.data$_ZTV15deco_222_device[
vtable for deco_222_device]+0x2f8): undefined reference to `non-virtual thunk to
m6502_device::state_import(device_state_entry const&)'
c:/mingw64-w64/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mi
ngw32/bin/ld.exe: obj/windows64/mame/dataeast.a(deco222.o): bad reloc address 0x
2f8 in section `.data$_ZTV15deco_222_device[vtable for deco_222_device]'
c:/mingw64-w64/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mi
ngw32/bin/ld.exe: final link failed: Invalid operation
collect2: ld returned 1 exit status
make: *** [MAME64.exe] Error 1

Page 21 of 40 1 2 19 20 21 22 23 39 40

Who's Online Now
3 registered members (Yash Anand, AJR, pmackinlay), 198 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,751
Posts115,015
Members4,884
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3