localhost-007 / imame4all

Automatically exported from code.google.com/p/imame4all
0 stars 0 forks source link

how to build mame4droid.so(1.2.1 reloaded) under ubuntu 12.10 #274

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I wanna build mame4droid.so under ubuntu with vmware, but some problems can't 
be solved, can anyone help?

The NDK version I used is  r8c, and I put it on /home/feng5/Downloads.

The mame version is Mame4droid1.2.1 reloaded and it exsits in path 
home/feng5/ubu-share

Part of makefile is as below:

############ ANDROID

ANDROID = 1

#AMIPS=1

#AX86=1

#AARMV7=1

AARMV6=1

ifdef ANDROID

ifdef AARMV6
MYPREFIX=/home/feng5/Downloads/android-ndk-r8c/toolchains/arm-linux-androideabi-
4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-
BASE_DEV=/home/feng5/Downloads/android-ndk-r8c/platforms/android-8/arch-arm
endif

ifdef AARMV7
MYPREFIX=/home/feng5/Downloads/android-ndk-r8c/toolchains/arm-linux-androideabi-
4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-
BASE_DEV=/home/feng5/Downloads/android-ndk-r8c/platforms/android-8/arch-arm
endif

I got output verbose and error info after make just as below:

Using built-in specs.
Target: arm-linux-androideabi
Configured with: 
/usr/local/google/home/andrewhsieh/ndk-andrewhsieh/src/build/../gcc/gcc-4.4.3/co
nfigure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix 
--target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu 
--with-gnu-as --with-gnu-ld --enable-languages=c,c++ 
--with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install 
--with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --without-ppl 
--without-cloog --disable-libssp --enable-threads --disable-nls 
--disable-libmudflap --disable-libgomp --disable-libstdc__-v3 
--disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm 
--with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace 
--enable-initfini-array --disable-nls 
--prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix 
--with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot 
--with-binutils-version=2.19 --with-mpfr-version=2.4.1 --with-mpc-version=0.8.1 
--with-gmp-version=5.0.5 --with-gcc-version=4.4.3 --with-gdb-version=7.3.x 
--with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4
.4.3 --disable-bootstrap --disable-libquadmath --disable-plugin 
--with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&'
Thread model: posix
gcc version 4.4.3 (GCC) 
COLLECT_GCC_OPTIONS='-DCRLF=2' '-DINLINE=static inline' '-DLSB_FIRST' 
'-DNDEBUG' '-D_BSD_SETJMP_H' '-pipe' '-v' '-O3' '-fno-strict-aliasing' 
'-Wformat' '-Wformat-security' '-Wwrite-strings' '-Wno-sign-compare' 
'-Isrc/mame' '-Iobj/droid-ios/mame/mame/layout' '-Isrc/emu' 
'-Iobj/droid-ios/mame/emu' '-Iobj/droid-ios/mame/emu/layout' '-Isrc/lib/util' 
'-Isrc/osd' '-Isrc/osd/droid-ios' '-Isrc/lib/expat' '-Isrc/lib/zlib' 
'-DANDROID' '-fpic' '-Wno-psabi' '-fsigned-char' '-finline' '-ffast-math' 
'-fsingle-precision-constant' '-std=gnu++98' '-fno-exceptions' '-c' '-o' 
'obj/droid-ios/mame/mame/mamedriv.o' '-march=armv5te' '-mfloat-abi=soft' 
'-mfpu=vfp'
 /home/feng5/Downloads/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../libexec/gcc/arm-linux-androideabi/4.4.3/cc1plus -quiet -v -Isrc/mame -Iobj/droid-ios/mame/mame/layout -Isrc/emu -Iobj/droid-ios/mame/emu -Iobj/droid-ios/mame/emu/layout -Isrc/lib/util -Isrc/osd -Isrc/osd/droid-ios -Isrc/lib/expat -Isrc/lib/zlib -iprefix /home/feng5/Downloads/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/ -isysroot /home/feng5/Downloads/android-ndk-r8c/platforms/android-8/arch-arm -D_GNU_SOURCE -DCRLF=2 -DINLINE=static inline -DLSB_FIRST -DNDEBUG -D_BSD_SETJMP_H -DANDROID src/mame/mamedriv.c -mbionic -quiet -dumpbase mamedriv.c -march=armv5te -mfloat-abi=soft -mfpu=vfp -auxbase-strip obj/droid-ios/mame/mame/mamedriv.o -O3 -Wformat -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-psabi -std=gnu++98 -version -fno-strict-aliasing -fpic -fsigned-char -finline -ffast-math -fsingle-precision-constant -fno-exceptions -frtti -o - |
 /home/feng5/Downloads/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/as -v -Isrc/mame -Iobj/droid-ios/mame/mame/layout -Isrc/emu -Iobj/droid-ios/mame/emu -Iobj/droid-ios/mame/emu/layout -Isrc/lib/util -Isrc/osd -Isrc/osd/droid-ios -Isrc/lib/expat -Isrc/lib/zlib -march=armv5te -mfloat-abi=soft -mfpu=vfp -meabi=5 --noexecstack -o obj/droid-ios/mame/mame/mamedriv.o
