[MPlayer-users] libdvdread4 standalone build failure

Tom Evans tevans.uk at googlemail.com
Wed Apr 3 15:09:23 CEST 2013


On Sun, Mar 31, 2013 at 1:49 PM, Christian Ebert <blacktrash at gmx.net> wrote:
>
> Hi,
>
> Disclaimer: if there's another list where this should go, please
> tell me.
>
> Normally I build libdvdread and libdvdnav on their own, so I they
> can be loaded by other programs. Recently compiling fails like
> so:
>
> LDFLAGS="$LDFLAGS -ldvdcss" ./autogen.sh --prefix=/usr/local && make
> [...]
> /bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I..  -I../src   -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -MT dvd_input.lo -MD -MP -MF .deps/dvd_input.Tpo -c -o dvd_input.lo dvd_input.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -MT dvd_input.lo -MD -MP -MF .deps/dvd_input.Tpo -c dvd_input.c  -fno-common -DPIC -o .libs/dvd_input.o
> dvd_input.c: In function ‘css_title’:
> dvd_input.c:123: error: ‘DVDCSS_SEEK_KEY’ undeclared (first use in this function)
> dvd_input.c:123: error: (Each undeclared identifier is reported only once
> dvd_input.c:123: error: for each function it appears in.)
> make[2]: *** [dvd_input.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> $ uname -mprv
> 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 i386
>

The error seems to indicate that libdvdread (I'm guessing) is
expecting libdvdcss to provide that definition. Since it doesn't, I
guess  your copy of libdvdcss is out of sync with the version of
libdvdread you are trying to build.

Indeed, it is defined in my version of libdvdcss (1.2.10) in
<dvdcss/dvdcss.h>, which I installed in Feb 2010! Update your sources!

Cheers

Tom


More information about the MPlayer-users mailing list