[MPlayer-users] svn libdvdcss build fails

sean darcy seandarcy2 at gmail.com
Wed Apr 17 18:47:53 CEST 2013


On 04/17/2013 12:42 PM, sean darcy wrote:
> On 04/17/2013 10:31 AM, Carl Eugen Hoyos wrote:
>> sean darcy <seandarcy2 <at> gmail.com> writes:
>>
>>> svn 36170 from today on Fedora 17:
>>>
>>> libdvdcss/device.c: In function 'libc_readv':
>>> libdvdcss/device.c:901:5: error:
>>> implicit declaration of function 'readv'
>>
>> Did it work with an earlier version of MPlayer?
>>
>> Carl Eugen
>>
> Yes it did. svn 35660 - Dec 10 - built. Now it doesn't because of ffmpeg
> changes.
>
> I changed line 901 from readv to libc_readv - since it's explicitly
> declared, but got same error, oddly.
>
> sean

building 35660:

cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes 
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement 
-std=gnu99 -Werror-implicit-function-declaration -O4 -march=x86-64 
-mtune=generic -pipe -ffast-math -fomit-frame-pointer 
-fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -I. -Iffmpeg -Ofast -march=native -mtune=native 
-fopenmp -fomit-frame-pointer -pipe -D_REENTRANT -I/usr/include/ 
-D_REENTRANT    -I/usr/include/freetype2 -I/usr/include/opus 
-I/usr/include/bs2b   -I/usr/include/dirac 
-I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4   -c -o 
libmpdemux/demuxer.o libmpdemux/demuxer.c
libmpdemux/asfheader.c: In function 'get_ext_stream_properties':
libmpdemux/asfheader.c:143:12: warning: variable 'avg_ft' set but not 
used [-Wunused-but-set-variable]
libmpdemux/aviheader.c: In function 'read_avi_header':
libmpdemux/aviheader.c:237:7: warning: dereferencing type-punned pointer 
will break strict-aliasing rules [-Wstrict-aliasing]
libmpdemux/demuxer.c: In function 'allocate_parser':
libmpdemux/demuxer.c:479:10: error: variable 'codec_id' has initializer 
but incomplete type
libmpdemux/demuxer.c:479:18: error: storage size of 'codec_id' isn't known
......

sean



More information about the MPlayer-users mailing list