[daala] [Daala] Compilation failed with MinGW

Kurtnoise kurtnoise at free.fr
Sun Sep 28 03:06:34 PDT 2014


Hi,

I'm trying to compile the daala project 0.0-676-gb035e4a on minGW 
platform but I've got this error during the "make tools" :

In file included from Q:/dev/MSYS/include/ogg/os_types.h:38:0,
                  from Q:/dev/MSYS/include/ogg/ogg.h:25,
                  from src/../include/daala/codec.h:51,
                  from src/internal.h:28,
                  from src/entcode.h:29,
                  from src/entcode.c:29:
Q:/dev/MSYS/include/sys/types.h:137:14: error: conflicting types for 
'ssize_t'
  typedef long ssize_t;
               ^
In file included from Q:/dev/MSYS/include/ogg/os_types.h:38:0,
                  from Q:/dev/MSYS/include/ogg/ogg.h:25,
                  from src/../include/daala/codec.h:51,
                  from src/odintrin.h:29,
                  from src/block_size.h:28,
                  from src/block_size.c:29:
Q:/dev/MSYS/include/sys/types.h:137:14: error: conflicting types for 
'ssize_t'
  typedef long ssize_t;
               ^
In file included from Q:/dev/MSYS/include/ogg/os_types.h:38:0,
                  from Q:/dev/MSYS/include/ogg/ogg.h:25,
                  from src/../include/daala/codec.h:51,
                  from src/internal.h:28,
                  from src/adapt.c:31:
Q:/dev/MSYS/include/sys/types.h:137:14: error: conflicting types for 
'ssize_t'
  typedef long ssize_t;
               ^
In file included from Q:/dev/MSYS/include/ogg/os_types.h:38:0,
                  from Q:/dev/MSYS/include/ogg/ogg.h:25,
                  from src/../include/daala/codec.h:51,
                  from src/internal.h:28,
                  from src/entcode.h:29,
                  from src/entdec.h:28,
                  from src/entdec.c:29:
Q:/dev/MSYS/include/sys/types.h:137:14: error: conflicting types for 
'ssize_t'
  typedef long ssize_t;
               ^
In file included from 
q:\dev\msys\mingw\i686-w64-mingw32\include\crtdefs.h:10:0,

                  from 
q:\dev\msys\mingw\i686-w64-mingw32\include\stddef.h:7,
                  from 
q:\dev\msys\mingw\lib\gcc\i686-w64-mingw32\4.9.1\include\s
tddef.h:1,
                  from src/entcode.h:28,
                  from src/entcode.c:29:
q:\dev\msys\mingw\i686-w64-mingw32\include\_mingw.h:389:13: note: 
previous decla
ration of 'ssize_t' was here
  typedef int ssize_t;
              ^
In file included from 
q:\dev\msys\mingw\i686-w64-mingw32\include\crtdefs.h:10:0,

                  from 
q:\dev\msys\mingw\i686-w64-mingw32\include\stddef.h:7,
                  from 
q:\dev\msys\mingw\lib\gcc\i686-w64-mingw32\4.9.1\include\s
tddef.h:1,
                  from Q:/dev/MSYS/include/string.h:18,
                  from src/odintrin.h:28,
                  from src/block_size.h:28,
                  from src/block_size.c:29:
q:\dev\msys\mingw\i686-w64-mingw32\include\_mingw.h:389:13: note: 
previous decla
ration of 'ssize_t' was here
  typedef int ssize_t;
              ^
In file included from 
q:\dev\msys\mingw\i686-w64-mingw32\include\crtdefs.h:10:0,

                  from 
q:\dev\msys\mingw\i686-w64-mingw32\include\stddef.h:7,
                  from 
q:\dev\msys\mingw\lib\gcc\i686-w64-mingw32\4.9.1\include\s
tddef.h:1,
                  from Q:/dev/MSYS/include/stdlib.h:17,
                  from src/adapt.c:29:
q:\dev\msys\mingw\i686-w64-mingw32\include\_mingw.h:389:13: note: 
previous decla
ration of 'ssize_t' was here
  typedef int ssize_t;
              ^
In file included from 
q:\dev\msys\mingw\i686-w64-mingw32\include\crtdefs.h:10:0,

                  from 
q:\dev\msys\mingw\i686-w64-mingw32\include\stddef.h:7,
                  from 
q:\dev\msys\mingw\lib\gcc\i686-w64-mingw32\4.9.1\include\s
tddef.h:1,
                  from src/entcode.h:28,
                  from src/entdec.h:28,
                  from src/entdec.c:29:
q:\dev\msys\mingw\i686-w64-mingw32\include\_mingw.h:389:13: note: 
previous decla
ration of 'ssize_t' was here
  typedef int ssize_t;
              ^
make[2]: *** [src/src_libdaalabase_la-entcode.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [src/src_libdaalabase_la-entdec.lo] Error 1
make[2]: *** [src/src_libdaalabase_la-block_size.lo] Error 1
make[2]: *** [src/src_libdaalabase_la-adapt.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

What's wrong ?

Thanks in advance.

++
Kurtnoise


More information about the daala mailing list