[FFmpeg-user] Errors Compiling FFMPEG on MIPS

C E Macfarlane c.e.macfarlane at macfh.co.uk
Tue Aug 26 15:09:08 CEST 2014


As per this thread here ...
	http://ffmpeg.gusari.org/viewtopic.php?f=8&t=1638
... I am having trouble compiling FFMpeg on a mips QNAP NMP-1000.

As it is already beginning to look unlikely that I'll get any help in that
thread I'm wondering if anyone here can help me?

To recap briefly ...

I've tried:
	ffmpeg-2.2.tar.gz, downloaded 28-03-2014
	ffmpeg-2.2.7.tar.gz, downloaded within the last couple of days
	ffmpeg-2.3.3.tar.gz, downloaded within the last couple of days

Various configuration options have been tried, based around:

./configure --prefix=/opt/share --enable-gpl --enable-nonfree --enable-share
d --arch=mips --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --d
isable-mipsfpu --disable-doc --disable-htmlpages --disable-manpages --disabl
e-podpages --disable-txtpages

The error that always has occurred is

[ffmpeg-2.3.3]$ make
CC      libavdevice/alldevices.o
In file included from ./libavutil/internal.h:167,
                 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
./libavutil/libm.h:159: error: static declaration of 'lrint' follows
non-static declaration
./libavutil/libm.h:166: error: static declaration of 'lrintf' follows
non-static declaration
./libavutil/libm.h:173: error: static declaration of 'round' follows
non-static declaration
./libavutil/libm.h:180: error: static declaration of 'roundf' follows
non-static declaration
./libavutil/libm.h:187: error: static declaration of 'trunc' follows
non-static declaration
./libavutil/libm.h:194: error: static declaration of 'truncf' follows
non-static declaration
make: *** [libavdevice/alldevices.o] Error 1

It being an embedded unit, I'm beginning to suspect that the math.h header,
which is the only one on the machine and derives from an Open NMP
installation rather than the original firmware, may not reflect reality,
but, if this is the problem, I've no idea how to fix it.

Any help gratefully received.

Regards,

www.macfh.co.uk/CEMH.html



More information about the ffmpeg-user mailing list