libretro / fbalpha2012

Final Burn Alpha 2012. Port of Final Burn Alpha to Libretro (0.2.97.24).
30 stars 50 forks source link

Android build fails #70

Open sergiobenrocha2 opened 7 years ago

sergiobenrocha2 commented 7 years ago

I thought 47624a5 was going to fix Android builds, but it keeps failing... I don't have Android toolchain installed here to make tests right now, so posting here to keep track

[armeabi-v7a] Compile++ arm  : retro <= z80.cpp
[armeabi-v7a] Compile arm    : retro <= m68kopac.c
[armeabi-v7a] Compile arm    : retro <= m68kcpu.c
/home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/jni/../../../src/cpu/m68k/m68kcpu.c: In function 'm68k_context_size_no_pointers':
/home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/jni/../../../src/cpu/m68k/m68kcpu.c:855:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  return (long long)&m68ki_cpu.pointer_block_divider - (long long)&m68ki_cpu;
         ^
/home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/jni/../../../src/cpu/m68k/m68kcpu.c:855:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  return (long long)&m68ki_cpu.pointer_block_divider - (long long)&m68ki_cpu;
                                                       ^
[armeabi-v7a] Compile arm    : retro <= m68kopdm.c
[armeabi-v7a] Compile arm    : retro <= m68kopnz.c
[armeabi-v7a] Compile arm    : retro <= m68kops.c
[armeabi-v7a] Compile++ arm  : retro <= libretro.cpp
[armeabi-v7a] Compile++ arm  : retro <= neocdlist.cpp
[armeabi-v7a] SharedLibrary  : libretro.so
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/libretro/libretro.o: multiple definition of 'bStreetFighterLayout'
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/gami.o: previous definition here
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/libretro/libretro.o: multiple definition of 'nMacroCount'
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/gami.o: previous definition here
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/libretro/libretro.o: multiple definition of 'nFireButtons'
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/gami.o: previous definition here
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/libretro/libretro.o: multiple definition of 'nGameInpCount'
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/gami.o: previous definition here
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/libretro/libretro.o: multiple definition of 'GameInp'
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/gami.o: previous definition here
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/libretro/libretro.o: multiple definition of 'nAnalogSpeed'
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/gami.o: previous definition here
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/libretro/libretro.o: multiple definition of 'GameInpBlank(int)'
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/gami.o: previous definition here
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/libretro/libretro.o: multiple definition of 'GameInpInit()'
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/gami.o: previous definition here
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/libretro/libretro.o: multiple definition of 'nMaxMacro'
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/gami.o: previous definition here
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/libretro/libretro.o: multiple definition of 'GameInpDefault()'
/home/buildbot/tools/android/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: /home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/objs/retro/__/__/__/src/burner/gami.o: previous definition here
collect2: error: ld returned 1 exit status
/home/buildbot/tools/android/android-ndk-r13b/build/core/build-binary.mk:702: recipe for target '/home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/libretro.so' failed
make: *** [/home/buildbot/buildbot/android/libretro-fbalpha2012/svn-current/trunk/projectfiles/libretro-android/obj/local/armeabi-v7a/libretro.so] Error 1
COPY CMD: cp -v ../libs/armeabi-v7a/libretro.so /home/buildbot/buildbot/android/dist/android/armeabi-v7a/fbalpha2012_libretro_android.so
cp: cannot stat '../libs/armeabi-v7a/libretro.so': No such file or directory
CLEANUP CMD: ndk-build -j6  APP_ABI=armeabi-v7a clean
[armeabi-v7a] Clean          : gnustl_shared [armeabi-v7a]
[armeabi-v7a] Clean          : gnustl_static [armeabi-v7a]
[armeabi-v7a] Clean          : retro [armeabi-v7a]
sergiobenrocha2 commented 6 years ago

Did #72 fix it?