FS#39302 - [ffmpeg2theora] build fails
Attached to Project:
Community Packages
Opened by Joel Teichroeb (klusark) - Monday, 10 March 2014, 16:57 GMT
Last edited by Laurent Carlier (lordheavy) - Friday, 16 May 2014, 10:42 GMT
Opened by Joel Teichroeb (klusark) - Monday, 10 March 2014, 16:57 GMT
Last edited by Laurent Carlier (lordheavy) - Friday, 16 May 2014, 10:42 GMT
|
Details
Description:
gcc -o src/ffmpeg2theora.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_ICONV -I. src/ffmpeg2theora.c src/ffmpeg2theora.c: In function 'ff2theora_output': src/ffmpeg2theora.c:963:17: warning: 'av_audio_resample_init' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4339) [-Wdeprecated-declarations] this->audio_resample_ctx = av_audio_resample_init(this->channels, aenc->channels, ^ src/ffmpeg2theora.c:1428:33: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [enabled by default] output_tmp->data, output_tmp->linesize); ^ In file included from src/ffmpeg2theora.c:33:0: /usr/include/libswscale/swscale.h:226:5: note: expected 'const uint8_t * const*' but argument is of type 'uint8_t **' int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], ^ src/ffmpeg2theora.c:1437:33: warning: 'avpicture_deinterlace' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4505) [-Wdeprecated-declarations] if (avpicture_deinterlace((AVPicture *)output,(AVPicture *)output_tmp,this->pix_fmt,display_width,display_height)<0) { ^ src/ffmpeg2theora.c:1452:48: warning: 'qscale_table' is deprecated (declared at /usr/include/libavutil/frame.h:218) [-Wdeprecated-declarations] output->qscale_table, output->qstride, ^ src/ffmpeg2theora.c:1452:48: warning: 'qstride' is deprecated (declared at /usr/include/libavutil/frame.h:223) [-Wdeprecated-declarations] src/ffmpeg2theora.c:1475:37: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [enabled by default] output_resized->linesize); ^ In file included from src/ffmpeg2theora.c:33:0: /usr/include/libswscale/swscale.h:226:5: note: expected 'const uint8_t * const*' but argument is of type 'uint8_t **' int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], ^ src/ffmpeg2theora.c:1537:25: warning: 'avcodec_decode_audio3' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3787) [-Wdeprecated-declarations] len1 = avcodec_decode_audio3(astream->codec, audio_buf, &data_size, &avpkt); ^ src/ffmpeg2theora.c:1548:33: warning: 'audio_resample' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4347) [-Wdeprecated-declarations] samples_out = audio_resample(this->audio_resample_ctx, resampled, audio_buf, samples); ^ src/ffmpeg2theora.c:1752:17: warning: 'audio_resample_close' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4356) [-Wdeprecated-declarations] audio_resample_close(this->audio_resample_ctx); ^ gcc -o src/subtitles.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_ICONV -I. src/subtitles.c gcc -o src/index.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_ICONV -I. src/index.c gcc -o src/avinfo.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_ICONV -I. src/avinfo.c gcc -o src/theorautils.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_ICONV -I. src/theorautils.c gcc -o src/iso639.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_ICONV -I. src/iso639.c gcc -o ffmpeg2theora src/ffmpeg2theora.o src/subtitles.o src/index.o src/avinfo.o src/theorautils.o src/iso639.o -lvorbis -lvorbisenc -ltheoraenc -ltheoradec -logg -lavdevice -lavformat -lavfilter -lavcodec -lpostproc -lswscale -lswresample -lavutil /usr/bin/ld: src/theorautils.o: undefined reference to symbol 'ceil@@GLIBC_2.2.5' /usr/lib/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status scons: *** [ffmpeg2theora] Error 1 scons: building terminated because of errors. ==> ERROR: A failure occurred in build(). Aborting... Steps to reproduce: sudo extra-x86_64-build |
This task depends upon