[vlc-devel] Re: Error -Subversion batch file

Rajan Rakesh-A20642 rakeshrajan at motorola.com
Mon Sep 27 17:36:42 CEST 2004


Hi,
I installed subversion based on the instructions in 'CygwinCompileEnvironmentRevB.pdf'.

When I run the batch file './get_svn.bat' I get the error


d:\raks\vlc-0.8.0-test1>c:\subversion\bin\svn co svn://svn.videolan.org/vlc/trun
k vlc-trunk
svn: Unknown hostname 'svn.videolan.org'

Pls tell me what is the issue here?

Regs,
Raks


-----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 9:03 PM
To: vlc-devel at videolan.org
Subject: [vlc-devel] Re: Error - using cygwin on windows- Please help


HI,
Now I am building vlc-0.8.0-test1. I assume this is the latest version.

Here I am getting the following error on make.
Any idea what is the issue. Mean while I am trying to install subversion.

Making all in cmml
make[5]: Entering directory `/cygdrive/d/raks/vlc-0.8.0-test1/modules/codec/cmml
'
make[6]: Entering directory `/cygdrive/d/raks/vlc-0.8.0-test1/modules/codec/cmml
'
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 cmml` -Wsign-compar
e -Wall  -mms-bitfields -pipe -MT libcmml_plugin_a-intf.o -MD -MP -MF ".deps/lib
cmml_plugin_a-intf.Tpo" -c -o libcmml_plugin_a-intf.o `test -f 'intf.c' || echo
'./'`intf.c; \
then mv -f ".deps/libcmml_plugin_a-intf.Tpo" ".deps/libcmml_plugin_a-intf.Po"; e
lse rm -f ".deps/libcmml_plugin_a-intf.Tpo"; exit 1; fi
In file included from intf.c:32:
/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]: *** [libcmml_plugin_a-intf.o] Error 1
make[6]: Leaving directory `/cygdrive/d/raks/vlc-0.8.0-test1/modules/codec/cmml'

make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/cygdrive/d/raks/vlc-0.8.0-test1/modules/codec/cmml'

make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/d/raks/vlc-0.8.0-test1/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/cygdrive/d/raks/vlc-0.8.0-test1/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/d/raks/vlc-0.8.0-test1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/d/raks/vlc-0.8.0-test1'
make: *** [all] Error 2

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 5:27 PM
To: vlc-devel at videolan.org
Subject: [vlc-devel] Re: Error - using cygwin on windows- Please help


On Monday 27 September 2004 13:33, Rajan Rakesh-A20642 wrote:
...
> 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)

You should work with the development version of VLC not 0.7.2 which is 
getting old. The problem above was introduced recently when cygwin updated 
their w32api package and it is solved in the development version.

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