[vlc-devel] Re: Compile error for cygwin
Mark Moriarty
mfmbusiness at earthlink.net
Tue Sep 21 13:51:31 CEST 2004
The off_t error, I believe is due to using the latest generation gcc
compilers (a fairly new Cygwin install or update).
Download a latest snapshot of vlc and it should compile OK (Gibalout fixed
how a couple of files did things, for compatibility).
Snapshots are at:
http://download.videolan.org/pub/videolan/vlc/snapshots/
-----Original Message-----
From: vlc-devel-bounce at videolan.org [mailto:vlc-devel-bounce at videolan.org]
On Behalf Of Tim Shephard
Sent: Tuesday, September 21, 2004 7:31 AM
To: vlc-devel at krishna.via.ecp.fr
Subject: [vlc-devel] Compile error for cygwin
Trying to build 0.7.2
Installed latest cygwin on win2000
vlc-0.7.2
contrib-20040902-win32-bin-gcc3.3.1-only.tar.bz2
./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--disable-sdl --disable-gtk \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-livedotcom --with-livedotcom-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-debug
Here's the compile error:
intf.o -MD -MP -MF ".deps/libdvdplay_plugin_a-intf.Tpo" -c -o
libdvdplay_plugin_a-
intf.o `test -f 'intf.c' || echo './'`intf.c; \ then mv -f
".deps/libdvdplay_plugin_a-intf.Tpo" ".deps/libdvdplay_plugin_a-intf.
Po"; else rm -f ".deps/libdvdplay_plugin_a-intf.Tpo"; exit 1; fi In file
included from intf.c:29:
/usr/i686-pc-mingw32/include/unistd.h:23: error: parse error before "off_t"
/usr/i686-pc-mingw32/include/unistd.h:24: error: parse error before "off_t"
/usr/i686-pc-mingw32/include/unistd.h: In function `ftruncate':
/usr/i686-pc-mingw32/include/unistd.h:26: error: `__fd' undeclared (first
use in this function)
/usr/i686-pc-mingw32/include/unistd.h:26: error: (Each undeclared identifier
is reported only once
/usr/i686-pc-mingw32/include/unistd.h:26: error: for each function it
appears in
.)
/usr/i686-pc-mingw32/include/unistd.h:26: error: `__length' undeclared
(first us e in this function)
make[6]: *** [libdvdplay_plugin_a-intf.o] Error 1
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/ To
unsubscribe, please read http://developers.videolan.org/lists.html
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list