[vlc-devel] Re: Error - using cygwin on windows- Please help

Rajan Rakesh-A20642 rakeshrajan at motorola.com
Mon Sep 27 13:35:57 CEST 2004


OK! I see another option 'dvdplay' in ./configure --help
I will try with that too.

-----Original Message-----
From: vlc-devel-bounce at videolan.org
[mailto:vlc-devel-bounce at videolan.org]On Behalf Of Rajan Rakesh-A20642
Sent: Monday, September 27, 2004 5:03 PM
To: vlc-devel at videolan.org
Subject: [vlc-devel] Re: Error - using cygwin on windows- Please help


Hi,
Thanks for the help. I really like that document.
I could configure the VLC properly using CYGWIN.

I gave the flag '--disable-dvd' in my ./configure. 
I reinstalled 'gettext' and 'libiconv' two three times.
But still I am getting the following error.
Would some one please tell me what is the issue here?

make[5]: Entering directory `/cygdrive/d/raks/vlc-0.7.2/modules/access/dvdplay'
make[6]: Entering directory `/cygdrive/d/raks/vlc-0.7.2/modules/access/dvdplay'
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../..   -I/usr/win32/include -I/
usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../../include
`top_builddir="../../.." ../../../vlc-config --cflags plugin dvdplay` -Wsign-com
pare -Wall  -mms-bitfields -finline-limit-30000 -pipe -MT libdvdplay_plugin_a-dv
d.o -MD -MP -MF ".deps/libdvdplay_plugin_a-dvd.Tpo" -c -o libdvdplay_plugin_a-dv
d.o `test -f 'dvd.c' || echo './'`dvd.c; \
then mv -f ".deps/libdvdplay_plugin_a-dvd.Tpo" ".deps/libdvdplay_plugin_a-dvd.Po
"; else rm -f ".deps/libdvdplay_plugin_a-dvd.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../..   -I/usr/win32/include -I/
usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../../include
`top_builddir="../../.." ../../../vlc-config --cflags plugin dvdplay` -Wsign-com
pare -Wall  -mms-bitfields -finline-limit-30000 -pipe -MT libdvdplay_plugin_a-ac
cess.o -MD -MP -MF ".deps/libdvdplay_plugin_a-access.Tpo" -c -o libdvdplay_plugi
n_a-access.o `test -f 'access.c' || echo './'`access.c; \
then mv -f ".deps/libdvdplay_plugin_a-access.Tpo" ".deps/libdvdplay_plugin_a-acc
ess.Po"; else rm -f ".deps/libdvdplay_plugin_a-access.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../..   -I/usr/win32/include -I/
usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../../include
`top_builddir="../../.." ../../../vlc-config --cflags plugin dvdplay` -Wsign-com
pare -Wall  -mms-bitfields -finline-limit-30000 -pipe -MT libdvdplay_plugin_a-de
mux.o -MD -MP -MF ".deps/libdvdplay_plugin_a-demux.Tpo" -c -o libdvdplay_plugin_
a-demux.o `test -f 'demux.c' || echo './'`demux.c; \
then mv -f ".deps/libdvdplay_plugin_a-demux.Tpo" ".deps/libdvdplay_plugin_a-demu
x.Po"; else rm -f ".deps/libdvdplay_plugin_a-demux.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../..   -I/usr/win32/include -I/
usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../../include
`top_builddir="../../.." ../../../vlc-config --cflags plugin dvdplay` -Wsign-com
pare -Wall  -mms-bitfields -finline-limit-30000 -pipe -MT libdvdplay_plugin_a-in
tf.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
make[6]: Leaving directory `/cygdrive/d/raks/vlc-0.7.2/modules/access/dvdplay'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/cygdrive/d/raks/vlc-0.7.2/modules/access/dvdplay'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/d/raks/vlc-0.7.2/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/cygdrive/d/raks/vlc-0.7.2/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/d/raks/vlc-0.7.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/d/raks/vlc-0.7.2'
make: *** [all] Error 2

Thanks & Regs,
Raks
-----Original Message-----
From: vlc-devel-bounce at videolan.org
[mailto:vlc-devel-bounce at videolan.org]On Behalf Of Gildas Bazin
Sent: Monday, September 27, 2004 12:21 PM
To: vlc-devel at videolan.org
Subject: [vlc-devel] Re: Error - using cygwin on windows- Please help


On Monday 27 September 2004 08:12, Rajan Rakesh-A20642 wrote:
> Hi,
> It tried to compile a simple HelloWorld program from cygwin bash
> by the command
> 
> 'gcc -mno-cygwin main.c'
>  
> and I got the error
> 

As EXPLAINED in the INSTALL.win32 file, you also need to install some 
specific cygwin packages (ie. gcc-mingw, mingw-runtime and win32-api).

Have a look at this doc as well:
http://developers.videolan.org/vlc/CygwinCompileEnvironmentRevB.pdf

--
Gildas

-- 
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

-- 
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