[MPlayer-users] unable to build r37391 against shared ffmpeg-2.6.2

Julian Sikorski belegdol at gmail.com
Tue May 5 22:05:57 CEST 2015


Hello,

in the process of getting RPM Fusion packages ready for Fedora 22
release, I have discovered that the current SVN does not build against
shared ffmpeg-2.6.2:

cc -MMD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith
-Wredundant-decls -Werror=format-security -Wstrict-prototypes
-Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign
-Wdeclaration-after-statement -std=gnu99
-Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112
-D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -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 -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fpie
-DPIC -D_REENTRANT -I/usr/include/p11-kit-1  -I/usr/include/
-D_REENTRANT   -I/usr/include/freetype2 -DZLIB_CONST -I/usr/include/bs2b
 -I/usr/include/ffmpeg  -I/usr/include/ffmpeg  -pthread
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/libdrm
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16
  -c -o libmpcodecs/ad_spdif.o libmpcodecs/ad_spdif.c
libmpcodecs/ad_spdif.c: In function 'init':
libmpcodecs/ad_spdif.c:133:23: error: dereferencing pointer to
incomplete type 'AVFormatInternal {aka struct AVFormatInternal}'
     lavf_ctx->internal->raw_packet_buffer_remaining_size =
RAW_PACKET_BUFFER_SIZE;
                       ^
libmpcodecs/ad_spdif.c:133:60: error: 'RAW_PACKET_BUFFER_SIZE'
undeclared (first use in this function)
     lavf_ctx->internal->raw_packet_buffer_remaining_size =
RAW_PACKET_BUFFER_SIZE;
                                                            ^
libmpcodecs/ad_spdif.c:133:60: note: each undeclared identifier is
reported only once for each function it appears in
libmpcodecs/ad_ffmpeg.c: In function 'init':
libmpcodecs/ad_ffmpeg.c:130:5: warning: 'request_channels' is deprecated
[-Wdeprecated-declarations]
     lavc_context->request_channels = audio_output_channels;
     ^
In file included from libmpcodecs/ad_ffmpeg.c:47:0:
/usr/include/ffmpeg/libavcodec/avcodec.h:2036:30: note: declared here
     attribute_deprecated int request_channels;
                              ^
Makefile:731: recipe for target 'libmpcodecs/ad_spdif.o' failed
make: *** [libmpcodecs/ad_spdif.o] Error 1

The full build log is attached. Please may you help? Thank you in advance.

Best regards,
Julian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log.xz
Type: application/x-xz
Size: 16436 bytes
Desc: not available
URL: <https://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20150505/df5523a9/attachment.xz>


More information about the MPlayer-users mailing list