[vlc-devel] Build Error in Extras/Contrib libdvdnav on Cygwin

Mark Moriarty mfmbusiness at earthlink.net
Thu Nov 2 03:27:56 CET 2006


Here's what I'm seeing when I try to make, a fresh extras/contrib (it's
downloading the individual packages, patching them, then building):
make[6]: Entering directory
`/home/mfm/vlc-trunk/extras/contrib/src/libdvdnav/src/dvdread'
..OK for a bit, then:
mkdir .libs
libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32
shared
libraries
ar cru .libs/libdvdread.a  dvd_reader.o nav_read.o ifo_read.o dvd_input.o
dvd_ud
f.o md5.o nav_print.o ifo_print.o
ranlib .libs/libdvdread.a
creating libdvdread.la
.OK for a bit, then:
Making all in vm
make[6]: Entering directory
`/home/mfm/vlc-trunk/extras/contrib/src/libdvdnav/src/vm'
.
./.. -DDVDNAV_COMPILE -I../../src -I../../src/dvdread
-I/home/mfm/vlc-trunk/extr
as/contrib/include -mno-cygwin -isystem /usr/include/mingw -mno-cygwin
-isystem
/usr/include/mingw -I/include -Dssize_t=long -O3 -Wall
-D_FILE_OFFSET_BITS=64 -D
_LARGEFILE64_SOURCE -I/home/mfm/vlc-trunk/extras/contrib/include -mno-cygwin
-is
ystem /usr/include/mingw -mno-cygwin -isystem /usr/include/mingw -I/include
-c d
ecoder.c -o decoder.o
In file included from ./decoder.h:29,
                 from ../../src/dvdnav_internal.h:80,
                 from decoder.c:35:
/usr/include/mingw/sys/time.h:39: error: parse error before '(' token
/usr/include/mingw/sys/time.h:39: error: parse error before "void"
make[6]: *** [decoder.lo] Error 1
make[6]: Leaving directory
`/home/mfm/vlc-trunk/extras/contrib/src/libdvdnav/src
/vm'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/home/mfm/vlc-trunk/extras/contrib/src/libdvdnav/src
'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/mfm/vlc-trunk/extras/contrib/src/libdvdnav'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/mfm/vlc-trunk/extras/contrib/src/libdvdnav'
make[2]: *** [.dvdnav] Error 2


Decoder.h line 29 is just an include:
#include <sys/time.h>

When I look at mingw/sys/time.h, line 39 is the int __cdecl line of the
following:
/*
   Implementation as per:
   The Open Group Base Specifications, Issue 6
   IEEE Std 1003.1, 2004 Edition

   The timezone pointer arg is ignored.  Errors are ignored.
*/ 
int __cdecl gettimeofday(struct timeval *__restrict__,

			 void *__restrict__  /*	tzp (unused) */);

Anyone have any thoughts on this?

Thanks.

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20061101/a1143c8f/attachment.html>


More information about the vlc-devel mailing list