GNU assembler version 2.19 (arm-linux-androideabi) using BFD version (GNU 
Binutils) 2.19
GNU C++ (GCC) version 4.4.3 (arm-linux-androideabi)
    compiled by GNU C version 4.6.x-google 20120106 (prerelease), GMP version 5.0.5, MPFR version 2.4.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory 
"/home/feng5/Downloads/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/pr
ebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linu
x-androideabi/include"
ignoring nonexistent directory 
"/home/feng5/Downloads/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/pr
ebuilt/linux-x86/bin/../lib/gcc/../../include/c++/4.4.3"
ignoring nonexistent directory 
"/home/feng5/Downloads/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/pr
ebuilt/linux-x86/bin/../lib/gcc/../../include/c++/4.4.3/arm-linux-androideabi"
ignoring nonexistent directory 
"/home/feng5/Downloads/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/pr
ebuilt/linux-x86/bin/../lib/gcc/../../include/c++/4.4.3/backward"
ignoring nonexistent directory 
"/home/feng5/Downloads/android-ndk-r8c/platforms/android-8/arch-arm/usr/local/in
clude"
ignoring duplicate directory 
"/home/feng5/Downloads/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/pr
ebuilt/linux-x86/bin/../lib/gcc/../../lib/gcc/arm-linux-androideabi/4.4.3/includ
e"
ignoring duplicate directory 
"/home/feng5/Downloads/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/pr
ebuilt/linux-x86/bin/../lib/gcc/../../lib/gcc/arm-linux-androideabi/4.4.3/includ
e-fixed"
ignoring nonexistent directory 
"/home/feng5/Downloads/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/pr
ebuilt/linux-x86/bin/../lib/gcc/../../lib/gcc/arm-linux-androideabi/4.4.3/../../
../../arm-linux-androideabi/include"
#include "..." search starts here:
#include <...> search starts here:
 src/mame
 obj/droid-ios/mame/mame/layout
 src/emu
 obj/droid-ios/mame/emu
 obj/droid-ios/mame/emu/layout
 src/lib/util
 src/osd
 src/osd/droid-ios
 src/lib/expat
 src/lib/zlib
 /home/feng5/Downloads/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include
 /home/feng5/Downloads/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed
 /home/feng5/Downloads/android-ndk-r8c/platforms/android-8/arch-arm/usr/include
End of search list.
GNU C++ (GCC) version 4.4.3 (arm-linux-androideabi)
    compiled by GNU C version 4.6.x-google 20120106 (prerelease), GMP version 5.0.5, MPFR version 2.4.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 9fcdd9eae76dbac9df6f2a0407838fe1
