<div dir="ltr">Hi,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 28, 2014 at 6:06 AM, Kurtnoise <span dir="ltr">&lt;<a href="mailto:kurtnoise@free.fr" target="_blank">kurtnoise@free.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I&#39;m trying to compile the daala project 0.0-676-gb035e4a on minGW<br>
platform but I&#39;ve got this error during the &quot;make tools&quot; :<br>
<br>
In file included from Q:/dev/MSYS/include/ogg/os_types.h:38:0,<br>
                  from Q:/dev/MSYS/include/ogg/ogg.h:25,<br>
                  from src/../include/daala/codec.h:51,<br>
                  from src/internal.h:28,<br>
                  from src/entcode.h:29,<br>
                  from src/entcode.c:29:<br>
Q:/dev/MSYS/include/sys/types.h:137:14: error: conflicting types for<br>
&#39;ssize_t&#39;<br>
  typedef long ssize_t;<br>
               ^<br>
In file included from Q:/dev/MSYS/include/ogg/os_types.h:38:0,<br>
                  from Q:/dev/MSYS/include/ogg/ogg.h:25,<br>
                  from src/../include/daala/codec.h:51,<br>
                  from src/odintrin.h:29,<br>
                  from src/block_size.h:28,<br>
                  from src/block_size.c:29:<br>
Q:/dev/MSYS/include/sys/types.h:137:14: error: conflicting types for<br>
&#39;ssize_t&#39;<br>
  typedef long ssize_t;<br>
               ^<br>
In file included from Q:/dev/MSYS/include/ogg/os_types.h:38:0,<br>
                  from Q:/dev/MSYS/include/ogg/ogg.h:25,<br>
                  from src/../include/daala/codec.h:51,<br>
                  from src/internal.h:28,<br>
                  from src/adapt.c:31:<br>
Q:/dev/MSYS/include/sys/types.h:137:14: error: conflicting types for<br>
&#39;ssize_t&#39;<br>
  typedef long ssize_t;<br>
               ^<br>
In file included from Q:/dev/MSYS/include/ogg/os_types.h:38:0,<br>
                  from Q:/dev/MSYS/include/ogg/ogg.h:25,<br>
                  from src/../include/daala/codec.h:51,<br>
                  from src/internal.h:28,<br>
                  from src/entcode.h:29,<br>
                  from src/entdec.h:28,<br>
                  from src/entdec.c:29:<br>
Q:/dev/MSYS/include/sys/types.h:137:14: error: conflicting types for<br>
&#39;ssize_t&#39;<br>
  typedef long ssize_t;<br>
               ^<br>
In file included from<br>
q:\dev\msys\mingw\i686-w64-mingw32\include\crtdefs.h:10:0,<br>
<br>
                  from<br>
q:\dev\msys\mingw\i686-w64-mingw32\include\stddef.h:7,<br>
                  from<br>
q:\dev\msys\mingw\lib\gcc\i686-w64-mingw32\4.9.1\include\s<br>
tddef.h:1,<br>
                  from src/entcode.h:28,<br>
                  from src/entcode.c:29:<br>
q:\dev\msys\mingw\i686-w64-mingw32\include\_mingw.h:389:13: note:<br>
previous decla<br>
ration of &#39;ssize_t&#39; was here<br>
  typedef int ssize_t;<br>
              ^<br>
In file included from<br>
q:\dev\msys\mingw\i686-w64-mingw32\include\crtdefs.h:10:0,<br>
<br>
                  from<br>
q:\dev\msys\mingw\i686-w64-mingw32\include\stddef.h:7,<br>
                  from<br>
q:\dev\msys\mingw\lib\gcc\i686-w64-mingw32\4.9.1\include\s<br>
tddef.h:1,<br>
                  from Q:/dev/MSYS/include/string.h:18,<br>
                  from src/odintrin.h:28,<br>
                  from src/block_size.h:28,<br>
                  from src/block_size.c:29:<br>
q:\dev\msys\mingw\i686-w64-mingw32\include\_mingw.h:389:13: note:<br>
previous decla<br>
ration of &#39;ssize_t&#39; was here<br>
  typedef int ssize_t;<br>
              ^<br>
In file included from<br>
q:\dev\msys\mingw\i686-w64-mingw32\include\crtdefs.h:10:0,<br>
<br>
                  from<br>
q:\dev\msys\mingw\i686-w64-mingw32\include\stddef.h:7,<br>
                  from<br>
q:\dev\msys\mingw\lib\gcc\i686-w64-mingw32\4.9.1\include\s<br>
tddef.h:1,<br>
                  from Q:/dev/MSYS/include/stdlib.h:17,<br>
                  from src/adapt.c:29:<br>
q:\dev\msys\mingw\i686-w64-mingw32\include\_mingw.h:389:13: note:<br>
previous decla<br>
ration of &#39;ssize_t&#39; was here<br>
  typedef int ssize_t;<br>
              ^<br>
In file included from<br>
q:\dev\msys\mingw\i686-w64-mingw32\include\crtdefs.h:10:0,<br>
<br>
                  from<br>
q:\dev\msys\mingw\i686-w64-mingw32\include\stddef.h:7,<br>
                  from<br>
q:\dev\msys\mingw\lib\gcc\i686-w64-mingw32\4.9.1\include\s<br>
tddef.h:1,<br>
                  from src/entcode.h:28,<br>
                  from src/entdec.h:28,<br>
                  from src/entdec.c:29:<br>
q:\dev\msys\mingw\i686-w64-mingw32\include\_mingw.h:389:13: note:<br>
previous decla<br>
ration of &#39;ssize_t&#39; was here<br>
  typedef int ssize_t;<br>
              ^<br>
make[2]: *** [src/src_libdaalabase_la-entcode.lo] Error 1<br>
make[2]: *** Waiting for unfinished jobs....<br>
make[2]: *** [src/src_libdaalabase_la-entdec.lo] Error 1<br>
make[2]: *** [src/src_libdaalabase_la-block_size.lo] Error 1<br>
make[2]: *** [src/src_libdaalabase_la-adapt.lo] Error 1<br>
make[1]: *** [all-recursive] Error 1<br>
make: *** [all] Error 2<br>
<br>
What&#39;s wrong ?<br></blockquote><div><br></div><div>My guess is that your mingw setup is the issue since the conflicting typedefs are in i686-w64-mingw32/include/_minwg.h and MSYS/include/sys/types.h<br><br></div><div>Best,<br>Tristan<br></div></div></div></div></div>