[FFmpeg-user] Android compile with --enable-jni is using Objective C
jonsmirl at gmail.com
jonsmirl at gmail.com
Sun May 28 22:53:09 EEST 2017
That was misleading from configure.log
Actual problem was not setting --target-os=android
On Sun, May 28, 2017 at 3:47 PM, jonsmirl at gmail.com <jonsmirl at gmail.com> wrote:
> here is rest of it...
>
> aarch64-linux-android-gcc --sysroot=/home/jonsmirl/arm64/sysroot
> -isysroot /home/jonsmirl/arm64/sysroot -mcpu=cortex-a53
> -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.Nj0qd3Ec/test
> /tmp/ffconf.Nj0qd3Ec/test.o -lm -lz -pthread -pthread
> /tmp/ffconf.Nj0qd3Ec/test.o: In function `foo':
> test.c:(.text+0x7c): undefined reference to `cexp'
> collect2: error: ld returned 1 exit status
> check_header_objcc QuartzCore/CoreImage.h
> check_objcc
> BEGIN /tmp/ffconf.Nj0qd3Ec/test.m
> 1 #include <QuartzCore/CoreImage.h>
> 2 int main(void) { return 0; }
> END /tmp/ffconf.Nj0qd3Ec/test.m
> aarch64-linux-android-gcc -Werror=missing-prototypes
> --sysroot=/home/jonsmirl/arm64/sysroot -isysroot
> /home/jonsmirl/arm64/sysroot -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC -fpic
> -mcpu=cortex-a53 -std=c11 -fomit-frame-pointer -fPIC -pthread -c -o
> /tmp/ffconf.Nj0qd3Ec/test.o /tmp/ffconf.Nj0qd3Ec/test.m
> aarch64-linux-android-gcc: error: /tmp/ffconf.Nj0qd3Ec/test.m:
> Objective-C compiler not installed on this system
> check_header_objcc QuartzCore/CoreImage.h
> check_objcc
> BEGIN /tmp/ffconf.Nj0qd3Ec/test.m
> 1 #include <QuartzCore/CoreImage.h>
> 2 int main(void) { return 0; }
> END /tmp/ffconf.Nj0qd3Ec/test.m
>
> On Sun, May 28, 2017 at 3:44 PM, jonsmirl at gmail.com <jonsmirl at gmail.com> wrote:
>> This configure test can't be right on an Android build.....
>> I'm trying to turn on MediaCodec support.
>>
>> aarch64-linux-android-gcc -Werror=missing-prototypes
>> --sysroot=/home/jonsmirl/arm64/sysroot -isysroot
>> /home/jonsmirl/arm64/sysroot -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
>> -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC -fpic
>> -mcpu=cortex-a53 -std=c11 -fomit-frame-pointer -fPIC -pthread -c -o
>> /tmp/ffconf.Nj0qd3Ec/test.o /tmp/ffconf.Nj0qd3Ec/test.m
>> aarch64-linux-android-gcc: error: /tmp/ffconf.Nj0qd3Ec/test.m:
>> Objective-C compiler not installed on this system
>> ERROR: jni not found
>>
>>
>> --
>> Jon Smirl
>> jonsmirl at gmail.com
>
>
>
> --
> Jon Smirl
> jonsmirl at gmail.com
--
Jon Smirl
jonsmirl at gmail.com
More information about the ffmpeg-user
mailing list