In file included from src/emu/emu.h:53,
                 from src/mame/mamedriv.c:18:
src/emu/emucore.h:31:21: error: exception: No such file or directory
src/emu/emucore.h:32:20: error: typeinfo: No such file or directory
In file included from src/emu/emucore.h:36,
                 from src/emu/emu.h:53,
                 from src/mame/mamedriv.c:18:
src/emu/emualloc.h:45:15: error: new: No such file or directory
In file included from src/emu/emu.h:100,
                 from src/mame/mamedriv.c:18:
src/emu/state.h:22:27: error: tr1/type_traits: No such file or directory
In file included from 
/home/feng5/Downloads/android-ndk-r8c/platforms/android-8/arch-arm/usr/include/s
tdlib.h:43,
                 from src/emu/emucore.h:21,
                 from src/emu/emu.h:53,
                 from src/mame/mamedriv.c:18:
src/emu/memory.h:62: error: 'UINT32' does not name a type
src/emu/memory.h:69: error: expected ';' before '*' token
src/emu/memory.h:70: error: expected ';' before '*' token
src/emu/memory.h:71: error: 'offs_t' does not name a type
src/emu/memory.h:72: error: 'offs_t' does not name a type
src/emu/memory.h:73: error: 'offs_t' does not name a type
src/emu/memory.h:74: error: 'UINT8' does not name a type
src/emu/memory.h:81: error: typedef 'offs_t' is initialized (use decltype 
instead)
src/emu/memory.h:81: error: 'direct_update_func' was not declared in this scope
In file included from 
/home/feng5/Downloads/android-ndk-r8c/platforms/android-8/arch-arm/usr/include/s
tdlib.h:43,
                 from src/emu/emucore.h:21,
                 from src/emu/emu.h:53,
                 from src/mame/mamedriv.c:18:
