[vlc-devel] 2.0.7 build fails: avcodec

Steven Loe stevenloe5000 at yahoo.com
Sat Jun 1 15:14:38 CEST 2013


First, I apologize for posting this to the dev list. I posted this to the Windows Troubleshooting forum and have gotten no response.

I'm trying to cross compile vlc 2.0.7 to win32 using the recipe here:http://wiki.videolan.org/Win32Compile. I'm using the 32 bit toolchain. When I make, I get the error: "make[6]: *** [libavcodec_plugin_la-copy.lo] Error 1".

I've tried this with vlc 2.1 pre and vlc 2.0.7. I get the same result. I've searched, I've googled. I'm not having luck finding info about this error. I'm running ubuntu 13.04 32 bit. 

Config complains about libva-x11: (it is installed on my system):

.
.
checking for libavutil/avutil.h... yes
checking for LIBVA... no
configure: WARNING: No package 'libva' found
No package 'libva-x11' found.
checking dxva2api.h usability... yes 
.


Config does succeed:

.
.
libvlc configuration
--------------------
version               : 2.0.7
system                : mingw32
architecture          : i586 mmx sse sse2
optimizations         : yes
vlc aliases           : cvlc rvlc svlc qvlc


However, Make fails:

.
.
Creating library file: .libs/libaout_file_plugin.dll.a
make[4]: Leaving directory `/home/s/vlc-2.0/win32/modules/audio_output'
make[3]: Leaving directory `/home/s/vlc-2.0/win32/modules/audio_output'
Making all in codec
make[3]: Entering directory `/home/s/vlc-2.0/win32/modules/codec'
make  all-recursive
make[4]: Entering directory `/home/s/vlc-2.0/win32/modules/codec'
Making all in loader
make[5]: Entering directory `/home/s/vlc-2.0/win32/modules/codec/loader'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/s/vlc-2.0/win32/modules/codec/loader'
Making all in dmo
make[5]: Entering directory `/home/s/vlc-2.0/win32/modules/codec/dmo'
make  all-am
make[6]: Entering directory `/home/s/vlc-2.0/win32/modules/codec/dmo'
  CC     libdmo_plugin_la-dmo.lo
../../../../extras/package/win32/../../../modules/codec/dmo/dmo.c: In function 'LoadDMO':
../../../../extras/package/win32/../../../modules/codec/dmo/dmo.c:814: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../extras/package/win32/../../../modules/codec/dmo/dmo.c:824: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../extras/package/win32/../../../modules/codec/dmo/dmo.c: In function 'EncoderSetVideoType':
../../../../extras/package/win32/../../../modules/codec/dmo/dmo.c:1236: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CC     libdmo_plugin_la-buffer.lo
  CCLD   libdmo_plugin.la
Creating library file: .libs/libdmo_plugin.dll.a
make[6]: Leaving directory `/home/s/vlc-2.0/win32/modules/codec/dmo'
make[5]: Leaving directory `/home/s/vlc-2.0/win32/modules/codec/dmo'
Making all in avcodec
make[5]: Entering directory `/home/s/vlc-2.0/win32/modules/codec/avcodec'
make  all-am
make[6]: Entering directory `/home/s/vlc-2.0/win32/modules/codec/avcodec'
  CC     libavcodec_plugin_la-avcodec.lo
../../../../extras/package/win32/../../../modules/codec/avcodec/avcodec.c: In function 'OpenDecoder':
../../../../extras/package/win32/../../../modules/codec/avcodec/avcodec.c:249: warning: comparison between signed and unsigned
../../../../extras/package/win32/../../../modules/codec/avcodec/avcodec.c:278: warning: 'dsp_mask' is deprecated (declared at /home/s/vlc-2.0/contrib/i586-mingw32msvc/include/libavcodec/avcodec.h:2649)
../../../../extras/package/win32/../../../modules/codec/avcodec/avcodec.c:281: warning: 'dsp_mask' is deprecated (declared at /home/s/vlc-2.0/contrib/i586-mingw32msvc/include/libavcodec/avcodec.h:2649)
../../../../extras/package/win32/../../../modules/codec/avcodec/avcodec.c:285: warning: 'dsp_mask' is deprecated (declared at /home/s/vlc-2.0/contrib/i586-mingw32msvc/include/libavcodec/avcodec.h:2649)
../../../../extras/package/win32/../../../modules/codec/avcodec/avcodec.c:289: warning: 'dsp_mask' is deprecated (declared at /home/s/vlc-2.0/contrib/i586-mingw32msvc/include/libavcodec/avcodec.h:2649)
../../../../extras/package/win32/../../../modules/codec/avcodec/avcodec.c:293: warning: 'dsp_mask' is deprecated (declared at /home/s/vlc-2.0/contrib/i586-mingw32msvc/include/libavcodec/avcodec.h:2649)
../../../../extras/package/win32/../../../modules/codec/avcodec/avcodec.c:297: warning: 'dsp_mask' is deprecated (declared at /home/s/vlc-2.0/contrib/i586-mingw32msvc/include/libavcodec/avcodec.h:2649)
../../../../extras/package/win32/../../../modules/codec/avcodec/avcodec.c:301: warning: 'dsp_mask' is deprecated (declared at /home/s/vlc-2.0/contrib/i586-mingw32msvc/include/libavcodec/avcodec.h:2649)
../../../../extras/package/win32/../../../modules/codec/avcodec/avcodec.c:305: warning: 'dsp_mask' is deprecated (declared at /home/s/vlc-2.0/contrib/i586-mingw32msvc/include/libavcodec/avcodec.h:2649)
../../../../extras/package/win32/../../../modules/codec/avcodec/avcodec.c:309: warning: 'dsp_mask' is deprecated (declared at /home/s/vlc-2.0/contrib/i586-mingw32msvc/include/libavcodec/avcodec.h:2649)
../../../../extras/package/win32/../../../modules/codec/avcodec/avcodec.c:313: warning: 'dsp_mask' is deprecated (declared at /home/s/vlc-2.0/contrib/i586-mingw32msvc/include/libavcodec/avcodec.h:2649)
  CC     libavcodec_plugin_la-video.lo
In file included from ../../../../extras/package/win32/../../../modules/codec/avcodec/avcodec.h:25,
                 from ../../../../extras/package/win32/../../../modules/codec/avcodec/video.c:62:
../../../config.h:759:1: warning: "_WIN32_WINNT" redefined
../../../../extras/package/win32/../../../modules/codec/avcodec/video.c:36:1: warning: this is the location of the previous definition
../../../../extras/package/win32/../../../modules/codec/avcodec/video.c:104:3: warning: #warning FIXME
../../../../extras/package/win32/../../../modules/codec/avcodec/video.c: In function 'InitVideoDec':
../../../../extras/package/win32/../../../modules/codec/avcodec/video.c:254: warning: 'lowres' is deprecated (declared at /home/s/vlc-2.0/contrib/i586-mingw32msvc/include/libavcodec/avcodec.h:2671)
../../../../extras/package/win32/../../../modules/codec/avcodec/video.c:446:3: warning: #warning FIXME
../../../../extras/package/win32/../../../modules/codec/avcodec/video.c: In function 'DecodeVideo':
../../../../extras/package/win32/../../../modules/codec/avcodec/video.c:651: warning: comparison between signed and unsigned
  CC     libavcodec_plugin_la-subtitle.lo
  CC     libavcodec_plugin_la-audio.lo
../../../../extras/package/win32/../../../modules/codec/avcodec/audio.c: In function 'InitDecoderConfig':
../../../../extras/package/win32/../../../modules/codec/avcodec/audio.c:137: warning: comparison between signed and unsigned
../../../../extras/package/win32/../../../modules/codec/avcodec/audio.c: In function 'DecodeAudio':
../../../../extras/package/win32/../../../modules/codec/avcodec/audio.c:310: warning: comparison between signed and unsigned
../../../../extras/package/win32/../../../modules/codec/avcodec/audio.c:310: warning: signed and unsigned type in conditional expression
../../../../extras/package/win32/../../../modules/codec/avcodec/audio.c:320: warning: 'avcodec_decode_audio3' is deprecated (declared at /home/s/vlc-2.0/contrib/i586-mingw32msvc/include/libavcodec/avcodec.h:3560)
../../../../extras/package/win32/../../../modules/codec/avcodec/audio.c: In function 'SetupOutputFormat':
../../../../extras/package/win32/../../../modules/codec/avcodec/audio.c:469: warning: comparison between signed and unsigned
  CC     libavcodec_plugin_la-deinterlace.lo
  CC     libavcodec_plugin_la-fourcc.lo
  CC     libavcodec_plugin_la-chroma.lo
  CC     libavcodec_plugin_la-vaapi.lo
  CC     libavcodec_plugin_la-dxva2.lo
In file included from ../../../../extras/package/win32/../../../modules/codec/avcodec/avcodec.h:25,
                 from ../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:56:
../../../config.h:759:1: warning: "_WIN32_WINNT" redefined
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:35:1: warning: this is the location of the previous definition
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:94: warning: 'IID_IDirectXVideoDecoderService' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:95: warning: 'IID_IDirectXVideoAccelerationService' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:97: warning: 'DXVA_NoEncrypt' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:100: warning: 'DXVA2_ModeMPEG2_MoComp' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:101: warning: 'DXVA2_ModeMPEG2_IDCT' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:102: warning: 'DXVA2_ModeMPEG2_VLD' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:103: warning: 'DXVA2_ModeMPEG2and1_VLD' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:104: warning: 'DXVA2_ModeMPEG1_VLD' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:106: warning: 'DXVA2_ModeH264_A' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:107: warning: 'DXVA2_ModeH264_B' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:108: warning: 'DXVA2_ModeH264_C' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:109: warning: 'DXVA2_ModeH264_D' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:110: warning: 'DXVA2_ModeH264_E' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:111: warning: 'DXVA2_ModeH264_F' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:112: warning: 'DXVA_ModeH264_VLD_Multiview' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:113: warning: 'DXVA_ModeH264_VLD_WithFMOASO_NoFGT' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:114: warning: 'DXVADDI_Intel_ModeH264_A' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:115: warning: 'DXVADDI_Intel_ModeH264_C' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:116: warning: 'DXVADDI_Intel_ModeH264_E' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:117: warning: 'DXVA_ModeH264_VLD_NoFGT_Flash' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:119: warning: 'DXVA2_ModeWMV8_A' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:120: warning: 'DXVA2_ModeWMV8_B' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:122: warning: 'DXVA2_ModeWMV9_A' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:123: warning: 'DXVA2_ModeWMV9_B' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:124: warning: 'DXVA2_ModeWMV9_C' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:126: warning: 'DXVA2_ModeVC1_A' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:127: warning: 'DXVA2_ModeVC1_B' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:128: warning: 'DXVA2_ModeVC1_C' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:129: warning: 'DXVA2_ModeVC1_D' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:130: warning: 'DXVA2_ModeVC1_D2010' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:131: warning: 'DXVA_Intel_VC1_ClearVideo' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:132: warning: 'DXVA_Intel_VC1_ClearVideo_2' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:134: warning: 'DXVA_nVidia_MPEG4_ASP' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:135: warning: 'DXVA_ModeMPEG4pt2_VLD_Simple' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:136: warning: 'DXVA_ModeMPEG4pt2_VLD_AdvSimple_NoGMC' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:137: warning: 'DXVA_ModeMPEG4pt2_VLD_AdvSimple_GMC' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:138: warning: 'DXVA_ModeMPEG4pt2_VLD_AdvSimple_Avivo' initialized and declared 'extern'
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c: In function 'DxCreateVideoService':
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:746: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CC     libavcodec_plugin_la-copy.lo
../../../../extras/package/win32/../../../modules/codec/avcodec/copy.c:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
../../../../extras/package/win32/../../../modules/codec/avcodec/copy.c:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
../../../../extras/package/win32/../../../modules/codec/avcodec/copy.c:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
../../../../extras/package/win32/../../../modules/codec/avcodec/copy.c: In function 'SSE_CopyPlane':
../../../../extras/package/win32/../../../modules/codec/avcodec/copy.c:253: error: implicit declaration of function 'CopyFromUswc'
../../../../extras/package/win32/../../../modules/codec/avcodec/copy.c:258: error: implicit declaration of function 'Copy2d'
../../../../extras/package/win32/../../../modules/codec/avcodec/copy.c: In function 'SSE_SplitPlanes':
../../../../extras/package/win32/../../../modules/codec/avcodec/copy.c:287: error: implicit declaration of function 'SSE_SplitUV'
make[6]: *** [libavcodec_plugin_la-copy.lo] Error 1
make[6]: Leaving directory `/home/s/vlc-2.0/win32/modules/codec/avcodec'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/s/vlc-2.0/win32/modules/codec/avcodec'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/s/vlc-2.0/win32/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/s/vlc-2.0/win32/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/s/vlc-2.0/win32/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/s/vlc-2.0/win32'
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20130601/7171364d/attachment.html>


More information about the vlc-devel mailing list