[mythtv] ATTN Windows Users: Libdvdnav and libdvdread resync

Robert McNamara robert.mcnamara at gmail.com
Sat Jul 24 20:16:35 UTC 2010


On Fri, Jul 23, 2010 at 7:38 PM, Jeff Lu <jll544 at yahoo.com> wrote:
>> I *only* need to  know that libmythdvdnav compiles properly in windows
>
>> with the patch  applied.
>
> Just one issue when compiling dvd_input.c:
>
> In file included from ../libmythdb/compat.h:293,
>                 from dvdread/dvd_input.c:56:
> c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/sys/stat.h:122: error:
>  redefinition of 'struct _stati64'
> make: *** [dvd_input.o] Error 1
>
>
> dvd_input.h:40 defines stat as _stati64, producing two "struct _stati64"
> definitions within sys/stat.h.  An easy fix would be to #include <sys/stat.h>
> before the MinGW-related redefinitions in dvd_input.h.  With that addition,
> libmythdvdnav compiles cleanly.
>
>
> Cheers,
> Jeff

Thanks Jeff, that adjustment now included in my local patch.

Robert


More information about the mythtv-dev mailing list