src/emu/memory.h:85: error: typedef 'UINT8' is initialized (use decltype 
instead)
src/emu/memory.h:85: error: 'read8_space_func' was not declared in this scope
src/emu/memory.h:86: error: typedef 'write8_space_func' is initialized (use 
decltype instead)
src/emu/memory.h:86: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:86: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:86: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:87: error: typedef 'UINT16' is initialized (use decltype 
instead)
src/emu/memory.h:87: error: 'read16_space_func' was not declared in this scope
src/emu/memory.h:88: error: typedef 'write16_space_func' is initialized (use 
decltype instead)
src/emu/memory.h:88: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:88: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:88: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:88: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:89: error: typedef 'UINT32' is initialized (use decltype 
instead)
src/emu/memory.h:89: error: 'read32_space_func' was not declared in this scope
src/emu/memory.h:90: error: typedef 'write32_space_func' is initialized (use 
decltype instead)
src/emu/memory.h:90: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:90: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:90: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:90: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:91: error: typedef 'UINT64' is initialized (use decltype 
instead)
src/emu/memory.h:91: error: 'read64_space_func' was not declared in this scope
src/emu/memory.h:92: error: typedef 'write64_space_func' is initialized (use 
decltype instead)
src/emu/memory.h:92: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:92: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:92: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:92: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:96: error: typedef 'UINT8' is initialized (use decltype 
instead)
src/emu/memory.h:96: error: 'read8_device_func' was not declared in this scope
src/emu/memory.h:97: error: typedef 'write8_device_func' is initialized (use 
decltype instead)
src/emu/memory.h:97: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:97: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:97: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:98: error: typedef 'UINT16' is initialized (use decltype 
instead)
src/emu/memory.h:98: error: 'read16_device_func' was not declared in this scope
src/emu/memory.h:99: error: typedef 'write16_device_func' is initialized (use 
decltype instead)
src/emu/memory.h:99: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:99: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:99: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:99: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:100: error: typedef 'UINT32' is initialized (use decltype 
instead)
src/emu/memory.h:100: error: 'read32_device_func' was not declared in this scope
src/emu/memory.h:101: error: typedef 'write32_device_func' is initialized (use 
decltype instead)
src/emu/memory.h:101: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:101: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:101: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:101: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:102: error: typedef 'UINT64' is initialized (use decltype 
instead)
src/emu/memory.h:102: error: 'read64_device_func' was not declared in this scope
src/emu/memory.h:103: error: typedef 'write64_device_func' is initialized (use 
decltype instead)
src/emu/memory.h:103: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:103: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:103: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:103: error: 'ATTR_UNUSED' was not declared in this scope
src/emu/memory.h:110: error: expected identifier before '*' token
src/emu/memory.h:110: error: 'offs_t' has not been declared
src/emu/memory.h:110: error: 'UINT8' declared as function returning a function
src/emu/memory.h:111: error: expected identifier before '*' token
src/emu/memory.h:111: error: 'offs_t' has not been declared
src/emu/memory.h:111: error: 'UINT16' declared as function returning a function
src/emu/memory.h:112: error: expected identifier before '*' token
src/emu/memory.h:112: error: 'offs_t' has not been declared
src/emu/memory.h:112: error: 'UINT16' has not been declared
src/emu/memory.h:112: error: 'UINT16' declared as function returning a function
src/emu/memory.h:113: error: expected identifier before '*' token
src/emu/memory.h:113: error: 'offs_t' has not been declared
src/emu/memory.h:113: error: 'UINT32' declared as function returning a function
src/emu/memory.h:114: error: expected identifier before '*' token
src/emu/memory.h:114: error: 'offs_t' has not been declared
src/emu/memory.h:114: error: 'UINT32' has not been declared
src/emu/memory.h:114: error: 'UINT32' declared as function returning a function
src/emu/memory.h:115: error: expected identifier before '*' token
src/emu/memory.h:115: error: 'offs_t' has not been declared
src/emu/memory.h:115: error: 'UINT64' declared as function returning a function
src/emu/memory.h:116: error: expected identifier before '*' token
src/emu/memory.h:116: error: 'offs_t' has not been declared
src/emu/memory.h:116: error: 'UINT64' has not been declared
src/emu/memory.h:116: error: 'UINT64' declared as function returning a function
src/emu/memory.h:118: error: 'offs_t' has not been declared
src/emu/memory.h:118: error: 'UINT8' has not been declared
src/emu/memory.h:119: error: 'offs_t' has not been declared
src/emu/memory.h:119: error: 'UINT16' has not been declared
src/emu/memory.h:120: error: 'offs_t' has not been declared
src/emu/memory.h:120: error: 'UINT16' has not been declared
src/emu/memory.h:120: error: 'UINT16' has not been declared
src/emu/memory.h:121: error: 'offs_t' has not been declared
src/emu/memory.h:121: error: 'UINT32' has not been declared
src/emu/memory.h:122: error: 'offs_t' has not been declared
src/emu/memory.h:122: error: 'UINT32' has not been declared
src/emu/memory.h:122: error: 'UINT32' has not been declared
src/emu/memory.h:123: error: 'offs_t' has not been declared
src/emu/memory.h:123: error: 'UINT64' has not been declared
src/emu/memory.h:124: error: 'offs_t' has not been declared
src/emu/memory.h:124: error: 'UINT64' has not been declared
src/emu/memory.h:124: error: 'UINT64' has not been declared
src/emu/memory.h:132: error: expected ';' before '*' token
src/emu/memory.h:133: error: 'UINT8' does not name a type
src/emu/memory.h:136: error: expected ';' before '*' token
src/emu/memory.h:145: error: expected ';' before '*' token
src/emu/memory.h:150: error: expected ';' before '*' token
src/emu/memory.h:151: error: expected ';' before '*' token
src/emu/memory.h:154: error: 'direct_update_func' does not name a type
src/emu/memory.h:155: error: 'UINT64' does not name a type
src/emu/memory.h:156: error: 'offs_t' does not name a type
src/emu/memory.h:157: error: 'offs_t' does not name a type
src/emu/memory.h:158: error: 'offs_t' does not name a type
src/emu/memory.h:159: error: 'offs_t' does not name a type
src/emu/memory.h:160: error: 'UINT8' does not name a type
src/emu/memory.h:161: error: 'endianness_t' does not name a type
src/emu/memory.h:162: error: 'INT8' does not name a type
src/emu/memory.h:163: error: 'UINT8' does not name a type
src/emu/memory.h:164: error: 'UINT8' does not name a type
src/emu/memory.h:165: error: 'UINT8' does not name a type
src/emu/memory.h:166: error: 'UINT8' does not name a type
src/emu/memory.h:167: error: 'UINT8' does not name a type
src/emu/memory.h:168: error: 'UINT8' does not name a type
src/emu/memory.h:365: error: variable or field 'memory_init' declared void
src/emu/memory.h:365: error: 'running_machine' was not declared in this scope
src/emu/memory.h:365: error: 'machine' was not declared in this scope
src/emu/memory.h:372: error: 'offs_t' has not been declared
src/emu/memory.h:372: error: 'offs_t' has not been declared
src/emu/memory.h:372: error: expected initializer before 'ATTR_NONNULL'
src/emu/memory.h:375: error: 'direct_update_func' does not name a type
src/emu/memory.h:378: error: 'offs_t' has not been declared
src/emu/memory.h:378: error: expected initializer before 'ATTR_NONNULL'
src/emu/memory.h:381: error: 'offs_t' has not been declared
src/emu/memory.h:381: error: expected initializer before 'ATTR_NONNULL'
src/emu/memory.h:384: error: 'offs_t' has not been declared
src/emu/memory.h:384: error: expected initializer before 'ATTR_NONNULL'
src/emu/memory.h:391: error: variable or field 'memory_configure_bank' declared 
void
src/emu/memory.h:391: error: 'running_machine' was not declared in this scope
src/emu/memory.h:391: error: 'machine' was not declared in this scope
src/emu/memory.h:391: error: expected primary-expression before 'const'
src/emu/memory.h:391: error: expected primary-expression before 'int'
src/emu/memory.h:391: error: expected primary-expression before 'int'
src/emu/memory.h:391: error: expected primary-expression before 'void'
src/emu/memory.h:391: error: 'offs_t' was not declared in this scope
src/emu/memory.h:394: error: variable or field 
'memory_configure_bank_decrypted' declared void
src/emu/memory.h:394: error: 'running_machine' was not declared in this scope
src/emu/memory.h:394: error: 'machine' was not declared in this scope
src/emu/memory.h:394: error: expected primary-expression before 'const'
src/emu/memory.h:394: error: expected primary-expression before 'int'
src/emu/memory.h:394: error: expected primary-expression before 'int'
src/emu/memory.h:394: error: expected primary-expression before 'void'
src/emu/memory.h:394: error: 'offs_t' was not declared in this scope
src/emu/memory.h:397: error: variable or field 'memory_set_bank' declared void
src/emu/memory.h:397: error: 'running_machine' was not declared in this scope
src/emu/memory.h:397: error: 'machine' was not declared in this scope
src/emu/memory.h:397: error: expected primary-expression before 'const'
src/emu/memory.h:397: error: expected primary-expression before 'int'
src/emu/memory.h:400: error: 'running_machine' was not declared in this scope
src/emu/memory.h:400: error: 'machine' was not declared in this scope
src/emu/memory.h:400: error: expected primary-expression before 'const'
src/emu/memory.h:400: error: initializer expression list treated as compound 
expression
src/emu/memory.h:400: error: expected ',' or ';' before 'ATTR_NONNULL'
src/emu/memory.h:403: error: variable or field 'memory_set_bankptr' declared 
void
src/emu/memory.h:403: error: 'running_machine' was not declared in this scope
src/emu/memory.h:403: error: 'machine' was not declared in this scope
src/emu/memory.h:403: error: expected primary-expression before 'const'
src/emu/memory.h:403: error: expected primary-expression before 'void'
src/emu/memory.h:410: error: expected constructor, destructor, or type 
conversion before '*' token
In file included from 
/home/feng5/Downloads/android-ndk-r8c/platforms/android-8/arch-arm/usr/include/s
tdlib.h:43,
                 from src/emu/emucore.h:21,
                 from src/emu/emu.h:53,
                 from src/mame/mamedriv.c:18:
