Previous Thread
Next Thread
Print Thread
Page 12 of 40 1 2 10 11 12 13 14 39 40
Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #88471 05/15/13 08:13 PM
Joined: Apr 2008
Posts: 49
Z
zillion Offline
Member
Offline
Member
Z
Joined: Apr 2008
Posts: 49
With most recent svn on Ubuntu 12.10 64-bit, the build is failing when trying to link.

It normally builds fine. I also ran make clean before compiling.

Here's the output:

Quote:

Linking mess64...
obj/sdl64/mess/mame.a(megadriv.o): In function `delegate_generic_class* delegate
_base<void, address_space&, unsigned int, unsigned char, unsigned char, _noparam
>::late_bind_helper<mtech_state>(delegate_late_bind&)':
megadriv.c:(.text._ZN13delegate_baseIvR13address_spacejhh8_noparamE16late_bind_h
elperI11mtech_stateEEP22delegate_generic_classR18delegate_late_bind[delegate_generic_class* delegate_base<void, address_space&, unsigned int, unsigned char, unsigned char, _noparam>::late_bind_helper<mtech_state>(delegate_late_bind&)]+0xc): undefined reference to `typeinfo for mtech_state'
megadriv.c:(.text._ZN13delegate_baseIvR13address_spacejhh8_noparamE16late_bind_helperI11mtech_stateEEP22delegate_generic_classR18delegate_late_bind[delegate_generic_class* delegate_base<void, address_space&, unsigned int, unsigned char, unsigned char, _noparam>::late_bind_helper<mtech_state>(delegate_late_bind&)]+0x45): undefined reference to `typeinfo for mtech_state'
obj/sdl64/mess/mame.a(megadriv.o): In function `delegate_generic_class* delegate_base<unsigned char, address_space&, unsigned int, unsigned char, _noparam, _noparam>::late_bind_helper<mtech_state>(delegate_late_bind&)':
megadriv.c:(.text._ZN13delegate_baseIhR13address_spacejh8_noparamS2_E16late_bind_helperI11mtech_stateEEP22delegate_generic_classR18delegate_late_bind[delegate_generic_class* delegate_base<unsigned char, address_space&, unsigned int, unsigned char, _noparam, _noparam>::late_bind_helper<mtech_state>(delegate_late_bind&)]+0xc): undefined reference to `typeinfo for mtech_state'
megadriv.c:(.text._ZN13delegate_baseIhR13address_spacejh8_noparamS2_E16late_bind_helperI11mtech_stateEEP22delegate_generic_classR18delegate_late_bind[delegate_generic_class* delegate_base<unsigned char, address_space&, unsigned int, unsigned char, _noparam, _noparam>::late_bind_helper<mtech_state>(delegate_late_bind&)]+0x45): undefined reference to `typeinfo for mtech_state'
collect2: ld returned 1 exit status
make: *** [mess64] Error 1



If there's anything else that would be of use, please let me know.

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #88472 05/15/13 08:17 PM
Joined: Mar 2001
Posts: 16,573
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,573
Either Canonical threw the "we're going proprietary, fuck all the other distros" switch sooner than I was anticipating or your source tree is corrupted.

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #88473 05/15/13 08:18 PM
Joined: Mar 2001
Posts: 16,573
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,573
(Fair warning: MAME/MESS will not be formally supported on Ubuntu operating systems once they switch to their in-house graphics stack).

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #88474 05/15/13 09:33 PM
Joined: Apr 2004
Posts: 1,554
J
judge Offline
Very Senior Member
Offline
Very Senior Member
J
Joined: Apr 2004
Posts: 1,554
Hmm, I am actually hit by the same link error when compiling with clang on osx

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #88475 05/15/13 09:46 PM
Joined: Apr 2004
Posts: 1,554
J
judge Offline
Very Senior Member
Offline
Very Senior Member
J
Joined: Apr 2004
Posts: 1,554
Fixed

Re: Can't compile latest MESS? READ THIS THREAD [Re: R. Belmont] #88496 05/16/13 03:29 PM
Joined: Apr 2008
Posts: 49
Z
zillion Offline
Member
Offline
Member
Z
Joined: Apr 2008
Posts: 49
RB: Yeah, I plan on switching back to Debian before that happens, but thanks for the warning! Canonical definitely made me feel uneasy with their Mir announcement.

Judge: Thanks for the fix! It's linking just fine now!


Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #88497 05/16/13 03:58 PM
Joined: Mar 2001
Posts: 16,573
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,573
zillion: Good call. Debian's always nice and safe smile

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #88967 06/09/13 08:51 AM
Joined: Jan 2012
Posts: 1,081
rfka01 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,081
Hi,for a few days now I haven't been able to compile MESS from SVN ... Windows 7/64.

I've deleted the obj directory, "made" clean, re-downloaded the complete source ...

the build always stalls at

Code:
Compiling src/mess/machine/sns_bsx.c...
Compiling src/mess/machine/sns_sa1.c...
Compiling src/mess/machine/sns_sdd1.c...&#9834;&#9689;Compiling src/mess/machine/sns_sfx.c..
.
Compiling src/mess/machine/sns_spc7110.c...
cc1plus.exe: warnings being treated as errors
src/mess/machine/sns_sa1.c:493: error: integer constant is too large for 'long'
type
Compiling src/mess/machine/sns_sufami.c...
Compiling src/mess/machine/sns_upd.c...
Compiling src/mess/machine/sns_event.c...
Compiling src/mess/drivers/snes.c...
make: *** [obj/windows64/mess/machine/sns_sa1.o] Error 1
make: *** Waiting for unfinished jobs....


Robert


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] #88972 06/09/13 11:27 AM
Joined: Jan 2012
Posts: 1,081
rfka01 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,081
r23560 fixed the compile for me - thanks Micko!


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] #88974 06/09/13 11:42 AM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
with SA-1 I tried to mimic other drivers using UINT64 variables, but I had only a 64bit MacOSX environment to test the code (which compiled fine there) so I'm sorry it broke at your end

Thanks to Micko for offering the proper code: I will use that next time I need a constant with more than 32 bits smile

Page 12 of 40 1 2 10 11 12 13 14 39 40

Who's Online Now
1 registered members (mfm005), 27 guests, and 2 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,810
Posts115,944
Members4,914
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3