[FFmpeg-devel] ffmpeg-N-58703-g7b2534b build break - libavutil/ffversion.h missing

Michael Niedermayer michaelni at gmx.at
Tue Dec 3 01:33:16 CET 2013


On Mon, Dec 02, 2013 at 05:22:58PM -0600, David Favor wrote:
> Michael Niedermayer wrote:
> >On Mon, Dec 02, 2013 at 07:08:00AM -0600, David Favor wrote:
> >>The recent change renaming libavutil/version.h to libavutil/ffversion.h has broken
> >>the build.
> >>
> >>The usual temp fix of manually renaming this file also breaks the build.
> >
> >broken where and how exactly ?
> >
> >http://fate.ffmpeg.org/ is mostly green ...
> 
> Geez... attachment didn't go through... Here's the build residue...
> 
>[...]
In file included from doc/print_options.c:32:0:
> ./libavcodec/options_table.h:286:1: warning: 'xvmc_acceleration' is deprecated (declared at ./libavcodec/avcodec.h:1700) [-Wdeprecated-declarations]
>  {"xvmc_acceleration", NULL, OFFSET(xvmc_acceleration), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX},
>  ^
> ./libavcodec/options_table.h:300:1: warning: 'error_rate' is deprecated (declared at ./libavcodec/avcodec.h:2868) [-Wdeprecated-declarations]
>  {"error", NULL, OFFSET(error_rate), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, V|E},
>  ^
> ./libavcodec/options_table.h:361:1: warning: 'request_channels' is deprecated (declared at ./libavcodec/avcodec.h:1969) [-Wdeprecated-declarations]
>  {"request_channels", "set desired number of audio channels", OFFSET(request_channels), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, 0, INT_MAX, A|D},
>  ^
> TXT	doc/fate.txt
> CC	ffmpeg.o
> ffmpeg.c: In function 'write_frame':
> ffmpeg.c:581:9: warning: 'destruct' is deprecated (declared at ./libavcodec/avcodec.h:1126) [-Wdeprecated-declarations]
>          if(a == 0 && new_pkt.data != pkt->data && new_pkt.destruct) {
>          ^
> ffmpeg.c: In function 'do_streamcopy':
> ffmpeg.c:1506:5: warning: passing argument 2 of 'av_copy_packet_side_data' discards 'const' qualifier from pointer target type [enabled by default]
>      av_copy_packet_side_data(&opkt, pkt);
>      ^
> In file included from libavformat/avformat.h:203:0,
>                  from ffmpeg.c:44:
> ./libavcodec/avcodec.h:3549:5: note: expected 'struct AVPacket *' but argument is of type 'const struct AVPacket *'
>  int av_copy_packet_side_data(AVPacket *dst, AVPacket *src);
>      ^
> CC	cmdutils.o
> cmdutils.c:52:33: fatal error: libavutil/ffversion.h: No such file or directory
>  #include "libavutil/ffversion.h"
>                                  ^
> compilation terminated.
> make: *** [cmdutils.o] Error 1
> make: *** Waiting for unfinished jobs....

hmm

maybe fixed, please retry

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131203/2e7ee32e/attachment.asc>


More information about the ffmpeg-devel mailing list