Previous Thread
Next Thread
Print Thread
Joined: Aug 2008
Posts: 25
Likes: 1
R
Member
Member
R Offline
Joined: Aug 2008
Posts: 25
Likes: 1
So, i got latest mame src from mamedev and then unzip. unzip again and edited the makefile for ARCHOPTS = -march=core2 (also tried native with the same results)

Then I went what changed in the sticky thread but i alredy had the necessary gcc and whatnots.

#make -j5 and waited until:

Quote
Converting src/mame/layout/zac_proto.lay...
Archiving obj/sdl64/libosd.a...
Compiling src/emu/cpu/m68000/m68kcpu.c...
Compiling obj/sdl64/emu/cpu/m68000/m68kops.c...
obj/sdl64/emu/cpu/m68000/m68kops.c:27668:1: error: invalid suffix "kcpu" on integer constant
8kcpu)->n_flag = NFLAG_16(*r_dst);
^
obj/sdl64/emu/cpu/m68000/m68kops.c: In static member function �static void m68000_base_device_ops::m68k_op_bfins_32_d(m68000_base_device*)�:
obj/sdl64/emu/cpu/m68000/m68kops.c:7096:1: error: �ea� was not declared in this scope
ea--;
^
Converting src/emu/uismall.png...
Converting src/emu/layout/dualhovu.lay...
obj/sdl64/emu/cpu/m68000/m68kops.c: In static member function �static void m68000_base_device_ops::m68k_op_roxr_32_r(m68000_base_device*)�:
obj/sdl64/emu/cpu/m68000/m68kops.c:27223:1: error: �c68kcpu� was not declared in this scope
c68kcpu)->n_flag = NFLAG_16(*r_dst);
^
obj/sdl64/emu/cpu/m68000/m68kops.c:27223:8: error: expected �;� before �)� token
c68kcpu)->n_flag = NFLAG_16(*r_dst);
^
Converting src/emu/layout/dualhsxs.lay...
obj/sdl64/emu/cpu/m68000/m68kops.c: In static member function �static void m68000_base_device_ops::m68k_op_roxl_32_r(m68000_base_device*)�:
obj/sdl64/emu/cpu/m68000/m68kops.c:27501:1: error: �c68kcpu� was not declared in this scope
c68kcpu)->n_flag = NFLAG_16(*r_dst);
^
obj/sdl64/emu/cpu/m68000/m68kops.c:27501:8: error: expected �;� before �)� token
c68kcpu)->n_flag = NFLAG_16(*r_dst);
^
obj/sdl64/emu/cpu/m68000/m68kops.c: In static member function �static void m68000_base_device_ops::m68k_op_rte_32(m68000_base_device*)�:
obj/sdl64/emu/cpu/m68000/m68kops.c:27668:6: error: expected �;� before �)� token
8kcpu)->n_flag = NFLAG_16(*r_dst);
^
Converting src/emu/layout/dualhuov.lay...
Converting src/emu/layout/horizont.lay...
Converting src/emu/layout/triphsxs.lay...
Converting src/emu/layout/quadhsxs.lay...
Converting src/emu/layout/vertical.lay...
Converting src/emu/layout/lcd.lay...
Converting src/emu/layout/lcd_rot.lay...
make: *** [obj/sdl64/emu/cpu/m68000/m68kops.o] Error 1
make: *** Waiting for unfinished jobs....
rm obj/sdl64/osd/sdl/debugqtlogwindow.moc.c obj/sdl64/osd/sdl/debugqtmainwindow.moc.c obj/sdl64/osd/sdl/debugqtwindow.moc.c obj/sdl64/osd/sdl/debugqtbreakpointswindow.moc.c obj/sdl64/osd/sdl/debugqtmemorywindow.moc.c obj/sdl64/osd/sdl/debugqtview.moc.c obj/sdl64/osd/sdl/debugqtdasmwindow.moc.c

Distro:
Quote
Linux linuxtower 3.11.10-301.fc20.x86_64 #1 SMP Thu Dec 5 14:01:17 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

GCC:
Quote
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-isl=/builddir/build/BUILD/gcc-4.8.2-20131212/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.2-20131212/obj-x86_64-redhat-linux/cloog-install --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.2 20131212 (Red Hat 4.8.2-7) (GCC)

Installed qt-devel for moc


I've been building like this for years now and I don't even remember last time I had a problem.

TIA


Joined: Mar 2001
Posts: 17,316
Likes: 280
R
Very Senior Member
Very Senior Member
R Offline
Joined: Mar 2001
Posts: 17,316
Likes: 280
I believe there is an issue with line endings again. The easiest way around this is simply to pull latest SVN; the Subversion client will automatically convert all text files to be Linux-compatible as they come down.

In general it's not the world's greatest idea for non-Windows builds to be done from anything other than an SVN pull for this reason.

Joined: Aug 2008
Posts: 25
Likes: 1
R
Member
Member
R Offline
Joined: Aug 2008
Posts: 25
Likes: 1
That problem again.. i'll remember some script. i'll look around.

I never get along with svn but i will if needed be. Waiting for .153 might take a while and I can't stay without mame laugh

thanks

/edit

that was it. using the old endings perl regex worked.

Last edited by RomKnight; 01/27/14 09:19 PM.
Joined: Mar 2007
Posts: 238
T
Senior Member
Senior Member
T Offline
Joined: Mar 2007
Posts: 238
Fresh SVN (and qt-devel package required) compiled fine on Fedora 20 for me. BTW, with the updated kernel and (just now) mesa 10 release, glxinfo jumped to version 1.4 with OpenGL 2.1, making for ~50% - 200% performance increases on my new workstation with only a Radeon 7870 card. Sweet!

Joined: Mar 2001
Posts: 17,316
Likes: 280
R
Very Senior Member
Very Senior Member
R Offline
Joined: Mar 2001
Posts: 17,316
Likes: 280
Yeah, Mesa 10 is huge for ATI cards, I'm very very pleased that Fedora bent the rules to get it into F20.


Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
0 members (), 535 guests, and 17 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,399
Posts122,883
Members5,092
Most Online3,327
Nov 10th, 2025
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Powered by UBB.threads™ PHP Forum Software 8.0.0