|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
Disclaimer: I can compile MAME, but I am in no-way a fully fledged dev (for the last 10 years at least).
I've seen that work has started towards an official Android build for MAME. I am not sure of the current status, but I want to ask. Is it possible to make an .apk using the current tools? How? Do I use make with some specific parameters? (makefile seems to have the appropriate sections for Android) Is gradle the way? (not even sure how to use that)
Please help?
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
Wondering how far they got done on the source.  Haven't seen mame.apk on the MAME website yet.
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
No, but I want to try to compile myself to see myself. I am trying to run gradle (on my Windows 10 x64) and fixing all dependencies that hit gradlew.bat.
Last edited by NLS; 05/05/16 12:02 PM.
|
|
|
|
Joined: Mar 2001
Posts: 17,258 Likes: 267
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,258 Likes: 267 |
It's possible-ish on Windows only I think. You have to have the NDK installed, and I don't know the specific incantation after that. Micko has posted screenshots of it running on an Android tablet though.
ETA: "make android-arm -j9 and then use Android Studio and open the project, which is in a separate folder in root."
Last edited by R. Belmont; 05/05/16 12:43 PM.
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
Thanks for the info Micko.
R. Belmont thanks for his reply.
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
I have ndk and sdk installed. It actually wanted me to move ndk to a specific folder.
"gradlew.bat make" (after having to set a parameter in a file) did make some tiny .apk which I am not sure what they are good for. They are not MAME definitely.
I didn't use Android Studio (but is installed). It is (probably) compiling now, using normal msys64 environment, I will know in a while. (damn make really needed a progress bar - I keep saying that) I actually used the same make flags as windows version except I put first argument to be "android-arm64".
It gave a bunch of errors in the beginning (suspect because I don't have mame folder in src folder, but some other path), I'll wait for it to end to see how critical they were.
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
I have no clue on how to set this up. There no install in the android-ndk-r11c-windows-x86_64.zip http://developer.android.com/ndk/downloads/index.html
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
You don't "install" it, you extract it.
My make failed.
In the beginning it says "'pkg-config' is not recognized as an internal or external command, operable program or batch file." for 7 times. This file does exist and is in "D:\Development\msys64\usr\share\bash-completion\completions".
Then it says "fatal: unable to join threaded lstat".
I suspect these are critical.
Then it progresses more or less normally generating various makes for gmake-android-arm64 (so at least it recognizes my intended target).
I run make from inside win32con in path "D:\Development\msys64\src\mame". It compiles fine a normal windows build.
Anybody can help?
Last edited by NLS; 05/05/16 02:28 PM.
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
Maybe the paths not set up right. Only thing I think of.
We don't know what paths Micko is using to link.
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
It sure ain't ready though. Hope he makes a guide at least for people that might want to help.
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
I just waiting on the package of those tools get upload onto http://mamedev.org/tools/ page. Even a guide. May not happen.
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: May 2006
Posts: 148 Likes: 4
Senior Member
|
Senior Member
Joined: May 2006
Posts: 148 Likes: 4 |
Okay, I managed to get a little further than you guys a few days ago with the assistance of Balrog. I currently suspect the build process requires access to Linux because even after installing the necessary packages into msys64, I still hit some brick walls with path handling.
If you really want to keep trying from Windows, do "pacman -Syu pkg-config" and let me know how it goes.
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
pacman -Syu pkg-config < Got a ton of errors. It did download some of the files. But not all of it.
I just try it on Windows.
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
"pacman -Syu pkg-config" worked for me...
Will try compiling.
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
...well it failed again, but I didn't notice any huge list of fails or warnings.
It just died deep after compiling stuff, after some time "Archiving liboptional.a..." with this:
"makefile:1069: recipe for target 'android-arm64' failed make: *** [android-arm64] Error 2"
Whatever error 2 means.
|
|
|
|
Joined: May 2008
Posts: 4,930 Likes: 24
Very Senior Member
|
Very Senior Member
Joined: May 2008
Posts: 4,930 Likes: 24 |
If you're compiling in parallel (using 'make -j<N> ...') the actual error will have been printed earlier. Scroll back to see it or redirect the compile output to some log file. Note that errors are printed to 'stderr' (file descriptor 2), though.
Last edited by qmc2; 05/10/16 10:32 AM.
A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
|
|
|
|
Joined: Mar 2001
Posts: 17,258 Likes: 267
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,258 Likes: 267 |
Or re-make without -jX after the error and it'll stop right at the error.
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
I'll redirect the output. Compile is slow enough WITH -j option... Don't even want to remember hot it was without it. Thanks.
Question is: Have you guys tried and succeeded?
Last edited by NLS; 05/10/16 02:29 PM.
|
|
|
|
Joined: Mar 2001
Posts: 17,258 Likes: 267
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,258 Likes: 267 |
Micko has succeeded and posted a picture of it running on an Nvidia SHIELD tablet. As far as I'm aware nobody else has, and we don't know the details of how he did it.
Building without -jX after -jX errors out will not take long, it'll go right to the file that caused the error in most cases.
Last edited by R. Belmont; 05/10/16 02:43 PM.
|
|
|
|
Joined: May 2012
Posts: 430 Likes: 1
Senior Member
|
Senior Member
Joined: May 2012
Posts: 430 Likes: 1 |
Micko has succeeded and posted a picture of it running on an Nvidia SHIELD tablet. As far as I'm aware nobody else has, and we don't know the details of how he did it.
Building without -jX after -jX errors out will not take long, it'll go right to the file that caused the error in most cases. More directive : Don't do a "make clean" before launching again without -jX
Last edited by remax; 05/10/16 04:30 PM.
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
OK, I understand (I think).
|
|
|
|
Joined: Feb 2008
Posts: 326
Senior Member
|
Senior Member
Joined: Feb 2008
Posts: 326 |
Here is howto done for official Windows tools :
1. Update repositories pacman -Sy
2. Install/update needed packages pacman -S mame-essentials android-ndk android-sdk java
3. Restart console so new env.bat is actually called and set.
4. go to mame folder and run build : make SUBTARGET=tiny android-arm -j9
5. If you wish to build for other platforms do that as well: make SUBTARGET=tiny android-mips -j9 make SUBTARGET=tiny android-x86 -j9
6. go to android-project folder and run : gradlew assemble
7. in android-project\app\build\outputs\apk\ there are generated APK files that you can install on any device running 4.3 and up (API 18)
On Linux and OSX you need to install Android NDK, Android SDK and Java.
Scripts assume that you have: ANDROID_NDK_ROOT pointing to root of NDK ANDROID_NDK_ARM pointing to android-ndk\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64
and so on for MIPS and X86 JAVA_HOME pointing to root of Java SDK and ANDROID_HOME pointing to root of Android SDK
points from 3-7 are same on Linux and OSX
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
Thanks man. Will try tomorrow.
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
Well I got this error. G:\MAME>call C:\msys64\win32\env.bat [MINGW64] G:\MAME>cd C:\source [MINGW64] G:\MAME>make SUBTARGET=tiny android-arm -j9 make: *** No rule to make target 'android-arm'. Stop. /////////////////////// Never mind about the error.  I finally got it. Won't work on a .bat file as it seem. That is why the error pop up. Just weird because I have no problem using a .bat file to make mame64.exe file. Must run the commands in the cmd only for the android build. /////////////////////// Android 5.1.1 phone and 5.1.2 tablet. The arrow most of time stay at the top part edge of the screen. Only move left and right at the top. Sometimes it will go to the other edge of the screen. It won't let me click on the list or anything with my finger. Seleuco know a work around this issue? Doesn't won't to install on my Android 4.4.4. Give a compatible error.
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
Questions while I wait (I suspect it will fail):
1) What (and when) modifies env.bat and we need to reenter the console?
2) Not sure what subtarget tiny does.
3) Will android-arm64 compile?
4) What happens when I have already Android NDK (and ANDROID_NDK_ROOT set) OUTSIDE MAME build environment? Will it conflict with pacman installs? Same for ANDROID_NDK_ARM and other relative variables. They are already set in my computer's global variables (and point to the tools outside MAME building environment). Will this go boom?
5) In case anybody manages to compile (like Dullaron), is it to early to start reporting bugs etc. related to Android? If yes, where? Here? Maybe some dedicated section? Maybe github? Mametesters? (I doubt for the latter)
Last edited by NLS; 05/18/16 09:25 AM.
|
|
|
|
Joined: May 2008
Posts: 4,930 Likes: 24
Very Senior Member
|
Very Senior Member
Joined: May 2008
Posts: 4,930 Likes: 24 |
2) SUBTARGET=tiny selects the "tiny" list of machines as specified in src/mame/tiny.lst, so your MAME binary would only contain a few systems / will quickly build: rene@marvin:~/src/mame-git> cat src/mame/tiny.lst
// license:BSD-3-Clause
// copyright-holders:Aaron Giles
/******************************************************************************
tiny.lst
List of all enabled drivers in the system. This file is parsed by
makelist.exe, sorted, and output as C code describing the drivers.
******************************************************************************/
robby // (c) 1981 Bally Midway
gridlee // [1983 Videa] prototype - no copyright notice
alienar // (c) 1985 Duncan Brown
carpolo // (c) 1977 Exidy
sidetrac // (c) 1979 Exidy
targ // (c) 1980 Exidy
spectar // (c) 1980 Exidy
teetert // (c) 1982 Exidy
hardhat // (c) 1982
fax // (c) 1983
fax2 // (c) 1983
circus // (c) 1977 Exidy
robotbwl // (c) 197? Exidy
crash // (c) 1979 Exidy
ripcord // (c) 1979 Exidy
starfire // (c) 1979 Exidy
starfirea // (c) 1979 Exidy
fireone // (c) 1979 Exidy
starfir2 // (c) 1979 Exidy
victory // (c) 1982
victorba // (c) 1982
topgunnr // (c) 1986
looping // (c) 1982 Video Games GMBH
supertnk // (c) 1981 VIDEO GAMES GmbH, W.-GERMANY
wrally // (c) 1993 - Ref 930705
A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
I suspected that. Question is, will the full binary compile? I guess I'll have to find out myself.
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
Mine failed in gradlew with some path issue I need to find and fix... [MINGW64] D:\Development\msys64\src\mame\android-project>gradlew.bat assemble
WARNING [Project: :app] Current NDK support is deprecated. Alternative will be provided in the future.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> The SDK directory 'D:\Development\msys64\src\mame\android-project\..\..\..\Android\sdk' does not exist.
...I fixed that part before, so I guess I'll find what is wrong (...again) EDIT: Found it. It was a previous fix, not needed any more. I removed "local.properties" (with the path), and now it worked. Got three 10MB .apk. I guess arm64 compiles then. I'll keep those and try a full compile. EDIT #2: I felt crazy enough to try the compile the same way as in Windows. So I used: make android-arm64 OPTIMIZE=3 SYMBOLS=1 SYMLEVEL=1 STRIP_SYMBOLS=1 -j5 ...which actually generated a few package warnings in the beginning. We'll see how it goes. EDIT #3: And it failed. Then I tried without OPTIMIZE-3 and after seeing the same things in the beginning I stopped it. Then I tried simple "make android-arm64 -j5" and it failed almost immediately this time, indicating there is some trash to clean up first. (how?)
Last edited by NLS; 05/18/16 11:30 AM.
|
|
|
|
Joined: Mar 2001
Posts: 17,258 Likes: 267
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,258 Likes: 267 |
"make clean" to clean up?
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
Yeah I did but used it wrong (added the parameter along with the compile parameters instead of stand-alone... I thought it would work - apparently not). Anyway new make (after clean) with android-arm64 -j5 and I got these somewhere near the beginning:
Package sdl2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sdl2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sdl2' found
Package sdl2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sdl2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sdl2' found
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
Package sdl2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sdl2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sdl2' found
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
Package sdl2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sdl2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sdl2' found
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
fatal: unable to join threaded lstat
Building configurations...
mingw-w64-x86_64-SDL2 and mingw-w64-x86_64-SDL2_ttf are installed already. Again some path issue? Compilation still goes on, but I am not sure it will have a happy end. :P
Last edited by NLS; 05/18/16 12:47 PM.
|
|
|
|
Joined: Mar 2001
Posts: 17,258 Likes: 267
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,258 Likes: 267 |
Those mean you're building for Linux, not Android. The build system is not set up to just make Android the way you're trying to, you must follow the instructions.
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
I followed the instructions. I just didn't make subtarget tiny. It worked with tiny.
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
I have a question about the orange arrow. How come it doesn't move to the games list and the settings when use my finger? I have a keyboard for the Android, iPad and iPhone. Do I need to use the keyboard arrow keys instead of using my finger? I also have a Android controller as well.
I think I should try the keyboard and the controller out to see what happen.
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Mar 2001
Posts: 17,258 Likes: 267
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,258 Likes: 267 |
MAME doesn't have touch support, you'd need to use a keyboard or controller.
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
OK making sure. 
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
SDL supports touch events though.
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
When I get back from AZ then I gonna mess with it some more. Would like to add these. I can't right now. Leaving today.
//Capcom
1941
1942
1943kai
1943
19xx
avsp
armwar
avengers
batcir
bionicc
blktiger
block
dino
captcomm
cawing
commando
cybots
dstlk
ddsom
ddtod
dynwar
ecofghtr
exedexes
ffight
forgottn
ganbare
gng
ghouls
gunsmoke
hsf2
knights
lastduel
leds2011
lwings
madgear
msword
msh
mshvsf
mvsc
megaman2
megaman
mtwins
mercs
mbombrd
nemo
nwarr
higemaru
pokonyan
ringdest
slammast
sectionz
sonson
sf
sfa2
sfa3
sfa
sf2ce
sf2hf
sf2
sfz2al
strider
sgemf
spf2t
ssf2t
ssf2
kod
punisher
srumbler
3wonders
tigeroad
trojan
vhunt2
vsav2
vsav
varth
vulgus
wof
willow
xmvsf
xmcota
// Capcom / Daipro
unsquad
// Willams
bubbles
defender
inferno
joust
joust2
sinistar
// Willams / Vid Kidz
blaster
robotron
stargate
// Nindendo
popeye
// Nintendo of America
dkong
dkong3
dkongjr
mario
// Atari
asteroid
astdelux
bzone
bwidow
bradley
breakout
centiped
ccastles
gravitar
mhavoc
milliped
redbaron
jedi
spacduel
starwars
sbrkout
tempest
// Atari Games
gauntlet
gaunt2
paperboy
atetris
esb
xybots
// Atari / JMA
mhavocrv
// Cave
deathsml
dsmbl
ddonpach
dfkbl
ddpdfk
donpach
esprade
espgal2
feversos
guwange
ibara
ibarablk
mmpork
mushisam
futaribl
futari15
pinkswts
progear
uopoko
mushitam
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
Damn I don't get why the non-tiny doesn't compile.
Dullaron have you tried?
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
Just got back from AZ tonight. I will mess with it later.
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
OK I tried these. I got a ton of errors on tiny for testing to see what would happen.
@source:cps1.cpp
1941
3wonders
area88
captcomm
cawing
chikij
daimakai
dino
dynwar
ffight
forgottn
ganbare
ghouls
knights
kod
lostwrld
mbombrd
megaman
mercs
msword
mtwins
nemo
pang3
pnickj
punisher
pokonyan
sf2
sf2ce
sf2hf
slammast
strider
unsquad
varth
willow
wof
Converting src/mame/drivers/ymmu100.ppm...
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
/////////////////////////////////////////////
Compiling generated/mame/tiny/drivlist.cpp...
Linking libmain.so...
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_1941'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_3wonders'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_area88'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_captcomm'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_cawing'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_chikij'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_daimakai'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_dino'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_dynwar'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_ffight'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_forgottn'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_ganbare'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_ghouls'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_knights'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_kod'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_lostwrld'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_mbombrd'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_megaman'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_mercs'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_msword'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_mtwins'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_nemo'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_pang3'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_pnickj'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_pokonyan'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_punisher'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_sf2'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_sf2ce'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_sf2hf'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_slammast'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_strider'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_unsquad'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_varth'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_willow'
../../../../android-arm/obj/Release/generated/mame/tiny/drivlist.o:../../../../generated/mame/tiny/drivlist.cpp:driver_list::s_drivers_sorted: error: undefined reference to 'driver_wof'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
mametiny.make:239: recipe for target '../../../../../android-project/app/src/main/libs/armeabi-v7a/libmain.so' failed
make[2]: *** [../../../../../android-project/app/src/main/libs/armeabi-v7a/libmain.so] Error 1
makefile:94: recipe for target 'mametiny' failed
make[1]: *** [mametiny] Error 2
makefile:1049: recipe for target 'android-arm' failed
make: *** [android-arm] Error 2
[MINGW64] C:\source>Converting src/mame/drivers/ymmu100.ppm...
'Converting' is not recognized as an internal or external command,
operable program or batch file.
[MINGW64] C:\source>'pkg-config' is not recognized as an internal or external command,
''pkg-config'' is not recognized as an internal or external command,
operable program or batch file.
[MINGW64] C:\source>operable program or batch file.
'operable' is not recognized as an internal or external command,
operable program or batch file.
[MINGW64] C:\source>'pkg-config' is not recognized as an internal or external command,
''pkg-config'' is not recognized as an internal or external command,
operable program or batch file.
[MINGW64] C:\source>operable program or batch file.
'operable' is not recognized as an internal or external command,
operable program or batch file.
[MINGW64] C:\source>'pkg-config' is not recognized as an internal or external command,
''pkg-config'' is not recognized as an internal or external command,
operable program or batch file.
[MINGW64] C:\source>operable program or batch file.
'operable' is not recognized as an internal or external command,
operable program or batch file.
[MINGW64] C:\source>'pkg-config' is not recognized as an internal or external command,
''pkg-config'' is not recognized as an internal or external command,
operable program or batch file.
[MINGW64] C:\source>operable program or batch file.
'operable' is not recognized as an internal or external command,
operable program or batch file.
[MINGW64] C:\source>'pkg-config' is not recognized as an internal or external command,
''pkg-config'' is not recognized as an internal or external command,
operable program or batch file.
[MINGW64] C:\source>operable program or batch file.
'operable' is not recognized as an internal or external command,
operable program or batch file.
[MINGW64] C:\source>'pkg-config' is not recognized as an internal or external command,
''pkg-config'' is not recognized as an internal or external command,
operable program or batch file.
[MINGW64] C:\source>operable program or batch file.
'operable' is not recognized as an internal or external command,
operable program or batch file.
[MINGW64] C:\source>'pkg-config' is not recognized as an internal or external command,
''pkg-config'' is not recognized as an internal or external command,
operable program or batch file.
Look like the problem is the pkg-config and some others that is listed. //////////////////////////////////////////////////////////// Stuck with these for now.
// license:BSD-3-Clause
// copyright-holders:Aaron Giles
/******************************************************************************
tiny.lst
List of all enabled drivers in the system. This file is parsed by
makelist.exe, sorted, and output as C code describing the drivers.
******************************************************************************/
robby // (c) 1981 Bally Midway
gridlee // [1983 Videa] prototype - no copyright notice
alienar // (c) 1985 Duncan Brown
carpolo // (c) 1977 Exidy
sidetrac // (c) 1979 Exidy
targ // (c) 1980 Exidy
spectar // (c) 1980 Exidy
teetert // (c) 1982 Exidy
hardhat // (c) 1982
fax // (c) 1983
fax2 // (c) 1983
circus // (c) 1977 Exidy
robotbwl // (c) 197? Exidy
crash // (c) 1979 Exidy
ripcord // (c) 1979 Exidy
starfire // (c) 1979 Exidy
starfirea // (c) 1979 Exidy
fireone // (c) 1979 Exidy
starfir2 // (c) 1979 Exidy
victory // (c) 1982
victorba // (c) 1982
topgunnr // (c) 1986
looping // (c) 1982 Video Games GMBH
supertnk // (c) 1981 VIDEO GAMES GmbH, W.-GERMANY
wrally // (c) 1993 - Ref 930705
It might be because these are config somewhere else in the source.
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
Did you try without subtarget tiny also?
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
Yep while back before left town. Same errors.
Nothing can do about it. That tiny source probably need to be updated. I don't think anyone mess with it in a while. Reason why I stop messing with it now.
If you look in the mame.lst and tiny.lst. You can see those run different. For example.
mame.lst show @source:....cpp.
tiny.lst doesn't show any @source:....cpp.
I think that is why tiny won't work on others. Beside you can't make Android builds without tiny anyway.
Unless I'm doing something wrong then MAMEDev will let me know. I'm not for sure MAMEDev is looking into it or not.
Just is looking into the touch screen support.
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
Guest what. I found out why it won't work on other games. You have to add links to the drivers and such onto the tiny.lua first then add what games you want to make from the tiny.lst. I did a search today on this. scripts/target/mame/tiny.lua
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- tiny.lua
--
-- Small driver-specific example makefile
-- Use make SUBTARGET=tiny to build
--
---------------------------------------------------------------------------
--------------------------------------------------
-- Specify all the CPU cores necessary for the
-- drivers referenced in tiny.lst.
--------------------------------------------------
CPUS["Z80"] = true
CPUS["M6502"] = true
CPUS["MCS48"] = true
CPUS["MCS51"] = true
CPUS["M6800"] = true
CPUS["M6809"] = true
CPUS["M680X0"] = true
CPUS["TMS9900"] = true
CPUS["COP400"] = true
--------------------------------------------------
-- Specify all the sound cores necessary for the
-- drivers referenced in tiny.lst.
--------------------------------------------------
SOUNDS["SAMPLES"] = true
SOUNDS["DAC"] = true
SOUNDS["DISCRETE"] = true
SOUNDS["AY8910"] = true
SOUNDS["YM2151"] = true
SOUNDS["ASTROCADE"] = true
SOUNDS["TMS5220"] = true
SOUNDS["OKIM6295"] = true
SOUNDS["HC55516"] = true
SOUNDS["YM3812"] = true
SOUNDS["CEM3394"] = true
SOUNDS["VOTRAX"] = true
--------------------------------------------------
-- specify available video cores
--------------------------------------------------
--------------------------------------------------
-- specify available machine cores
--------------------------------------------------
MACHINES["6821PIA"] = true
MACHINES["TTL74148"] = true
MACHINES["TTL74153"] = true
MACHINES["TTL7474"] = true
MACHINES["RIOT6532"] = true
MACHINES["PIT8253"] = true
MACHINES["Z80CTC"] = true
MACHINES["68681"] = true
MACHINES["BANKDEV"] = true
MACHINES["WATCHDOG"] = true
--------------------------------------------------
-- specify available bus cores
--------------------------------------------------
BUSES["CENTRONICS"] = true
--------------------------------------------------
-- This is the list of files that are necessary
-- for building all of the drivers referenced
-- in tiny.lst
--------------------------------------------------
function createProjects_mame_tiny(_target, _subtarget)
project ("mame_tiny")
targetsubdir(_target .."_" .. _subtarget)
kind (LIBTYPE)
uuid (os.uuid("drv-mame-tiny"))
addprojectflags()
precompiledheaders()
includedirs {
MAME_DIR .. "src/osd",
MAME_DIR .. "src/emu",
MAME_DIR .. "src/devices",
MAME_DIR .. "src/mame",
MAME_DIR .. "src/lib",
MAME_DIR .. "src/lib/util",
MAME_DIR .. "3rdparty",
GEN_DIR .. "mame/layout",
}
files{
MAME_DIR .. "src/mame/machine/ticket.cpp",
MAME_DIR .. "src/mame/machine/ticket.h",
MAME_DIR .. "src/mame/drivers/carpolo.cpp",
MAME_DIR .. "src/mame/includes/carpolo.h",
MAME_DIR .. "src/mame/machine/carpolo.cpp",
MAME_DIR .. "src/mame/video/carpolo.cpp",
MAME_DIR .. "src/mame/drivers/circus.cpp",
MAME_DIR .. "src/mame/includes/circus.h",
MAME_DIR .. "src/mame/audio/circus.cpp",
MAME_DIR .. "src/mame/video/circus.cpp",
MAME_DIR .. "src/mame/drivers/exidy.cpp",
MAME_DIR .. "src/mame/includes/exidy.h",
MAME_DIR .. "src/mame/audio/exidy.cpp",
MAME_DIR .. "src/mame/audio/exidy.h",
MAME_DIR .. "src/mame/video/exidy.cpp",
MAME_DIR .. "src/mame/audio/exidy440.cpp",
MAME_DIR .. "src/mame/audio/exidy440.h",
MAME_DIR .. "src/mame/drivers/starfire.cpp",
MAME_DIR .. "src/mame/includes/starfire.h",
MAME_DIR .. "src/mame/video/starfire.cpp",
MAME_DIR .. "src/mame/drivers/vertigo.cpp",
MAME_DIR .. "src/mame/includes/vertigo.h",
MAME_DIR .. "src/mame/machine/vertigo.cpp",
MAME_DIR .. "src/mame/video/vertigo.cpp",
MAME_DIR .. "src/mame/drivers/victory.cpp",
MAME_DIR .. "src/mame/includes/victory.h",
MAME_DIR .. "src/mame/video/victory.cpp",
MAME_DIR .. "src/mame/audio/targ.cpp",
MAME_DIR .. "src/mame/drivers/astrocde.cpp",
MAME_DIR .. "src/mame/includes/astrocde.h",
MAME_DIR .. "src/mame/video/astrocde.cpp",
MAME_DIR .. "src/mame/drivers/gridlee.cpp",
MAME_DIR .. "src/mame/includes/gridlee.h",
MAME_DIR .. "src/mame/audio/gridlee.cpp",
MAME_DIR .. "src/mame/video/gridlee.cpp",
MAME_DIR .. "src/mame/drivers/williams.cpp",
MAME_DIR .. "src/mame/includes/williams.h",
MAME_DIR .. "src/mame/machine/williams.cpp",
MAME_DIR .. "src/mame/audio/williams.cpp",
MAME_DIR .. "src/mame/audio/williams.h",
MAME_DIR .. "src/mame/video/williams.cpp",
MAME_DIR .. "src/mame/audio/gorf.cpp",
MAME_DIR .. "src/mame/audio/wow.cpp",
MAME_DIR .. "src/mame/drivers/gaelco.cpp",
MAME_DIR .. "src/mame/includes/gaelco.h",
MAME_DIR .. "src/mame/video/gaelco.cpp",
MAME_DIR .. "src/mame/machine/gaelcrpt.cpp",
MAME_DIR .. "src/mame/drivers/wrally.cpp",
MAME_DIR .. "src/mame/includes/wrally.h",
MAME_DIR .. "src/mame/machine/wrally.cpp",
MAME_DIR .. "src/mame/video/wrally.cpp",
MAME_DIR .. "src/mame/drivers/looping.cpp",
MAME_DIR .. "src/mame/drivers/supertnk.cpp",
}
end
function linkProjects_mame_tiny(_target, _subtarget)
links {
"mame_tiny",
}
end
Since I saw Williams already on that list then I gonna try out the Defender to see it will work. //Update// Look like it works.
Compiling generated/mame/tiny/drivlist.cpp...
Linking libmain.so...
[MINGW64] C:\source>
No linking error.
Last edited by Dullaron; 05/26/16 09:53 PM. Reason: Working...
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
My Android 5.1.2 is having a problem saving the paths.
Why is the path set at $HOME/.mame (for Linux) on default instead of 0/.mame (for Android)?
Where is the .mame path at anyway?
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
0/.mame is not correct also. It's not the same for all devices. I think it should work with relative paths from the app's own directory. Also the app needs to be movable to SD (maybe it already is, I haven't tested).
|
|
|
|
Joined: May 2008
Posts: 4,930 Likes: 24
Very Senior Member
|
Very Senior Member
Joined: May 2008
Posts: 4,930 Likes: 24 |
$HOME/.mame is just one of the default ini-paths... "." (the current working directory) is another default ini-path, and the folder "ini" in the current working directory is the third one. One of these should work fine for everyone, otherwise overwrite it on the command line (through "-inipath <inipath>").
A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
The problem is the MAME can't save the paths. If you close it then it reset to $HOME/.mame, roms and ini. I don't know why it can't remember where it saved the files are at after change the paths. I read somewhere the paths should be saving in the /data/data/"What ever the name of the apk folder is at. Not the apk but the saving files. The apk is saved somewhere else." MAME4ALL and MAME4Droid doesn't have this issue. It will ask you want it to auto change the paths if it seeing the paths is blocked somewhere else. It did create the files and saved onto the storage/emulated/0/mame4all after I chick Yes. Don't believe me then go check it out.  Oh I got the defender to work. But it having a strange sounds issue on top of it sounds.
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Mar 2001
Posts: 17,258 Likes: 267
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,258 Likes: 267 |
Android is not yet a supported platform; this is one of hundreds of reasons why it's simply a developer alpha. If you build and use it, it is purely at your own risk.
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
I knew it alpha stage. I just pointing out the issue. 
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Aug 2009
Posts: 1,283 Likes: 220
Very Senior Member
|
Very Senior Member
Joined: Aug 2009
Posts: 1,283 Likes: 220 |
make android-arm -jX ... causes a shitload of errors correlated to x86emit.h / drcbex64.h. A snippet is: ../../../../../src/devices/cpu/x86emit.h:174:13: note: candidate found by name
lookup is 'x64emit::REG_R12'
const UINT8 REG_R12 = 12;
^
../../../../../src/devices/cpu/drcbex64.cpp:1722:27: error: reference to
'REG_R11' is ambiguous
emit_mov_r64_imm(dst, REG_R11, param.imm...
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
I got a ton of errors too.
Compiling src/devices/cpu/drcbex64.cpp...
../../../../../src/devices/cpu/drcbex64.cpp:260:11: error: reference to 'REG_R12' is ambiguous
REG_RBX, REG_R12, REG_R13, REG_R14, REG_R15
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176Compiling src/devices/cpu/asap/asapdasm.cpp...
:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:52:3: note: candidate found by name lookup is '::REG_R12'
REG_R12,
^
In file included from Compiling src/devices/cpu/am29000/am29dasm.cpp...
../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:174:13: note: candidate found by name lookup is 'x64emit::REG_R12'
const UINT8 REG_R12 = 12;
^
../../../../../src/devices/cpu/drcbex64.cpp:260:20: error: reference to 'REG_R13' is ambiguous
REG_RBX, REG_R12, REG_R13, REG_R14, REG_R15
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from Compiling src/devices/cpu/jaguar/jagdasm.cpp...
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
Compiling src/mame/drivers/ertictac.cpp...
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:53:3: note: candidate found by name lookup is '::REG_R13'
REG_R13,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:175:13: note: candidate found Compiling src/devices/cpu/cubeqcpu/cubedasm.cpp...
by name lookup is 'x64emit::REG_R13'
const UINT8 REG_R13 = 13;
^
../../../../../src/devices/cpu/drcbex64.cpp:260:29: error: reference to 'REG_R14' isCompiling src/frontend/mame/ui/barcode.cpp...
ambiguous
REG_RBX, REG_R12, REG_R13, REG_R14, REG_R15
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:Compiling src/emu/mconfig.cpp...
28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:54:Compiling src/mame/drivers/ssfindo.cpp...
3: note: candidateCompiling src/devices/cpu/esrip/esripdsm.cpp...
found by name lookup is '::REG_R14'
REG_R14,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:176:13: note: candidate found by name lookup is 'x64emit::REG_R14'
const UINT8 REG_R14 = 14;
Compiling src/devices/cpu/e0c6200/e0c6200d.cpp...
^
../../../../../src/devices/cpu/drcbex64.cpp:260:38: error: reference to 'REG_R15' is ambiguous
REG_RBX, REG_R12, REG_R13, REG_R14, REG_R15
^
Compiling src/emu/memarray.cpp...
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.hCompiling src/mame/drivers/aristmk5.cpp...
:32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:55:3: note: candidate found by name Compiling src/devices/cpu/cosmac/cosdasm.cpp...
lookup is '::REG_R15'
REG_R15,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:177:13: note: candidate found by name Compiling src/frontend/mame/ui/cheatopt.cpp...
lookup is 'x64emit::REG_R15'
const UINT8 REG_R15 = 15;
Compiling src/emu/network.cpp...
^
../../../../../src/devices/cpu/drcbex64.cpp:714:21: error: reference to 'REG_R12' is ambiguous
emit_push_r64(dst, REG_R12); // push r12
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:28:
In file included from Compiling src/devices/cpu/cop400/cop410ds.cpp...
C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.hCompiling src/emu/parameters.cpp...
:32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:52:3: note: candidate found by name lookup is '::REG_R12'
REG_R12,
Compiling src/frontend/mame/ui/pluginopt.cpp...
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:Compiling src/devices/cpu/cop400/cop420ds.cpp...
174:13: note: candidate found by name lookup is 'x64emit::REG_R12'
const UINT8 REG_R12 = 12;
^
../../../../../src/devices/cpu/drcbex64.cpp:715:21: error: Compiling src/mame/machine/archimds.cpp...
reference to 'REG_R13' is ambiguous
emit_push_r64(dst, REG_R13); // push r13
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:28:
Compiling src/emu/profiler.cpp...
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from Compiling src/devices/cpu/cop400/cop440ds.cpp...
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:53:3: note: candidate found by name lookup is '::REG_R13'Compiling src/frontend/mame/ui/devopt.cpp...
REG_R13,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:175:13: note: candidateCompiling src/devices/cpu/cp1610/1610dasm.cpp...
found by name lookup is 'x64emit::REG_R13'
const UINT8 REG_R13 = 13;
^
../../../../../src/devices/cpu/drcbex64.cpp:716:21: error: reference to 'REG_R14' is ambiguous
emit_push_r64(dst, REG_R14); // push r14
^
Compiling src/devices/cpu/ccpu/ccpudasm.cpp...
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutexCompiling src/emu/output.cpp...
:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:54:3: note: candidate found by Compiling src/devices/cpu/t11/t11dasm.cpp...
name lookup is '::REG_R14'
REG_R14,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:176:13: note: candidate found by name lookup Compiling src/emu/render.cpp...
is 'x64emit::REG_R14'
const UINT8 REG_R14 = 14;
^
../../../../../src/devices/cpu/drcbex64.cpp:717:21: error: reference to 'REG_R15' is ambiguous
emit_push_r64(dst, REG_R15); // push r15Compiling src/devices/cpu/f8/f8dasm.cpp...
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from Compiling src/frontend/mame/ui/filemngr.cpp...
C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:55:3: Compiling src/mame/video/archimds.cpp...
note: candidate found by name lookup is '::REG_R15'
REG_R15,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:177Compiling src/devices/cpu/g65816/g65816ds.cpp...
:13: note: candidate found by name lookup is 'x64emit::REG_R15'
const UINT8 REG_R15 = 15;
^
../../../../../src/devices/cpu/drcbex64.cpp:733:20: error: reference to 'REG_R15' is ambiguous
emit_pop_r64(dst, REG_R15); // pop r15
^
In file included from ../../../../../src/devices/cpu/drcbex64.cppCompiling src/devices/cpu/hcd62121/hcd62121d.cpp...
:1:
In file included from ../../../../../src/emu\emu.h:28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:Compiling src/mame/drivers/a310.cpp...
17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:55:3: note: candidate found by name lookup is '::REG_R15'
Compiling src/devices/cpu/hmcs40/hmcs40d.cpp...
REG_R15,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:177:13: note: candidate found by name lookup is 'x64emit::REG_R15'
const UINT8 REG_R15 = 15;
^
Converting NotoSans-Bold.bdc...
../../../../../src/devices/cpu/drcbex64.cpp:734:20: error: referenceCompiling src/frontend/mame/ui/filesel.cpp...
to 'REG_R14' is ambiguous
emit_pop_r64(dst, REG_R14); // pop r14
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:Converting uicmd14.png...
28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:54:3: note: candidate found by name lookup is '::REG_R14'
REG_R14,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cppCompiling src/devices/cpu/sh2/sh2dasm.cpp...
:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:176:13: note: candidate found by name lookup is 'x64emit::REG_R14'
const UINT8 REG_R14 = 14;
Compressing src/emu/layout/dualhovu.lay...
^
../../../../../src/devices/cpu/drcbex64.cpp:735:20: error: reference to 'REG_R13' is ambiguous
emit_pop_r64(dst, REG_R13); // pop r13
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:Compressing src/emu/layout/dualhsxs.lay...
1:
In file included from ../../../../../src/emu\emu.h:28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from Compressing src/emu/layout/dualhuov.lay...
C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32Compressing src/emu/layout/horizont.lay...
:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:53:3: Compressing src/emu/layout/triphsxs.lay...
note: candidate found by name lookup is '::REG_R13'
REG_R13,Compressing src/emu/layout/quadhsxs.lay...
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:Compiling src/devices/cpu/sh4/sh4dasm.cpp...
21:
../../../../../src/devices/cpu/x86emit.h:175:13: note: Compressing src/emu/layout/vertical.lay...
candidate found by name lookup is 'x64emit::REG_R13'
Compressing src/emu/layout/lcd.lay...
const UINT8 REG_R13 = 13;
^
../../../../../src/devices/cpu/drcbex64.cpp:736:20: error: reference to 'REG_R12' is ambiguous
Compressing src/emu/layout/lcd_rot.lay...
emit_pop_r64(dst, REG_R12); // pop r12
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.hCompiling src/frontend/mame/ui/floppycntrl.cpp...
:28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:Compressing src/emu/layout/svg.lay...
17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from Compressing src/emu/layout/noscreens.lay...
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:52:3: note: Compiling src/emu/rendutil.cpp...
candidate found by name lookup is '::REG_R12'
REG_R12,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:174:13Compiling src/devices/cpu/hphybrid/hphybrid_dasm.cpp...
: note: candidate found by name lookup is 'x64emit::REG_R12'
const UINT8 REG_R12 = 12;
^
../../../../../src/devices/cpu/drcbex64.cpp:1722:27: error: reference toCompiling src/frontend/mame/ui/imgcntrl.cpp...
'REG_R11' is ambiguous
Compiling src/emu/romload.cpp...
emit_mov_r64_imm(dst, REG_R11, param.immediate()); // mov r11,param
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from Compiling src/devices/cpu/h6280/6280dasm.cpp...
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:51:3: note: candidate Compiling src/mame/drivers/a6809.cpp...
found by name lookup is '::REG_R11'
REG_R11,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:Compiling src/devices/cpu/e132xs/32xsdasm.cpp...
173:13: note: candidate found by name lookup is 'x64emit::REG_R11'
const UINT8 REG_R11 = 11;
^
../../../../../src/devices/cpu/drcbex64.cpp:1723:32: error: reference to 'REG_R11' is ambiguous
emit_add_r64_r64(dst, reg, REG_R11); // add reg,r11
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
Compiling src/frontend/mame/ui/info.cpp...
In file included from ../../../../../src/emu\emu.h:28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from Compiling src/mame/drivers/acrnsys1.cpp...
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:51:3: note: candidate found by name lookup isCompiling src/devices/cpu/ie15/ie15dasm.cpp...
'::REG_R11'
REG_R11,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:173:13: note: candidate found by name lookup is 'x64emit::REG_R11'
const UINT8 REG_R11 = 11;
^
../../../../../src/devices/cpu/drcbex64.cpp:1749:27: error: reference to 'REG_R11' is Compiling src/devices/cpu/i4004/4004dasm.cpp...
ambiguousCompiling src/mame/drivers/atom.cpp...
emit_mov_r64_imm(dst, REG_R11, param.immediate()); // mov r11,param
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.hCompiling src/frontend/mame/ui/info_pty.cpp...
:51:3: note: candidate found by name lookup is '::REG_R11'
REG_R11,
^
Compiling src/devices/cpu/i8008/8008dasm.cpp...
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:173:13: note: candidate found by name lookup is 'x64emit::REG_R11'
const UINT8 REG_R11 = 11;
^
../../../../../src/devices/cpu/drcbex64.cpp:Compiling src/emu/save.cpp...
1750:35: error: reference to 'REG_R11' is ambiguous
emit_add_m64_r64(dst, memref, REG_R11); // add [mem],r11
^
Compiling src/frontend/mame/ui/inputmap.cpp...
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
Compiling src/devices/cpu/scmp/scmpdasm.cpp...
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:51:3: note: candidate found by name lookup is '::REG_R11'
REG_R11,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:Compiling src/devices/cpu/i8085/8085dasm.cpp...
21:
../../../../../src/devices/cpu/x86emit.h:173:13: note: candidate found by name lookup is 'x64emit::REG_R11'
const UINT8 REG_R11 = 11;
^
../../../../../src/devices/cpu/drcbex64.cpp:1776:26: error: reference Compiling src/devices/cpu/i8089/i8089_dasm.cpp...
to 'REG_R11' is ambiguous
emit_mov_r64_imm(dst, REG_R11, param.immediate()); // mov r11,param
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:Compiling src/emu/schedule.cpp...
32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:51:3: note: candidate found by name lookup isCompiling src/devices/cpu/mcs48/mcs48dsm.cpp...
'::REG_R11'
REG_R11,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:Compiling src/frontend/mame/ui/sliders.cpp...
21:
../../../../../src/devices/cpu/x86emit.h:173:13: note: candidate found by name lookup is 'x64emit::REG_R11'
const UINT8 REG_R11 = 11;
Compiling src/mame/drivers/bbc.cpp...
^
../../../../../src/devices/cpu/drcbex64.cpp:1777:31: error: reference to 'REG_R11' is ambiguous
emit_adc_r64_r64(dst, reg, REG_R11); // adc reg,r11
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:28:
Compiling src/devices/cpu/mcs51/mcs51dasm.cpp...
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutex:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:Compiling src/frontend/mame/ui/slotopt.cpp...
51:3: note: candidate found by name lookup is '::REG_R11'
REG_R11,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
../../../../../src/devices/cpu/x86emit.h:173:13: note: candidateCompiling src/devices/cpu/i860/i860dis.cpp...
found by name lookup is 'x64emit::REG_R11'
const UINT8 REG_R11 = 11;
^
../../../../../src/devices/cpu/drcbex64.cpp:1820:27: error: reference to 'REG_R11' is Compiling src/frontend/mame/ui/swlist.cpp...
ambiguous
emit_mov_r64_imm(dst, REG_R11, param.immediate()); // mov r11,param
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:1:
In file included from ../../../../../src/emu\emu.h:28:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emucore.h:35:
In file included from C:\source\build\projects\sdl\mame\gmake-android-arm\..\..\..\..\..\src\emu\emualloc.h:17:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\mutexCompiling src/devices/cpu/i960/i960dis.cpp...
:176:
In file included from C:\msys64\vendor\android-ndk\sources\cxx-stl\llvm-libc++\libcxx\include\__mutex_base:17:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\pthread.h:32:
In file included from C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\signal.h:42:
C:\msys64\vendor\android-ndk\platforms\android-14\arch-arm\usr\include\sys\ucontext.h:51:3: note: candidate found by name lookup Compiling src/devices/cpu/lh5801/5801dasm.cpp...
is '::REG_R11'
REG_R11,
^
In file included from ../../../../../src/devices/cpu/drcbex64.cpp:174:
In file included from ../../../../../src/devices/cpu/drcbex64.h:21:
Compiling src/emu/screen.cpp...
../../../../../src/devices/cpu/x86emit.h:173:13: note: candidate found by name lookup is 'x64emit::REG_R11'
const UINT8 REG_R11 = 11;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Compiling src/mame/machine/bbc.cpp...
Compiling src/devices/cpu/ssem/ssemdasm.cpp...
Compiling src/frontend/mame/ui/tapectrl.cpp...
20 errors generated.
optional.make:10040: recipe for target '../../../../android-arm/obj/Release/src/devices/cpu/drcbex64.o' failed
make[2]: *** [../../../../android-arm/obj/Release/src/devices/cpu/drcbex64.o] Error 1
makefile:85: recipe for target 'optional' failed
make[1]: *** [optional] Error 2
make[1]: *** Waiting for unfinished jobs....
Compiling src/emu/softlist.cpp...
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Feb 2004
Posts: 2,625 Likes: 332
Very Senior Member
|
Very Senior Member
Joined: Feb 2004
Posts: 2,625 Likes: 332 |
That happened if you tried doing a full build instead of tiny. I've fixed the compile errors when doing a full build for Android ARM, but it produces a 148MB .so which is likely over the size limit for what Android will load. (I'm not particularly proud of how I fixed it using namespace tricks to resolve the ambiguity between MAME's x64emit::REG_Rn and Androids ::REG_Rn, but it builds.)
|
|
|
|
Joined: Aug 2009
Posts: 1,283 Likes: 220
Very Senior Member
|
Very Senior Member
Joined: Aug 2009
Posts: 1,283 Likes: 220 |
To me it generated 3 x 47 MBs APK (for debug / release builds), thanks to everybody involved.
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
Nice 
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Jun 2015
Posts: 55
Member
|
Member
Joined: Jun 2015
Posts: 55 |
Aw! Time to test myself again. 
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
A lot stuff doesn't work right on the alpha stage.
Keyboard, Mouse and controller. Even the paths. Best to wait until they fix those settings. So no NEWS about the fixes. Only reason why I step away from this.
I haven't tried again. Been a while since.
May as well use the MAME from Google Play until then.
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
I finally got it to where I can play the games. For the Amazon FireOS 5.1.1 and up. Change the paths where the MAME will be loading the ini and other stuff from. make "SDL_INI_PATH = .;/storage/emulated/0/MAME/;ini;" android-arm -j5 Hard part is getting the ini made from the menu. Took me a while. I had to reload MAME a few times until I touch the menu at the bottom. Touch screen is lacking so bad. It need a better touch screen support. Note: Use the controller to do this after got to the menu. Keyboard won't work right. After create the ini file. Here are the paths I had to choose. This PC\Fire\Internal storage\MAME\mame.ini
#
# CORE CONFIGURATION OPTIONS
#
readconfig 1
writeconfig 0
#
# CORE SEARCH PATH OPTIONS
#
rompath .;/storage/emulated/0/MAME/roms;
hashpath .;/storage/emulated/0/MAME/hash;
samplepath .;/storage/emulated/0/MAME/samples;
artpath .;/storage/emulated/0/MAME/artwork;
ctrlrpath .;/storage/emulated/0/MAME/ctrlr;
inipath .;/storage/emulated/0/MAME/ini;
fontpath .;/storage/emulated/0/MAME;
cheatpath .;/storage/emulated/0/MAME/cheat;
crosshairpath .;/storage/emulated/0/MAME/crosshair;
pluginspath .;/storage/emulated/0/MAME/plugins;
languagepath .;/storage/emulated/0/MAME/language;
#
# CORE OUTPUT DIRECTORY OPTIONS
#
cfg_directory .;/storage/emulated/0/MAME/cfg;
nvram_directory .;/storage/emulated/0/MAME/nvram;
input_directory .;/storage/emulated/0/MAME/inp;
state_directory .;/storage/emulated/0/MAME/sta;
snapshot_directory .;/storage/emulated/0/MAME/snap;
diff_directory .;/storage/emulated/0/MAME/diff;
comment_directory .;/storage/emulated/0/MAME/comments;
#
# CORE STATE/PLAYBACK OPTIONS
#
state
autosave 0
playback
record
record_timecode 0
exit_after_playback 0
mngwrite
aviwrite
wavwrite
snapname %g/%i
snapsize auto
snapview internal
snapbilinear 1
statename %g
burnin 0
#
# CORE PERFORMANCE OPTIONS
#
autoframeskip 0
frameskip 0
seconds_to_run 0
throttle 1
sleep 1
speed 1.0
refreshspeed 0
#
# CORE RENDER OPTIONS
#
keepaspect 1
unevenstretch 1
unevenstretchx 0
intoverscan 0
intscalex 0
intscaley 0
#
# CORE ROTATION OPTIONS
#
rotate 1
ror 0
rol 0
autoror 0
autorol 0
flipx 0
flipy 0
#
# CORE ARTWORK OPTIONS
#
artwork_crop 0
use_backdrops 1
use_overlays 1
use_bezels 1
use_cpanels 1
use_marquees 1
#
# CORE SCREEN OPTIONS
#
brightness 1.0
contrast 1.0
gamma 1.0
pause_brightness 0.65
effect none
#
# CORE VECTOR OPTIONS
#
antialias 1
beam_width_min 1.0
beam_width_max 1.0
beam_intensity_weight 0
flicker 0
#
# CORE SOUND OPTIONS
#
samplerate 48000
samples 1
volume 0
#
# CORE INPUT OPTIONS
#
coin_lockout 1
ctrlr
mouse 0
joystick 1
lightgun 0
multikeyboard 0
multimouse 0
steadykey 0
ui_active 0
offscreen_reload 0
joystick_map auto
joystick_deadzone 0.3
joystick_saturation 0.85
natural 0
joystick_contradictory 0
coin_impulse 0
#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device keyboard
adstick_device keyboard
pedal_device keyboard
dial_device keyboard
trackball_device keyboard
lightgun_device keyboard
positional_device keyboard
mouse_device mouse
#
# CORE DEBUGGING OPTIONS
#
verbose 0
log 0
oslog 0
debug 0
update_in_pause 0
debugscript
#
# CORE COMM OPTIONS
#
comm_localhost 0.0.0.0
comm_localport 15112
comm_remotehost 127.0.0.1
comm_remoteport 15112
#
# CORE MISC OPTIONS
#
drc 1
drc_use_c 0
drc_log_uml 0
drc_log_native 0
bios
cheat 0
skip_gameinfo 0
uifont default
ui cabinet
ramsize
confirm_quit 0
ui_mouse 1
autoboot_command
autoboot_delay 0
autoboot_script
console 0
plugins 1
plugin
noplugin
language English
#
# OSD KEYBOARD MAPPING OPTIONS
#
uimodekey SCRLOCK
#
# OSD FONT OPTIONS
#
uifontprovider auto
#
# OSD OUTPUT OPTIONS
#
output auto
#
# OSD INPUT OPTIONS
#
keyboardprovider auto
mouseprovider auto
lightgunprovider auto
joystickprovider auto
#
# OSD DEBUGGING OPTIONS
#
debugger auto
debugger_font auto
debugger_font_size 0
watchdog 0
#
# OSD PERFORMANCE OPTIONS
#
numprocessors auto
bench 0
#
# OSD VIDEO OPTIONS
#
video auto
numscreens 1
window 0
maximize 1
waitvsync 0
syncrefresh 0
#
# OSD PER-WINDOW VIDEO OPTIONS
#
screen auto
aspect auto
resolution auto
view auto
screen0 auto
aspect0 auto
resolution0 auto
view0 auto
screen1 auto
aspect1 auto
resolution1 auto
view1 auto
screen2 auto
aspect2 auto
resolution2 auto
view2 auto
screen3 auto
aspect3 auto
resolution3 auto
view3 auto
#
# OSD FULL SCREEN OPTIONS
#
switchres 0
#
# OSD ACCELERATED VIDEO OPTIONS
#
filter 1
prescale 1
#
# OSD SOUND OPTIONS
#
sound auto
audio_latency 2
#
# BGFX POST-PROCESSING OPTIONS
#
bgfx_path bgfx
bgfx_backend auto
bgfx_debug 0
bgfx_screen_chains default
bgfx_shadow_mask slot-mask.png
bgfx_avi_name bgfx.avi
#
# SDL PERFORMANCE OPTIONS
#
sdlvideofps 0
#
# SDL VIDEO OPTIONS
#
centerh 1
centerv 1
scalemode none
#
# SDL KEYBOARD MAPPING
#
keymap 0
keymap_file keymap.dat
#
# SDL JOYSTICK MAPPING
#
joy_idx1 auto
joy_idx2 auto
joy_idx3 auto
joy_idx4 auto
joy_idx5 auto
joy_idx6 auto
joy_idx7 auto
joy_idx8 auto
sixaxis 0
#
# SDL MOUSE MAPPING
#
mouse_index1 auto
mouse_index2 auto
mouse_index3 auto
mouse_index4 auto
mouse_index5 auto
mouse_index6 auto
mouse_index7 auto
mouse_index8 auto
#
# SDL KEYBOARD MAPPING
#
keyb_idx1 auto
keyb_idx2 auto
keyb_idx3 auto
keyb_idx4 auto
keyb_idx5 auto
keyb_idx6 auto
keyb_idx7 auto
keyb_idx8 auto
#
# SDL LOWLEVEL DRIVER OPTIONS
#
videodriver auto
renderdriver auto
audiodriver auto
Here bubbles loaded on the devise. Snapshot. https://www.dropbox.com/s/tnp4u3ktv0o3hz5/20160605_184341.jpg?dl=0Right now I'm using the keyboard alone. Controller doesn't work on the game part. Hard to get both to work at the same time. This app will block the controller when using the keyboard. The paths can be change for your Android devise. Just got to know where the paths are open at. Keep mess with it until you got everything to where you don't need to mess with the settings again.
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
Look like I made mistake on the paths. Removed the .; will fix the MAME crashing. (Talking about the black screen shown on my end.) Also don't need the ; at the end ether unless added another folder.  Example. rompath /storage/emulated/0/MAME/roms
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
Look like got some netlist errors today. Just seeing what been change since. I did removed the "SDL_INI_PATH = .;/storage/emulated/0/MAME/;ini;" For testing.  Full building
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\KingH>call C:\msys64\win32\env.bat
[MINGW64] C:\Users\KingH>cd C:\source
[MINGW64] C:\source>make android-arm -j5
GCC 5.3.0 detected
Converting src/mame/drivers/ymmu100.ppm...
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
...............................Skip to the errors.
Compiling src/mame/drivers/riscpc.cpp...
In file included from ../../../../../src/mame/drivers/aleisttl.cpp:30:
In file included from ../../../../../src/devices\machine/netlist.h:16Compiling src/mame/drivers/alpha68k.cpp...
:
In file included from ../../../../../src/lib\netlist/nl_base.h:165:
../../../../../src/lib/netlist/nl_time.h:112Compiling src/mame/drivers/ssfindo.cpp...
:79: error: use of undeclared identifier 'UINT64_C'
static constexpr ptime from_nsec(const internal_type ns) { return ptime(ns, UINT64_C(1000000000)); }
^
../../../../../src/lib/netlist/nl_time.h:113:79: error: use of undeclared identifier 'UINT64_C'
static constexpr ptime from_usec(const internal_type us) { return ptime(us, UINT64_C(1000000)); }
^
../../../../../src/lib/netlist/nl_time.h:114:79: error: use of undeclared identifier 'UINT64_C'
static constexpr ptime from_msec(const internal_type ms) { return ptime(ms, UINT64_C(1000)); }
^
../../../../../src/lib/netlist/nl_time.h:129:49: error: use of undeclared identifier 'UINT64_C'
using netlist_time = ptime<std::uint_fast64_t, NETLIST_INTERNAL_RES>;
^
In file included from ../../../../../src/mame/drivers/aleisttl.cpp:30:
In file included from ../../../../../src/devices\machine/netlist.h:16:
Compiling 3rdparty/SDL2/src/events/SDL_dropevents.c...
In file included from ../../../../../src/lib\netlist/nl_base.h:164:
In file included from ../../../../../src/lib/netlist/nl_lists.h:15:
../../../../../src/lib/netlist/nl_config.h:141:38: note: expanded from macro 'NETLIST_INTERNAL_RES'
#define NETLIST_INTERNAL_RES (UINT64_C(1000000000))
^
Compiling src/mame/drivers/altos486.cpp...
Compiling 3rdparty/SDL2/src/events/SDL_events.c...
In file included from ../../../../../src/mame/drivers/aleisttl.cpp:30:
In file included from ../../../../../src/devices\machine/netlist.h:16:
In file included from ../../../../../src/lib\netlist/nl_base.h:165:
../../../../../src/lib/netlist/nl_time.h:134:79: error: no type named 'netlist_time' in namespace 'netlist'
template<> inline void state_manager_t::save_item(const void *owner, netlist::netlist_time &nlt, const pstring &stname)
~~~~~~~~~^Compiling 3rdparty/SDL2/src/events/SDL_gesture.c...
../../../../../src/lib/netlist/nl_time.h:136:59: error: no member named 'netlist_time' in namespace 'netlist'
save_state_ptr(owner, stname, datatype_t(sizeof(netlist::netlist_time::internal_type), false, true, false), 1, nlt.get_internaltype_ptr());Compiling src/mame/drivers/z88.cpp...
~~~~~~~~~^
In file included from ../../../../../src/mame/drivers/aleisttl.cpp:30:
In file included from ../../../../../src/devices\machine/netlist.h:16:
../../../../../src/lib\netlist/nl_base.h:563:29: error: unknown type name Compiling 3rdparty/SDL2/src/events/SDL_keyboard.c...
'netlist_time'; did you mean 'netlist_t'?
void schedule_after(const netlist_time &after);
^~~~~~~~~~~~
netlist_t
../../../../../src/lib\netlist/nl_base.h:285:8: note: 'netlist_t' declared here
class netlist_t;
Compiling 3rdparty/SDL2/src/events/SDL_mouse.c...
^
../../../../../src/lib\netlist/nl_base.h:667:28: error: Compiling src/mame/drivers/altos5.cpp...
unknown type name 'netlist_time'; did you mean 'netlist_t'?
void push_to_queue(const netlist_time delay) NOEXCEPT;
^~~~~~~~~~~~
netlist_t
../../../../../src/lib\netlist/nl_base.h:285:8: note: 'netlist_t' Compiling 3rdparty/SDL2/src/events/SDL_quit.c...
declared here
class netlist_t;
^
../../../../../src/lib\netlist/nl_base.h:668:34: errorCompiling src/mame/drivers/champbas.cpp...
: unknown type name 'netlist_time'; did you mean 'netlist_t'?
void reschedule_in_queue(const netlist_time delay) NOEXCEPT;
^~~~~~~~~~~~
netlist_t
../../../../../src/lib\netlist/nl_base.hCompiling 3rdparty/SDL2/src/events/SDL_touch.c...
:285:8:Compiling src/mame/machine/archimds.cpp...
note: 'netlist_t' declared here
class netlist_t;
^
../../../../../src/lib\netlist/nl_base.h:673:9: error: unknown type name 'netlist_time'; did you mean 'netlist_t'?
const netlist_time time() const { return m_time; }
^~~~~~~~~~~~
netlist_t
../../../../../src/lib\netlist/nl_base.h:285:8: note: 'netlist_t' declared here
class netlist_t;
^
../../../../../src/lib\netlist/nl_base.h:674:23: error: unknown type name 'netlist_time'; did you Compiling 3rdparty/SDL2/src/events/SDL_windowevents.c...
mean 'netlist_t'?
void set_time(const netlist_time ntime) { m_time = ntime; }
^~~~~~~~~~~~
netlist_t
../../../../../src/lib\netlist/nl_base.h:285:8: note: 'netlist_t' declared here
class netlist_t;
^Compiling 3rdparty/SDL2/src/file/SDL_rwops.c...
../../../../../src/lib\netlist/nl_base.h:694:13: error: unknown type name 'netlist_time'; did you mean 'netlist_t'?
state_var<netlist_time> m_time;
^~~~~~~~~~~~
netlist_t
Archiving libaltos.a...
../../../../../src/lib\netlist/nl_base.h:285:8: note: 'netlist_t' declared here
class netlist_t;
^
../../../../../src/lib\netlist/nl_base.h:363:5: error: field has incompleteCompiling src/mame/drivers/clayshoo.cpp...
type 'netlist::netlist_t'
Compiling 3rdparty/SDL2/src/filesystem/android/SDL_sysfilesystem.c...
T m_value;
^
../../../../../src/lib\netlist/nl_base.h:694:28: note: in instantiation of template class 'netlist::state_var<netlist::netlist_t>' requested here
state_var<netlist_time> m_time;
^
../../../../../src/lib\netlist/nl_base.h:285:8: noteCompiling 3rdparty/SDL2/src/haptic/SDL_haptic.c...
: forward declaration of 'netlist::netlist_t'
class netlist_t;
^
../../../../../src/lib\netlist/nl_base.h:673:22: error: incomplete result typeCompiling src/mame/drivers/equites.cpp...
'const netlist::netlist_t' in function definition
const netlist_time time() const { return m_time; }
^
../../../../../src/lib\netlist/nl_base.h:285:8: note: forward declaration of 'netlist::netlist_t'
Compiling 3rdparty/SDL2/src/haptic/dummy/SDL_syshaptic.c...
class netlist_t;
^
../../../../../src/lib\netlist/nl_base.h:674:36: error: variable has incomplete type 'const netlist::netlist_t'
void set_time(const netlist_time ntime) { m_time = ntime; }
^
Compiling 3rdparty/SDL2/src/joystick/SDL_gamecontroller.c...
../../../../../src/lib\netlist/nl_base.h:285:8: note: forward declaration of 'netlist::netlist_t'
class netlist_t;
^
../../../../../src/lib\netlist/nl_base.h:720:46: error: unknownCompiling 3rdparty/SDL2/src/joystick/SDL_joystick.c...
type name 'netlist_time'; did you mean 'netlist_t'?
void set_Q(const netlist_sig_t newQ, const netlist_time delay) NOEXCEPT
^~~~~~~~~~~~
netlist_t
Compiling src/mame/machine/bbc.cpp...
../../../../../src/lib\netlist/nl_base.h:285:8: note: 'netlist_t' declared here
class netlist_t;
^
../../../../../src/lib\netlist/nl_base.h:729:51: errorCompiling src/mame/drivers/alg.cpp...
: unknown type name 'netlist_time'; did you mean 'netlist_t'?
Compiling 3rdparty/SDL2/src/joystick/android/SDL_sysjoystick.c...
void set_Q_time(const netlist_sig_t newQ, const netlist_time at)
^~~~~~~~~~~~
netlist_t
../../../../../src/lib\netlist/nl_base.h:285:8: note: 'netlist_t' declared here
class netlist_t;
^
../../../../../src/lib\netlist/nl_base.h:720:59: error: variable has incomplete type 'const netlist::netlist_t'
Compiling 3rdparty/SDL2/src/loadso/dlopen/SDL_sysloadso.c...
void set_Q(const netlist_sig_t newQ, const netlist_time delay) NOEXCEPT
^
../../../../../src/lib\netlist/nl_base.h:285:8: note: forward declaration of 'netlist::netlist_t'
class netlist_t;
^
../../../../../src/lib\netlist/nl_base.hCompiling src/mame/drivers/meijinsn.cpp...
:729:64: error: variable has incomplete type 'const netlist::netlist_t'
void set_Q_time(const netlist_sig_t newQ, const netlist_time at)
^Compiling 3rdparty/SDL2/src/loadso/windows/SDL_sysloadso.c...
../../../../../src/lib\netlist/nl_base.h:285:8: note: forward declaration of 'netlist::netlist_t'
class netlist_t;
^
fatal error: too many errors emitted, stopping Compiling 3rdparty/SDL2/src/power/SDL_power.c...
now [-ferror-limit=]
20 errors generated.
alliedl.make:290: recipe for target '../../../../android-arm/obj/Release/src/mame/drivers/aleisttl.o' failed
make[2]: *** [../../../../android-arm/obj/Release/src/mame/drivers/aleisttl.o] Error 1
makefile:91: recipe for target 'alliedl' failed
make[1]: *** [alliedl] Error 2
make[1]: *** Waiting for unfinished jobs....
...............................Skip to the end.
Linking libSDL2.so...
makefile:1077: recipe for target 'android-arm' failed
make: *** [android-arm] Error 2
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Feb 2008
Posts: 326
Senior Member
|
Senior Member
Joined: Feb 2008
Posts: 326 |
Thanks for pointing to this before release.
Fixed.
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
No problem.  Look like the android-arm64 make without tiny just fine. I switch to this. You did fix the tiny issue on the android-arm.  Checking different builds.
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Feb 2013
Posts: 15
Member
|
Member
Joined: Feb 2013
Posts: 15 |
Hi Dullaron, would you be so kind to post a copy of the binary? I just brought a Nexus 9 (Tegra K1 64bit), with a controller. Interested in particular to test ZX Spectrum and Megadrive performance (if it even works lol), as well as what other things it can handle. I'll post my findings. Thanks if you can 
Last edited by zambr; 06/29/16 02:32 PM.
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
Here you go. https://www.dropbox.com/s/3kyv5pl7l3kt942/MAME.exe?dl=0 Base from the official MAME 0.175 source. app-debug.apk app-debug-unaligned.apk app-release-unsigned.apk Now there will be issues so don't blame me. Not all games run in full speed. I haven't tried to run the softwarelist stuff. I use a keyboard to test out only. The keyboard won't move until I get out of a loading game screen. I don't know what cause that issue. Just hit Enter and then Esc to back out of the loading screen. 
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
Forgot. Put the MAME folder to here. /storage/emulated/0/MAME
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Feb 2013
Posts: 15
Member
|
Member
Joined: Feb 2013
Posts: 15 |
Fantastic thanks. I'll get a chance at the weekend to have a first look at it, very curious.
|
|
|
|
Joined: Feb 2013
Posts: 15
Member
|
Member
Joined: Feb 2013
Posts: 15 |
I got arcade Galaxian to run, but was unable to run it full framerate, even with skipping. I then read up on video drivers for Nvidia powered ARM tablets, and discovered something really annoying which may be the reason for poor performance. Nvidia branded tablets called Shield use OpenGL desktop class drivers where as the other tablets that have the same or better ARM Nvidia h/w, can only use generic OpenGL drivers (which in affect make them no better than a top of the range phone). More info http://forum.xda-developers.com/nexus-9/general/opengl-4-5-support-missing-change-t2983448Argh! What was cool, able to navigate the GUI just fine using a combination of keyboard and bluetooth controller. So no issues for testing purposes.
Last edited by zambr; 07/02/16 12:39 PM.
|
|
|
|
Joined: Apr 2006
Posts: 820 Likes: 3
Senior Member
|
Senior Member
Joined: Apr 2006
Posts: 820 Likes: 3 |
Thanks for the link.  NVIDIA is the way to go. Just might get one of those. Bad Google and Amazon. Those are poor made. I'm so done on these. MAME will have to run on something else. lol https://shield.nvidia.com/android-tv ($299 with 500gb is the best way to go.) They throw in the 2nd controller for free. Just gotta remember that the MAME in the alpha stage. Weird shit happens. Might even take a shit on some of the Android devises or tell it to get lost. lol
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
|
Joined: Feb 2013
Posts: 15
Member
|
Member
Joined: Feb 2013
Posts: 15 |
All is not lost I guess, as Vulkan API will be available from the next version of Android. Will be interesting to see if anyone adopts this for any emulators, not just MAME.
Be useful for Indie devs anyway.
Last edited by zambr; 07/08/16 11:22 PM.
|
|
|
1 members (yugffuts),
177
guests, and
0
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,355
Posts122,424
Members5,082
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|