[FFmpeg-devel] Changes in cofigure script

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Jun 29 19:47:08 EEST 2019



On 29.06.2019, at 18:26, Dmitry A <dmitry.adjiev at gmail.com> wrote:

> сб, 29 июн. 2019 г. в 21:43, Dmitry A <dmitry.adjiev at gmail.com>:
> 
>> 
>> 
>> сб, 29 июн. 2019 г. в 19:11, Dmitry A <dmitry.adjiev at gmail.com>:
>> 
>>> 
>>> 
>>> сб, 29 июн. 2019 г. в 19:04, Carl Eugen Hoyos <ceffmpeg at gmail.com>:
>>> 
>>>> Am Sa., 29. Juni 2019 um 14:23 Uhr schrieb Dmitry A <
>>>> dmitry.adjiev at gmail.com>:
>>>> 
>>>>> What is right way to make changes in the cofigure script?
>>>>> I hacked it for building ffmpeg for android since clang doesn't
>>>>> support -mcpu and -march or something else.
>>>> 
>>>> Please elaborate, building for Android works fine here.
>>>> 
>>>> Carl eugen
>>>> _______________________________________________
>>>> ffmpeg-devel mailing list
>>>> ffmpeg-devel at ffmpeg.org
>>>> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>>> 
>>>> To unsubscribe, visit link above, or email
>>>> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>>> 
>>> 
>>> I integrated ffmpeg in aosp inside for one micro chip. I created simple
>>> library <https://github.com/GNUDimarik/divomedia> for implementation
>>> fake camera based on video file etc.
>>> But I built the latest ffmpeg with latest NDK. Please share the options
>>> which you use.
>>> 
>> --
>>> Thanks!
>>> Dmitry
>>> 
>> 
>> One more question: did you build it for android with NDK with clang?
>> If so please share your configure options.
>> Also I remember some errors related with vairable names such as B0.
>> I'll share the output later.
>> --
>> Thanks!
>> Dmitry
>> 
> 
> That's what I told:
> 
> BEGIN /tmp/ffconf.MukWI5j9/test.c
>    1 int main(void){ return 0; }
> END /tmp/ffconf.MukWI5j9/test.c
> /d/Android/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/aarch64-linux-androideabi-gcc
> --sysroot=/d/Android/android-sdk/ndk-bundle/platforms/android-29/arch-arm64/
> -Os -fpic -mcpu= -c -o /tmp/ffconf.MukWI5j9/test.o
> /tmp/ffconf.MukWI5j9/test.c
> clang: warning: joined argument expects additional value: '-mcpu='
> [-Wunused-command-line-argument]

That is the real error.
the mcpu argument is empty, which makes no sense.
You need to find out why/how that happens.


More information about the ffmpeg-devel mailing list