[vlc-devel] error cross compiling git master

Roger Pack rogerdpack2 at gmail.com
Tue May 20 17:43:51 CEST 2014


As a note, attempting to cross compile [mingw-w64] git master today, I
got pretty far before running into this, FWIW.
Cheers!
-roger-

  CC       codec/avcodec/libswscale_plugin_la-chroma.lo
  CCLD     libswscale_plugin.la
  CC       codec/jpeg.lo
In file included from
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/include/jpeglib.h:29:0,
                 from codec/jpeg.c:30:
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/include/jmorecfg.h:163:14:
error: conflicting types for 'INT32'
 typedef long INT32;
              ^
In file included from
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/include/winnt.h:134:0,
                 from
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/include/minwindef.h:146,
                 from
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/include/windef.h:8,
                 from
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/include/windows.h:69,
                 from ../include/vlc_common.h:401,
                 from codec/jpeg.c:27:
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/include/basetsd.h:31:22:
note: previous declaration of 'INT32' was here
   typedef signed int INT32,*PINT32;
                      ^
codec/jpeg.c: In function 'EncodeBlock':
codec/jpeg.c:354:5: warning: passing argument 3 of 'jpeg_mem_dest'
from incompatible pointer type [enabled by default]
     jpeg_mem_dest(&p_sys->p_jpeg, &p_block->p_buffer, &p_block->i_buffer);
     ^
In file included from codec/jpeg.c:30:0:
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/include/jpeglib.h:1005:14:
note: expected 'long unsigned int *' but argument is of type 'size_t
*'
 EXTERN(void) jpeg_mem_dest JPP((j_compress_ptr cinfo,
              ^
make[4]: *** [codec/jpeg.lo] Error 1
make[4]: Leaving directory
`/home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/win32/vlc/modules'



More information about the vlc-devel mailing list