[MPlayer-users] libdvdread4 standalone build failure
Tom Evans
tevans.uk at googlemail.com
Wed Apr 3 18:06:12 CEST 2013
On Wed, Apr 3, 2013 at 4:09 PM, Christian Ebert <blacktrash at gmx.net> wrote:
> * Tom Evans on Wednesday, April 03, 2013 at 14:09:23 +0100
>> On Sun, Mar 31, 2013 at 1:49 PM, Christian Ebert <blacktrash at gmx.net> wrote:
>>> 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!
>
> Heh.
>
> ~/src/libdvdcss$ svn log -r HEAD
> ------------------------------------------------------------------------
> r256 | reimar | 2012-11-06 18:15:08 +0000 (Tue, 06 Nov 2012) | 6 lines
>
> Use calloc instead of malloc+memset.
>
> Besides being simpler, it fixes the malloc failure
> checks which currently are useless since we would
> crash in memset first.
>
> ------------------------------------------------------------------------
>
> is the libdvdcss version I have and had installed _before_ an
> update of libdvdread stopped working.
>
> And indeed r1254 of libdvdread builds without a hitch. r1255
> breaks compilation:
>
> ------------------------------------------------------------------------
> r1255 | diego | 2013-03-21 19:16:39 +0000 (Thu, 21 Mar 2013) | 2 lines
>
> Replace deprecated dvdcss_title() function by dvdcss_seek().
>
> ------------------------------------------------------------------------
>
Looks you have sufficient knowledge and tools to back up either
library to a buildable version... this is the dangers of not using the
tightly coupled bundled versions..
More information about the MPlayer-users
mailing list