[Slackbuilds-users] Deadbeef compilation error
Luis Henrique Mello
lmello.009 at gmail.com
Thu Apr 18 20:01:06 UTC 2013
This happens with the current ffmpeg installed:
make[2]: Entering directory `/tmp/SBo/deadbeef-0.4.1/plugins/ffmpeg'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../.. -O2 -fPIC -D_GNU_SOURCE -DLIBDIR=\"/usr/lib64\"
-DPREFIX=\"/usr\" -DDOCDIR=\"/usr/doc/deadbeef-0.4.1\" -std=c99 -O2
-fPIC -D_GNU_SOURCE -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\"
-DDOCDIR=\"/usr/doc/deadbeef-0.4.1\" -MT ffmpeg.lo -MD -MP -MF
.deps/ffmpeg.Tpo -c -o ffmpeg.lo ffmpeg.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -fPIC
-D_GNU_SOURCE -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\"
-DDOCDIR=\"/usr/doc/deadbeef-0.4.1\" -std=c99 -O2 -fPIC -D_GNU_SOURCE
-DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\"
-DDOCDIR=\"/usr/doc/deadbeef-0.4.1\" -MT ffmpeg.lo -MD -MP -MF
.deps/ffmpeg.Tpo -c ffmpeg.c -fPIC -DPIC -o .libs/ffmpeg.o
ffmpeg.c: In function ‘ffmpeg_init’:
ffmpeg.c:128:5: warning: implicit declaration of function
‘av_open_input_file’ [-Wimplicit-function-declaration]
ffmpeg.c:139:5: warning: ‘av_find_stream_info’ is deprecated (declared
at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
ffmpeg.c:143:38: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this
function)
ffmpeg.c:143:38: note: each undeclared identifier is reported only once
for each function it appears in
ffmpeg.c:161:5: warning: ‘avcodec_open’ is deprecated (declared at
/usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
ffmpeg.c:166:5: warning: implicit declaration of function
‘av_get_bits_per_sample_format’ [-Wimplicit-function-declaration]
ffmpeg.c: In function ‘ffmpeg_free’:
ffmpeg.c:223:13: warning: ‘av_close_input_file’ is deprecated (declared
at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
ffmpeg.c: In function ‘ffmpeg_read_int16’:
ffmpeg.c:269:13: warning: ‘avcodec_decode_audio3’ is deprecated
(declared at /usr/include/libavcodec/avcodec.h:3658)
[-Wdeprecated-declarations]
ffmpeg.c: In function ‘ffmpeg_read_metadata_internal’:
ffmpeg.c:427:5: error: unknown type name ‘AVMetadata’
ffmpeg.c:427:22: warning: initialization from incompatible pointer type
[enabled by default]
ffmpeg.c:430:9: error: unknown type name ‘AVMetadataTag’
ffmpeg.c:432:13: warning: implicit declaration of function
‘av_metadata_get’ [-Wimplicit-function-declaration]
ffmpeg.c:432:53: error: ‘AV_METADATA_DONT_STRDUP_KEY’ undeclared (first
use in this function)
ffmpeg.c:432:83: error: ‘AV_METADATA_DONT_STRDUP_VAL’ undeclared (first
use in this function)
ffmpeg.c:434:60: error: request for member ‘value’ in something not a
structure or union
ffmpeg.c: In function ‘ffmpeg_insert’:
ffmpeg.c:472:5: warning: ‘av_find_stream_info’ is deprecated (declared
at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
ffmpeg.c:476:32: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this
function)
ffmpeg.c:488:9: warning: ‘av_close_input_file’ is deprecated (declared
at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
ffmpeg.c:494:5: warning: ‘avcodec_open’ is deprecated (declared at
/usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
ffmpeg.c:496:9: warning: ‘av_close_input_file’ is deprecated (declared
at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
ffmpeg.c:563:5: warning: ‘av_close_input_file’ is deprecated (declared
at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
ffmpeg.c: At top level:
ffmpeg.c:580:17: error: unknown type name ‘URLContext’
ffmpeg.c:605:17: error: unknown type name ‘URLContext’
ffmpeg.c:613:18: error: unknown type name ‘URLContext’
ffmpeg.c:619:17: error: unknown type name ‘URLContext’
ffmpeg.c:637:18: error: unknown type name ‘URLContext’
ffmpeg.c:644:1: error: unknown type name ‘URLProtocol’
ffmpeg.c:645:5: error: field name not in record or union initializer
ffmpeg.c:645:5: error: (near initialization for ‘vfswrapper’)
ffmpeg.c:645:5: warning: initialization makes integer from pointer
without a cast [enabled by default]
ffmpeg.c:645:5: warning: (near initialization for ‘vfswrapper’) [enabled
by default]
ffmpeg.c:645:5: error: initializer element is not computable at load time
ffmpeg.c:645:5: error: (near initialization for ‘vfswrapper’)
ffmpeg.c:646:5: error: field name not in record or union initializer
ffmpeg.c:646:5: error: (near initialization for ‘vfswrapper’)
ffmpeg.c:646:17: error: ‘ffmpeg_vfs_open’ undeclared here (not in a
function)
ffmpeg.c:646:5: warning: excess elements in scalar initializer [enabled
by default]
ffmpeg.c:646:5: warning: (near initialization for ‘vfswrapper’) [enabled
by default]
ffmpeg.c:647:5: error: field name not in record or union initializer
ffmpeg.c:647:5: error: (near initialization for ‘vfswrapper’)
ffmpeg.c:647:17: error: ‘ffmpeg_vfs_read’ undeclared here (not in a
function)
ffmpeg.c:647:5: warning: excess elements in scalar initializer [enabled
by default]
ffmpeg.c:647:5: warning: (near initialization for ‘vfswrapper’) [enabled
by default]
ffmpeg.c:648:5: error: field name not in record or union initializer
ffmpeg.c:648:5: error: (near initialization for ‘vfswrapper’)
ffmpeg.c:648:18: error: ‘ffmpeg_vfs_write’ undeclared here (not in a
function)
ffmpeg.c:648:5: warning: excess elements in scalar initializer [enabled
by default]
ffmpeg.c:648:5: warning: (near initialization for ‘vfswrapper’) [enabled
by default]
ffmpeg.c:649:5: error: field name not in record or union initializer
ffmpeg.c:649:5: error: (near initialization for ‘vfswrapper’)
ffmpeg.c:649:17: error: ‘ffmpeg_vfs_seek’ undeclared here (not in a
function)
ffmpeg.c:649:5: warning: excess elements in scalar initializer [enabled
by default]
ffmpeg.c:649:5: warning: (near initialization for ‘vfswrapper’) [enabled
by default]
ffmpeg.c:650:5: error: field name not in record or union initializer
ffmpeg.c:650:5: error: (near initialization for ‘vfswrapper’)
ffmpeg.c:650:18: error: ‘ffmpeg_vfs_close’ undeclared here (not in a
function)
ffmpeg.c:650:5: warning: excess elements in scalar initializer [enabled
by default]
ffmpeg.c:650:5: warning: (near initialization for ‘vfswrapper’) [enabled
by default]
ffmpeg.c: In function ‘ffmpeg_start’:
ffmpeg.c:659:5: warning: implicit declaration of function ‘avcodec_init’
[-Wimplicit-function-declaration]
ffmpeg.c:661:5: warning: implicit declaration of function
‘av_register_protocol’ [-Wimplicit-function-declaration]
ffmpeg.c: In function ‘ffmpeg_read_metadata’:
ffmpeg.c:698:5: warning: ‘av_find_stream_info’ is deprecated (declared
at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
ffmpeg.c:702:32: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this
function)
ffmpeg.c:712:9: warning: ‘av_close_input_file’ is deprecated (declared
at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
ffmpeg.c:715:5: warning: ‘avcodec_open’ is deprecated (declared at
/usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
ffmpeg.c:717:9: warning: ‘av_close_input_file’ is deprecated (declared
at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
ffmpeg.c:724:5: warning: ‘av_close_input_file’ is deprecated (declared
at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
make[2]: *** [ffmpeg.lo] Error 1
make[2]: Leaving directory `/tmp/SBo/deadbeef-0.4.1/plugins/ffmpeg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/deadbeef-0.4.1'
make: *** [all] Error 2
More information about the SlackBuilds-users
mailing list