src/emu/memory.h:413: error: expected constructor, destructor, or type 
conversion before '*' token
src/emu/memory.h:416: error: expected constructor, destructor, or type 
conversion before '*' token
src/emu/memory.h:419: error: expected constructor, destructor, or type 
conversion before '*' token
src/emu/memory.h:422: error: expected constructor, destructor, or type 
conversion before '*' token
src/emu/memory.h:425: error: expected constructor, destructor, or type 
conversion before '*' token
src/emu/memory.h:428: error: expected constructor, destructor, or type 
conversion before '*' token
src/emu/memory.h:431: error: expected constructor, destructor, or type 
conversion before '*' token
src/emu/memory.h:434: error: 'offs_t' has not been declared
src/emu/memory.h:434: error: 'offs_t' has not been declared
src/emu/memory.h:434: error: 'offs_t' has not been declared
src/emu/memory.h:434: error: 'offs_t' has not been declared
src/emu/memory.h:434: error: expected initializer before 'ATTR_NONNULL'
src/emu/memory.h:437: error: 'offs_t' has not been declared
src/emu/memory.h:437: error: 'offs_t' has not been declared
src/emu/memory.h:437: error: 'offs_t' has not been declared
src/emu/memory.h:437: error: 'offs_t' has not been declared
src/emu/memory.h:437: error: expected initializer before 'ATTR_NONNULL'
src/emu/memory.h:440: error: 'offs_t' has not been declared
src/emu/memory.h:440: error: 'offs_t' has not been declared
src/emu/memory.h:440: error: 'offs_t' has not been declared
src/emu/memory.h:440: error: 'offs_t' has not been declared
src/emu/memory.h:440: error: 'UINT8' has not been declared
src/emu/memory.h:440: error: 'UINT8' has not been declared
src/emu/memory.h:440: error: expected initializer before 'ATTR_NONNULL'
src/emu/memory.h:443: error: 'offs_t' has not been declared
src/emu/memory.h:443: error: 'offs_t' has not been declared
src/emu/memory.h:443: error: 'offs_t' has not been declared
src/emu/memory.h:443: error: 'offs_t' has not been declared
src/emu/memory.h:443: error: 'UINT8' has not been declared
src/emu/memory.h:443: error: 'UINT8' has not been declared
src/emu/memory.h:443: error: 'UINT8' has not been declared
src/emu/memory.h:443: error: expected initializer before 'ATTR_NONNULL'
src/emu/memory.h:450: error: 'offs_t' has not been declared
src/emu/memory.h:468: error: variable or field 'memory_dump' declared void
src/emu/memory.h:468: error: 'running_machine' was not declared in this scope
src/emu/memory.h:468: error: 'machine' was not declared in this scope
src/emu/memory.h:468: error: expected primary-expression before '*' token
src/emu/memory.h:468: error: 'file' was not declared in this scope
src/emu/memory.h:481: error: 'offs_t' does not name a type
src/emu/memory.h:494: error: 'offs_t' does not name a type
src/emu/memory.h:505: error: 'offs_t' does not name a type
src/emu/memory.h:518: error: 'offs_t' does not name a type
src/emu/memory.h:529: error: 'UINT8' does not name a type
src/emu/memory.h:534: error: 'UINT16' does not name a type
src/emu/memory.h:539: error: 'UINT16' does not name a type
src/emu/memory.h:544: error: 'UINT32' does not name a type
src/emu/memory.h:549: error: 'UINT32' does not name a type
src/emu/memory.h:554: error: 'UINT64' does not name a type
src/emu/memory.h:559: error: 'UINT64' does not name a type
src/emu/memory.h:570: error: 'offs_t' has not been declared
src/emu/memory.h:570: error: 'UINT8' has not been declared
src/emu/memory.h:575: error: 'offs_t' has not been declared
src/emu/memory.h:575: error: 'UINT16' has not been declared
src/emu/memory.h:580: error: 'offs_t' has not been declared
src/emu/memory.h:580: error: 'UINT16' has not been declared
src/emu/memory.h:580: error: 'UINT16' has not been declared
src/emu/memory.h:585: error: 'offs_t' has not been declared
src/emu/memory.h:585: error: 'UINT32' has not been declared
src/emu/memory.h:590: error: 'offs_t' has not been declared
src/emu/memory.h:590: error: 'UINT32' has not been declared
src/emu/memory.h:590: error: 'UINT32' has not been declared
src/emu/memory.h:595: error: 'offs_t' has not been declared
src/emu/memory.h:595: error: 'UINT64' has not been declared
src/emu/memory.h:600: error: 'offs_t' has not been declared
src/emu/memory.h:600: error: 'UINT64' has not been declared
src/emu/memory.h:600: error: 'UINT64' has not been declared
src/emu/memory.h:613: error: 'offs_t' has not been declared
src/emu/memory.h: In function 'void* memory_decrypted_read_ptr(const 
address_space*, int)':
src/emu/memory.h:615: error: 'const struct direct_read_data' has no member 
named 'bytestart'
src/emu/memory.h:615: error: 'UNEXPECTED' was not declared in this scope
src/emu/memory.h:615: error: 'const struct direct_read_data' has no member 
named 'byteend'
src/emu/memory.h:615: error: 'memory_set_direct_region' was not declared in 
this scope
src/emu/memory.h:616: error: 'const struct direct_read_data' has no member 
named 'decrypted'
src/emu/memory.h:616: error: 'const struct direct_read_data' has no member 
named 'bytemask'
src/emu/memory.h: At global scope:
src/emu/memory.h:620: error: 'UINT8' does not name a type
src/emu/memory.h:627: error: 'UINT16' does not name a type
src/emu/memory.h:634: error: 'UINT32' does not name a type
src/emu/memory.h:641: error: 'UINT64' does not name a type
src/emu/memory.h:656: error: 'offs_t' has not been declared
src/emu/memory.h: In function 'void* memory_raw_read_ptr(const address_space*, 
int)':
src/emu/memory.h:658: error: 'const struct direct_read_data' has no member 
named 'bytestart'
src/emu/memory.h:658: error: 'UNEXPECTED' was not declared in this scope
src/emu/memory.h:658: error: 'const struct direct_read_data' has no member 
named 'byteend'
src/emu/memory.h:658: error: 'memory_set_direct_region' was not declared in 
this scope
src/emu/memory.h:659: error: 'const struct direct_read_data' has no member 
named 'raw'
src/emu/memory.h:659: error: 'const struct direct_read_data' has no member 
named 'bytemask'

......

make: *** [obj/droid-ios/mame/mame/mamedriv.o] Error 1

How can I correct those errors?

Original issue reported on code.google.com by wangying...@gmail.com on 22 Oct 2013 at 10:02

GoogleCodeExporter commented 9 years ago
rename ::: sysroot/usr/include/memory.h ---> memorys.h 
sysroot/usr/include/stdlib.h/<memory.h> ---> memory.s.h

done.

Original comment by dagger...@gmail.com on 18 Jun 2014 at 8:05