compiling on win2000/cygwin

Gildas Bazin gbazin at netcourrier.com
Mon Mar 17 02:14:54 CET 2003


On Saturday 15 March 2003 20:35, 12034981309423883238271 wrote:
> windows 2000
> libdvdcss-1.2.6
> using cygwin with gcc -mno-cygwin
> 
> here's what i've done:
> ./bootstrap
> CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" ./configure
> make
> 
> and i get the following error:
> 
> In file included from libdvdcss.c:123:
> common.h:49:1: warning: "PATH_MAX" redefined
> In file included from 
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/include/limits.h:132,
>                  from 
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/include/syslimits.h:7,
> 
>                  from 
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/include/limits.h:11,
>                  from /usr/include/mingw/sys/param.h:29,
>                  from libdvdcss.c:104:
> /usr/include/mingw/limits.h:44:1: warning: this is the location of the 
previous
> definition
> In file included from libdvdcss.c:127:
> device.h:33:80: sys/uio.h: No such file or directory

Libdvdcss 1.2.6 compiles fine with cygwin and -mno-cygwin here.

The errors above strongly suggest that you're not using the mingw compiler 
(this compiler is normally used when you pass the -mno-cygwin option to 
gcc). Make sure you have the gcc-mingw, mingw-runtime and w32api packages 
installed on your cygwin distribution.

Hope this helps,

--
Gildas
-- 
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the libdvdcss-devel mailing list