<div dir="ltr">I&#39;m facing the same problem...<br>Any suggestion?<br><br><div class="gmail_quote">2008/10/6 Julien Isorce <span dir="ltr">&lt;<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hi,<br><br>In top of &quot;gstreamer-0.10.21/plugins/elements/gstfilesrc.c&quot;&nbsp; I can see:<br>
<br>#ifdef G_OS_WIN32<br>...<br>#define stat __stat64<br>...<br>#endif<br><br>(G_OS_WIN32 is defined in glibconfig.h :<br>
<br>#define GLIB_MAJOR_VERSION 2<br>#define GLIB_MINOR_VERSION 18<br>#define GLIB_MICRO_VERSION 1<br><br>#define G_OS_WIN32<br>#define G_PLATFORM_WIN32<br>)<br><br>And in C:/MinGW/include/sys/stat.h i can see that __stat64 is only defined like this:<br>

<br>#if __MSVCRT_VERSION__ &gt;= 0x0601<br>struct __stat64<br>{<br>&nbsp;&nbsp;&nbsp; _dev_t st_dev;<br>&nbsp;&nbsp;&nbsp; _ino_t st_ino;<br>&nbsp;&nbsp;&nbsp; _mode_t st_mode;<br>&nbsp;&nbsp;&nbsp; short st_nlink;<br>&nbsp;&nbsp;&nbsp; short st_uid;<br>&nbsp;&nbsp;&nbsp; short st_gid;<br>&nbsp;&nbsp;&nbsp; _dev_t st_rdev;<br>

&nbsp;&nbsp;&nbsp; __int64 st_size;<br>&nbsp;&nbsp;&nbsp; __time64_t st_atime;<br>&nbsp;&nbsp;&nbsp; __time64_t st_mtime;<br>&nbsp;&nbsp;&nbsp; __time64_t st_ctime;<br>};<br>#endif /* __MSVCRT_VERSION__ */<br><br>And in C:/MinGW/include/_mingw.h I can see :<br><br>#ifndef __MSVCRT_VERSION__<br>

/*&nbsp; High byte is the major version, low byte is the minor. */<br># define __MSVCRT_VERSION__ 0x0600<br>#endif<br><br>So __stat64 is never defined when using mingw32 so gstfilesrc.c won&#39;t compile.<br><br>I am using last release of mingw32 3.4.5:<br>

<a href="http://sourceforge.net/project/showfiles.php?group_id=2435&amp;package_id=11598&amp;release_id=16693" target="_blank">http://sourceforge.net/project/showfiles.php?group_id=2435&amp;package_id=11598&amp;release_id=16693</a><br>
(see dev package)<br>
<br>So what should I do ? : define __MSVCRT_VERSION__ 0x0601&nbsp; or remove the<br>#ifdef G_OS_WIN32<br>
...<br>
#define stat __stat64<br>
...<br>
#endif in top of gstfilesrc.c ?<br><br>Sincerely<br><br>Julien<br><br><br></div>
<br>-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>