Previous Thread
Next Thread
Print Thread
Page 12 of 44 1 2 10 11 12 13 14 43 44
Joined: Apr 2008
Posts: 49
Z
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.

Joined: Mar 2001
Posts: 17,215
Likes: 234
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,215
Likes: 234
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.

Joined: Mar 2001
Posts: 17,215
Likes: 234
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,215
Likes: 234
(Fair warning: MAME/MESS will not be formally supported on Ubuntu operating systems once they switch to their in-house graphics stack).

Joined: Apr 2004
Posts: 1,563
Likes: 12
J
Very Senior Member
Offline
Very Senior Member
J
Joined: Apr 2004
Posts: 1,563
Likes: 12
Hmm, I am actually hit by the same link error when compiling with clang on osx

Joined: Apr 2004
Posts: 1,563
Likes: 12
J
Very Senior Member
Offline
Very Senior Member
J
Joined: Apr 2004
Posts: 1,563
Likes: 12
Fixed

Joined: Apr 2008
Posts: 49
Z
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!


Joined: Mar 2001
Posts: 17,215
Likes: 234
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,215
Likes: 234
zillion: Good call. Debian's always nice and safe smile

Joined: Jan 2012
Posts: 1,179
Likes: 17
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,179
Likes: 17
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
Joined: Jan 2012
Posts: 1,179
Likes: 17
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,179
Likes: 17
r23560 fixed the compile for me - thanks Micko!


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Joined: Jan 2006
Posts: 3,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
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 44 1 2 10 11 12 13 14 43 44

Link Copied to Clipboard
Who's Online Now
2 members (AJR, Kale), 273 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,320
Posts121,923
Members5,074
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com