[FFmpeg-trac] #7785(build system:new): [Android] Configure script: Wrong HAVE_ macros are created due to "-f may not be used without -shared" error

FFmpeg trac at avcodec.org
Mon Mar 11 02:20:30 EET 2019


#7785: [Android] Configure script: Wrong HAVE_ macros are created due to "-f may
not be used without -shared" error
-------------------------------------+-------------------------------------
             Reporter:  ESt          |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  build
                                     |  system
              Version:  git-master   |               Resolution:
             Keywords:  android      |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:  Android, shared, configure, ld, HAVE => android


Comment:

 Building for arm64-android works fine here with NDK r19b. Could you please
 retest with a simplified configure line without any extra-flags? It
 appears to me that `--sysroot` is not necessary anymore with NDK r19.
 Why did you specify `--disable-asm` and `--disable-pthreads`?
 {{{
 $ ./configure --cross-prefix=../android-ndk-r19b/toolchains/llvm/prebuilt
 /linux-x86_64/bin/aarch64-linux-android- --cc=../android-ndk-
 r19b/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-
 android21-clang --arch=arm64 --target-os=android
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7785#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list