[FFmpeg-user] ffmpeg4android and missing math functions

C E Macfarlane c.e.macfarlane at macfh.co.uk
Thu Oct 30 00:39:22 CET 2014


As requested, here is the output from the cross-compilation effort:

/home/Embedded/cross-compiler-mipsel/ffmpeg-2.4.2# export
PATH="/home/Embedded/cross-compiler-mipsel/bin:$PATH"
/home/Embedded/cross-compiler-mipsel/ffmpeg-2.4.2# mipsel-gcc --version
uClibc mipsel-rawgcc (GCC) 4.1.2
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
/home/Embedded/cross-compiler-mipsel/ffmpeg-2.4.2#
./configure --prefix=/opt/share --disable-mipsdspr1 --disable-mipsdspr2 --en
able-cross-compile --arch=mipsel --target-os=linux --cross-prefix=mipsel- --
cc=mipsel-gcc --cxx=mipsel-g++
/home/Embedded/cross-compiler-mipsel/ffmpeg-2.4.2# make
CC	libavdevice/alldevices.o
In file included from ./libavutil/internal.h:168,
                 from ./libavutil/common.h:415,
                 from ./libavutil/avutil.h:289,
                 from ./libavutil/log.h:25,
                 from libavdevice/avdevice.h:46,
                 from libavdevice/alldevices.c:22:
./libavutil/libm.h:88: error: static declaration of 'fminf' follows
non-static declaration
make: *** [libavdevice/alldevices.o] Error 1
/home/Embedded/cross-compiler-mipsel/ffmpeg-2.4.2# grep HAVE_FMINF config.h
#define HAVE_FMINF 0

www.macfh.co.uk/CEMH.html

>     -----Original Message-----
>     From: ffmpeg-user-bounces at ffmpeg.org
>     [mailto:ffmpeg-user-bounces at ffmpeg.org]On Behalf Of Carl Eugen Hoyos
>     Sent: 29 October 2014 09:32
>     To: ffmpeg-user at ffmpeg.org
>     Subject: Re: [FFmpeg-user] ffmpeg4android and missing math functions
>
>
>     C E Macfarlane <c.e.macfarlane <at> macfh.co.uk> writes:
>
>     > https://ffmpeg.org/pipermail/ffmpeg-user/2014-August/023120.html
>     >
>     > I have now got the same errors by two completely different
>     methods ...
>     > 	1)	Compiling with the native GCC on the target device
>     > 	2)	Compiling with a cross-toolchain
>
>     Do you want to discuss one or both of them?
>
>     I asked for the output of "grep HAVE_FMINF config.h"
>     but didn't find it in your long answer.




More information about the ffmpeg-user mailing list