Previous Thread
Next Thread
Print Thread
Page 19 of 42 1 2 17 18 19 20 21 41 42
Joined: Mar 2001
Posts: 16,807
Likes: 32
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,807
Likes: 32
Fixed. For future reports, please follow the guidelines as we are unable to debug psychically:

Please attempt to reproduce with normal MAME/MESS (not UME, it's not supported by the SDL team). If it happens, state your Linux distro, architecture (x86, x64, PowerPC, ARM...), and gcc --version.

Last edited by R. Belmont; 09/20/14 02:28 AM.
Joined: Aug 2012
Posts: 67
Member
Offline
Member
Joined: Aug 2012
Posts: 67
I'm having trouble compiling the latest source.
Using the commandline:
Code:
make -j5 TARGET=mess NOWERROR=1 PTR64=1 USE_NETWORK=1 sse4=1


Gives the following:

Code:
/usr/bin/sh: objwindows64buildmakelist.exe: command not found
makefile:966: recipe for target 'obj/windows64/mess/mess/drivlist.c' failed
make: *** [obj/windows64/mess/mess/drivlist.c] Error 127
make: *** Waiting for unfinished jobs....


Why is it referencing the Linux bash shell?

If I try to continue, this happens:

Code:
Linking mess64.exe...
obj/windows64/libemu.a(clifront.o):clifront.c:(.rdata$.refptr._ZN11driver_list14
s_driver_countE[.refptr._ZN11driver_list14s_driver_countE]+0x0): undefined refer
ence to `driver_list::s_driver_count'
obj/windows64/libemu.a(clifront.o):clifront.c:(.rdata$.refptr._ZN11driver_list16
s_drivers_sortedE[.refptr._ZN11driver_list16s_drivers_sortedE]+0x0): undefined r
eference to `driver_list::s_drivers_sorted'
C:/mingw/mingw64-w64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-
w64-mingw32/bin/ld.exe: obj/windows64/libemu.a(clifront.o): bad reloc address 0x
0 in section `.rdata$.refptr._ZN11driver_list16s_drivers_sortedE[.refptr._ZN11dr
iver_list16s_drivers_sortedE]'
collect2.exe: error: ld returned 1 exit status
makefile:897: recipe for target 'mess64.exe' failed
make: *** [mess64.exe] Error 1


Any ideas?

Joined: Jan 2012
Posts: 872
Likes: 6
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 872
Likes: 6
Maybe add SHELL=cmd to your command line.

Joined: Aug 2012
Posts: 67
Member
Offline
Member
Joined: Aug 2012
Posts: 67
That worked perfectly. Thanks! smile

Also, what changed in the source that SHELL=cmd is required for the Windows build? Just curious.

Joined: Jun 2014
Posts: 85
P
Member
Offline
Member
P
Joined: Jun 2014
Posts: 85
I'm trying a clean build with the latest MinGW, but I also see the same problem with MSVC:
make.exe: *** No rule to make target 'obj/windowsd/MESS/MESS.o', needed by 'MESSd.exe'. Stop.
MAME builds without issue, and I have built MESS successfully on this system, but quite some time in the past.
It's the only file that won't build. I can build the mess.o manually by swapping the MAME and MESS .c files, and then asking MAME to build it, but obviously that's not how it's supposed to be.

Joined: Aug 2004
Posts: 1,444
Likes: 6
Very Senior Member
Offline
Very Senior Member
Joined: Aug 2004
Posts: 1,444
Likes: 6
Just built mess and messui at r32478 with standard tools, no problem (non-debug build). Looking at your error message it looks like you have TARGET=MESS instead of TARGET=mess. I believe the name of the target should be in lower case.

Joined: Jun 2014
Posts: 85
P
Member
Offline
Member
P
Joined: Jun 2014
Posts: 85
Yes, that was exactly the problem. I had it in uppercase because the other variables are in uppercase. I should have read the .mak more closely. It's clear now.
Thanks.

Joined: Aug 2011
Posts: 15
D
Member
Offline
Member
D
Joined: Aug 2011
Posts: 15
This is a description of a problem I had with the new always-enabled SDL2 MAME building and my fix for making it work.

OS: CentOS 6.5

There is no CentOS rpm for SDL2, but I used this rpm maker here :
https://github.com/danfoster/SDL

There is no CentOS rpm for SDL2_ttf, so I downloaded and built the code from here :
https://www.libsdl.org/projects/SDL_ttf/

mame64 built with no issues, but running the debugger caused crashes. Turns out the makefile was building with the correct Qt library, but dynamically linking to an incorrect .so. I have two versions of Qt insttaled, and somehow running mame64 was ignoring my LD_LIBRARY_PATH. This was because the script named 'sdl2-config' (which gets installed with sdl2) embedded /usr/lib64 as an RPATH in the binary. The script that shipped with SDL1, 'sdl-config' did no such thing.

So I edited sdl2-config, and removed all occurrences of '-rpath /usr/lib64.' Then I built SDL_ttf, and rebuild MAME, and it worked.

YMMV. Just letting you know my experience :-).

Joined: Mar 2001
Posts: 16,807
Likes: 32
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,807
Likes: 32
Just build with SDL 1.2 if you're stuck on an outdated distro. It's not ideal, but the 1.2 codepath isn't going away until at least next year.

Joined: Dec 2012
Posts: 244
L
Senior Member
Offline
Senior Member
L
Joined: Dec 2012
Posts: 244
Using official tools and Windows 8
Code:
bash.exe: warning: could not find /tmp, please create!
/bin/sh: gcc: command not found
makefile:935: recipe for target 'obj/windows64/mame/drivers/goldstar.o' failed
make: *** [obj/windows64/mame/drivers/goldstar.o] Error 127
make: *** Waiting for unfinished jobs....

and then later
Code:
Linking mess64.exe...
obj/windows64/libemu.a(clifront.o):clifront.c:(.rdata$.refptr._ZN11driver_list14s_driver_countE[.refptr._ZN11driver_list14s_driver_countE]+0x0): undefined reference to `driver_list::s_driver_count'
obj/windows64/libemu.a(clifront.o):clifront.c:(.rdata$.refptr._ZN11driver_list16s_drivers_sortedE[.refptr._ZN11driver_list16s_drivers_sortedE]+0x0): undefined reference to `driver_list::s_drivers_sorted'
C:/xx/mingw64-w64/bin/../lib/gcc/x86_64-w64-mingw32
/4.9.1/../../../../x86_64-w64-mingw32/bin/ld.exe: obj/windows64/libemu.a(clifront.o): bad reloc address 0x0 in section `.rdata$.refptr._ZN11driver_list16s_drivers_sortedE[.refptr._ZN11driver_list16s_drivers_sortedE]'
collect2.exe: error: ld returned 1 exit status
makefile:910: recipe for target 'mess64.exe' failed
make: *** [mess64.exe] Error 1

Last edited by LoganB; 11/04/14 07:32 PM.
Page 19 of 42 1 2 17 18 19 20 21 41 42

Link Copied to Clipboard
Who's Online Now
3 members (R. Belmont, 2 invisible), 30 guests, and 6 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,974
Posts117,891
Members5,001
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com