[FFmpeg-devel] compile error for few days

Masaru Nomiya nomiya at galaxy.dti.ne.jp
Sun Jul 1 10:50:40 CEST 2012


Hello,

In the Message; 

  Subject    : Re: [FFmpeg-devel] compile error for few days
  Message-ID : <CAKqR_u78nfkWaZ7EXT0K3Z45Y_oB9V2ptN70qBGOWL7oO9k+xg at mail.gmail.com>
  Date & Time: Sun, 1 Jul 2012 15:38:42 +0800

"Geek.Song" <ffmpeg at gmail.com> has written:

>> [...]
>> In file included from ./libavutil/libm.h:30:0,
>>                  from ./libavutil/internal.h:182,
>>                  from ./libavutil/common.h:355,
>>                  from ./libavutil/avutil.h:305,
>>                  from ./libavutil/samplefmt.h:22,
>>                  from libavcodec/avcodec.h:30,
>>                  from libavcodec/libutvideodec.cpp:28:
>> ./libavutil/intfloat.h: In function 'float av_int2float(uint32_t)':
>> ./libavutil/intfloat.h:42:31: error: expected primary-expression before '.' token
>> ./libavutil/intfloat.h: In function 'uint32_t av_float2int(float)':
>> ./libavutil/intfloat.h:51:31: error: expected primary-expression before '.' token
>> ./libavutil/intfloat.h: In function 'double av_int2double(uint64_t)':
>> ./libavutil/intfloat.h:60:31: error: expected primary-expression before '.' token
>> ./libavutil/intfloat.h: In function 'uint64_t av_double2int(double)':
>> ./libavutil/intfloat.h:69:31: error: expected primary-expression before '.' token
>> make: *** [libavcodec/libutvideodec.o] error 1
>>
>>

> try this patch:

> Index: intfloat.h
> ===================================================================
> --- intfloat.h	(revision 3492)
> +++ intfloat.h	(revision 3856)
> @@ -39,7 +39,12 @@
>   */
>  static av_always_inline float av_int2float(uint32_t i)
>  {
[...]
> +#else
>      union av_intfloat64 v = { .f = f };
> +#endif
>      return v.i;
>  }

Thanks. I could compile.

But I got a warnig message;

$ ./ffplay -V

