`multiple definition of 'FT_` etc

Create issue
Issue #135 resolved
Seppi created an issue

Howdy, I'm trying to build love-android-sdl2, but am having problems.

I've installed love 0.10.1 and this is what I get when I run ndk-build

http://50.116.63.25/public/love-android-sdl2.log

Here is the nm of freetype.a:

http://50.116.63.25/public/freetype.a.log

@bartbes says it might have something to do with dependency miscompilation

Comments (4)

  1. Seppi reporter

    I tried this workaround: https://bitbucket.org/MartinFelis/love-android-sdl2/issues/127/androideabi-48-missing-in-android-ndk-r11c#comment-28739396

    It says:

    [armeabi] SharedLibrary  : liblove.so
    arm-linux-androideabi-g++: error: unrecognized command line option '--allow-multiple-definition'
    /home/lover/android-ndk-r12b/build/core/build-binary.mk:677: recipe for target 'obj/local/armeabi/liblove.so' failed
    make: *** [obj/local/armeabi/liblove.so] Error 1
    make: *** Waiting for unfinished jobs....
    
  2. Martin Felis repo owner

    The workaround works for me and I have just pushed a new change with it (08b116c). Can you try with that? Also try to build it from a new clone or run ndk-build clean before running the actual build.

  3. Log in to comment