[FFmpeg-user] ffmpeg compiling issue on ARM (via mplayer)

X3fil xefil at xefil.com
Thu Aug 28 12:47:17 CEST 2014


Hello,

I'm trying to compile mplayer. Automatically it downloads ffmpeg and compile it. I got this error.
I think it's ffmpeg related looking on the file path that gives me the error, into ffmpeg folder.

System is Lubuntu 14.04 on arm (3.4.90 #2 SMP PREEMPT Tue Aug 5 14:11:40 CST 2014 armv7l armv7l 
armv7l GNU/Linux)

Error:

*******************************
CC      libavcodec/arm/h264dsp_init_arm.o
In file included from ./config.h:1:0,
                  from ./libavutil/arm/cpu.h:22,
                  from libavcodec/arm/h264dsp_init_arm.c:24:
./../config.h:618:0: warning: "HAVE_LOCAL_ALIGNED_8" redefined [enabled by default]
  #define HAVE_LOCAL_ALIGNED_8 1
  ^
./../config.h:524:0: note: this is the location of the previous definition
  #define HAVE_LOCAL_ALIGNED_8 0
  ^
./../config.h:619:0: warning: "HAVE_LOCAL_ALIGNED_16" redefined [enabled by default]
  #define HAVE_LOCAL_ALIGNED_16 1
  ^
./../config.h:525:0: note: this is the location of the previous definition
  #define HAVE_LOCAL_ALIGNED_16 0
  ^
In file included from ./libavutil/arm/cpu.h:24:0,
                  from libavcodec/arm/h264dsp_init_arm.c:24:
libavcodec/arm/h264dsp_init_arm.c: In function 'ff_h264dsp_init_arm':
./libavutil/cpu_internal.h:25:6: error: 'HAVE_SETEND' undeclared (first use in this function)
      (HAVE_ ## cpuext ## suffix && ((flags) & AV_CPU_FLAG_ ## cpuext))
       ^
./libavutil/cpu_internal.h:27:31: note: in expansion of macro 'CPUEXT_SUFFIX'
  #define CPUEXT(flags, cpuext) CPUEXT_SUFFIX(flags, , cpuext)
                                ^
./libavutil/arm/cpu.h:32:29: note: in expansion of macro 'CPUEXT'
  #define have_setend(flags)  CPUEXT(flags, SETEND)
                              ^
libavcodec/arm/h264dsp_init_arm.c:110:9: note: in expansion of macro 'have_setend'
      if (have_setend(cpu_flags))
          ^
./libavutil/cpu_internal.h:25:6: note: each undeclared identifier is reported only once for each 
function it appears in
      (HAVE_ ## cpuext ## suffix && ((flags) & AV_CPU_FLAG_ ## cpuext))
       ^
./libavutil/cpu_internal.h:27:31: note: in expansion of macro 'CPUEXT_SUFFIX'
  #define CPUEXT(flags, cpuext) CPUEXT_SUFFIX(flags, , cpuext)
                                ^
./libavutil/arm/cpu.h:32:29: note: in expansion of macro 'CPUEXT'
  #define have_setend(flags)  CPUEXT(flags, SETEND)
                              ^
libavcodec/arm/h264dsp_init_arm.c:110:9: note: in expansion of macro 'have_setend'
      if (have_setend(cpu_flags))
          ^
make[1]: *** [libavcodec/arm/h264dsp_init_arm.o] Error 1
make[1]: Leaving directory `/root/software/mplayer/ffmpeg'
make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2
*******************************

Any suggestion?

Thanks!

Simon


More information about the ffmpeg-user mailing list