ffplay version N-42091-gf7cba73 Copyright (c) 2003-2012 the FFmpeg developers
  built on Jul  1 2012 17:41:48 with gcc 4.6.3 20120531 [gcc-4_6-branch revision 188067]
  configuration: --enable-libfaac --enable-gpl --enable-libtheora --enable-libxvid --enable-nonfree --enable-libx264 --enable-libmp3lame --enable-libnut --enable-x11grab --disable-static --enable-shared --enable-libvorbis --enable-libschroedinger --enable-libdc1394 --enable-libgsm --enable-avfilter --libdir=/usr/local/lib64 --prefix=/usr/local --shlibdir=/usr/local/lib64 --enable-postproc --disable-swscale-alpha --enable-libspeex --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-librtmp --enable-libopenjpeg --enable-libvpx --enable-frei0r --enable-libxavs --enable-vdpau --enable-libfreetype --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-openal --enable-libcelt --enable-libcdio --enable-libaacplus --enable-libmodplug --enable-gnutls --enable-openssl --enable-libv4l2 --enable-libass --enable-libbluray
  WARNING: library configuration mismatch
  avutil      configuration: --enable-libfaac --enable-gpl --enable-libtheora --enable-libxvid --enable-nonfree --enable-libx264 --enable-libmp3lame --enable-libnut --enable-x11grab --disable-static --enable-shared --enable-libvorbis --enable-libschroedinger --enable-libdc1394 --enable-libgsm --enable-avfilter --libdir=/usr/local/lib64 --prefix=/usr/local --shlibdir=/usr/local/lib64 --enable-postproc --disable-swscale-alpha --enable-libspeex --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-librtmp --enable-libopenjpeg --enable-libvpx --enable-frei0r --enable-libxavs --enable-vdpau --enable-libfreetype --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-openal --enable-libcelt --enable-libcdio --enable-libaacplus --enable-libmodplug --enable-gnutls --enable-openssl --enable-libv4l2 --enable-libass --enable-libutvideo --enable-libbluray
  avcodec     configuration: --enable-libfaac --enable-gpl --enable-libtheora --enable-libxvid --enable-nonfree --enable-libx264 --enable-libmp3lame --enable-libnut --enable-x11grab --disable-static --enable-shared --enable-libvorbis --enable-libschroedinger --enable-libdc1394 --enable-libgsm --enable-avfilter --libdir=/usr/local/lib64 --prefix=/usr/local --shlibdir=/usr/local/lib64 --enable-postproc --disable-swscale-alpha --enable-libspeex --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-librtmp --enable-libopenjpeg --enable-libvpx --enable-frei0r --enable-libxavs --enable-vdpau --enable-libfreetype --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-openal --enable-libcelt --enable-libcdio --enable-libaacplus --enable-libmodplug --enable-gnutls --enable-openssl --enable-libv4l2 --enable-libass --enable-libutvideo --enable-libbluray
  avformat    configuration: --enable-libfaac --enable-gpl --enable-libtheora --enable-libxvid --enable-nonfree --enable-libx264 --enable-libmp3lame --enable-libnut --enable-x11grab --disable-static --enable-shared --enable-libvorbis --enable-libschroedinger --enable-libdc1394 --enable-libgsm --enable-avfilter --libdir=/usr/local/lib64 --prefix=/usr/local --shlibdir=/usr/local/lib64 --enable-postproc --disable-swscale-alpha --enable-libspeex --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-librtmp --enable-libopenjpeg --enable-libvpx --enable-frei0r --enable-libxavs --enable-vdpau --enable-libfreetype --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-openal --enable-libcelt --enable-libcdio --enable-libaacplus --enable-libmodplug --enable-gnutls --enable-openssl --enable-libv4l2 --enable-libass --enable-libutvideo --enable-libbluray
  avdevice    configuration: --enable-libfaac --enable-gpl --enable-libtheora --enable-libxvid --enable-nonfree --enable-libx264 --enable-libmp3lame --enable-libnut --enable-x11grab --disable-static --enable-shared --enable-libvorbis --enable-libschroedinger --enable-libdc1394 --enable-libgsm --enable-avfilter --libdir=/usr/local/lib64 --prefix=/usr/local --shlibdir=/usr/local/lib64 --enable-postproc --disable-swscale-alpha --enable-libspeex --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-librtmp --enable-libopenjpeg --enable-libvpx --enable-frei0r --enable-libxavs --enable-vdpau --enable-libfreetype --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-openal --enable-libcelt --enable-libcdio --enable-libaacplus --enable-libmodplug --enable-gnutls --enable-openssl --enable-libv4l2 --enable-libass --enable-libutvideo --enable-libbluray
  avfilter    configuration: --enable-libfaac --enable-gpl --enable-libtheora --enable-libxvid --enable-nonfree --enable-libx264 --enable-libmp3lame --enable-libnut --enable-x11grab --disable-static --enable-shared --enable-libvorbis --enable-libschroedinger --enable-libdc1394 --enable-libgsm --enable-avfilter --libdir=/usr/local/lib64 --prefix=/usr/local --shlibdir=/usr/local/lib64 --enable-postproc --disable-swscale-alpha --enable-libspeex --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-librtmp --enable-libopenjpeg --enable-libvpx --enable-frei0r --enable-libxavs --enable-vdpau --enable-libfreetype --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-openal --enable-libcelt --enable-libcdio --enable-libaacplus --enable-libmodplug --enable-gnutls --enable-openssl --enable-libv4l2 --enable-libass --enable-libutvideo --enable-libbluray
  swscale     configuration: --enable-libfaac --enable-gpl --enable-libtheora --enable-libxvid --enable-nonfree --enable-libx264 --enable-libmp3lame --enable-libnut --enable-x11grab --disable-static --enable-shared --enable-libvorbis --enable-libschroedinger --enable-libdc1394 --enable-libgsm --enable-avfilter --libdir=/usr/local/lib64 --prefix=/usr/local --shlibdir=/usr/local/lib64 --enable-postproc --disable-swscale-alpha --enable-libspeex --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-librtmp --enable-libopenjpeg --enable-libvpx --enable-frei0r --enable-libxavs --enable-vdpau --enable-libfreetype --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-openal --enable-libcelt --enable-libcdio --enable-libaacplus --enable-libmodplug --enable-gnutls --enable-openssl --enable-libv4l2 --enable-libass --enable-libutvideo --enable-libbluray
  swresample  configuration: --enable-libfaac --enable-gpl --enable-libtheora --enable-libxvid --enable-nonfree --enable-libx264 --enable-libmp3lame --enable-libnut --enable-x11grab --disable-static --enable-shared --enable-libvorbis --enable-libschroedinger --enable-libdc1394 --enable-libgsm --enable-avfilter --libdir=/usr/local/lib64 --prefix=/usr/local --shlibdir=/usr/local/lib64 --enable-postproc --disable-swscale-alpha --enable-libspeex --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-librtmp --enable-libopenjpeg --enable-libvpx --enable-frei0r --enable-libxavs --enable-vdpau --enable-libfreetype --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-openal --enable-libcelt --enable-libcdio --enable-libaacplus --enable-libmodplug --enable-gnutls --enable-openssl --enable-libv4l2 --enable-libass --enable-libutvideo --enable-libbluray
  postproc    configuration: --enable-libfaac --enable-gpl --enable-libtheora --enable-libxvid --enable-nonfree --enable-libx264 --enable-libmp3lame --enable-libnut --enable-x11grab --disable-static --enable-shared --enable-libvorbis --enable-libschroedinger --enable-libdc1394 --enable-libgsm --enable-avfilter --libdir=/usr/local/lib64 --prefix=/usr/local --shlibdir=/usr/local/lib64 --enable-postproc --disable-swscale-alpha --enable-libspeex --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-librtmp --enable-libopenjpeg --enable-libvpx --enable-frei0r --enable-libxavs --enable-vdpau --enable-libfreetype --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-openal --enable-libcelt --enable-libcdio --enable-libaacplus --enable-libmodplug --enable-gnutls --enable-openssl --enable-libv4l2 --enable-libass --enable-libutvideo --enable-libbluray
  libavutil      51. 63.100 / 51. 63.100
  libavcodec     54. 31.100 / 54. 31.100
  libavformat    54. 14.100 / 54. 14.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     3.  0.100 /  3.  0.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100

I can't understand this messages meanings.

Regards,

---
┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Bill! You married with Computers.
          Not with Me!"
         "No..., with money."


More information about the ffmpeg-devel mailing list