[MPlayer-dev-eng] won't compile on FreeBSD8.1 (dvdio.h)
Johan Andersson
j at i19.se
Thu Sep 2 15:02:07 CEST 2010
On Wed, Aug 25, 2010 at 06:10:25PM +0200, Christian Jachmann wrote:
> Hi there,
>
> current svn co (from 25.8.10) doesn't compile
> ....
> after ./configure gmake stops in:
>
> libdvdcss/ioctl.c: In function 'ioctl_ReadCopyright':
> libdvdcss/ioctl.c:161: error: storage size of 'dvd' isn't known
> libdvdcss/ioctl.c:164: error: 'DVD_STRUCT_COPYRIGHT' undeclared (first use in this function)
>
> result from config.log
> ....
> ============ Checking for sys/dvdio.h ============
> ....
> In file included from /tmp/mplayer-configure--32703/tmp.c:1:
> /usr/include/sys/dvdio.h:35: error: expected specifier-qualifier-list before 'u_int8_t'
> /usr/include/sys/dvdio.h:51: error: expected specifier-qualifier-list before 'u_char'
> /usr/include/sys/dvdio.h:62: error: expected specifier-qualifier-list before 'u_int8_t'
>
>
> Result is: no
> ...
>
> I used to checkout and build mplayer form cvs for years and now it breaks...
> What did i miss ?
> OS is FreeBSD 8.1-Stable
> no idea what could help
try using --extra-cflags=-D__BSD_VISIBLE to configure and see if that helps
cheers
--
Johan Andersson
More information about the MPlayer-dev-eng
mailing list