ffmpeg i jego klienci - pewnie wraca co tydzień

Wieslaw Kierbedz w.kier w farba.eu.org
Czw, 2 Paź 2008, 12:07:22 CEST


Buduję sobie program.
On ten PROGRAM, używa ffmpeg, arts, freetype2 i in.
Także arts, freetype2 i in. używają ffmpeg.

Ponieważ ffmpeg został uaktualniony kilkakroć, a arts, freetype2 i in. 
nie, to dostaję parę kilo takiego czegoś:

../libavcodec/avcodec.h:2670: error: declaration of C function 'int 
avcodec_decode_audio2(AVCodecContext*, int16_t*, int*, uint8_t*, int)' 
conflicts with
/usr/include/artsc/../libavcodec/avcodec.h:2660: error: previous 
declaration 'int avcodec_decode_audio2(AVCodecContext*, int16_t*, int*, 
const uint8_t*, int)' here
../libavcodec/avcodec.h:2670: warning: redundant redeclaration of 'int 
avcodec_decode_audio2(AVCodecContext*, int16_t*, int*, uint8_t*, int)' 
in same scope

[...]

../libavcodec/avcodec.h:2825: error: redefinition of 'struct AVCodecParser'
/usr/include/artsc/../libavcodec/avcodec.h:2819: error: previous 
definition of 'struct AVCodecParser'

[...]

In file included from /usr/include/artsc/../libavutil/crc.h:26,
                 from mpeg/pespacket.cpp:11:
/usr/include/artsc/../libavutil/common.h: In function 'int 
av_log2(unsigned int)':
/usr/include/artsc/../libavutil/common.h:123: error: redefinition of 
'int av_log2(unsigned int)'
../libavutil/common.h:99: error: 'int av_log2(unsigned int)' previously 
defined here
/usr/include/artsc/../libavutil/common.h: In function 'int 
av_log2_16bit(unsigned int)':
/usr/include/artsc/../libavutil/common.h:139: error: redefinition of 
'int av_log2_16bit(unsigned int)'
../libavutil/common.h:117: error: 'int av_log2_16bit(unsigned int)' 
previously defined here
/usr/include/artsc/../libavutil/common.h: In function 'int mid_pred(int, 
int, int)':


Pytanie.
Czy mam sam sobie przebudować arts, freetype2 i in.?
Wówczas moje th robi się już bardzo "moim" th i rozjazd z repo będzie rósł.

Czy mam czekać, aż "arts, freetype2 i in." przebudowane z obecnym u mnie 
ffmpeg pojawią się w ready?
To może potrwać. Nawet jeśli dam teraz hold na ffmpeg, to pewnie i tak 
ostatecznie arts, freetype2 i in. pojawią się przebudowane z inną wersją 
(może będzie to wersja aktualno wówczas).

A może moja diagnoza jest błędna i po prostu PROGRAM, który buduję jest 
po ch...?
Może to olać i (nie straszę - żaden inny program nie hula z moją kartą 
dvb-t) używać tego czegoś w zupełnie innej dystrybucji i czekać, aż 
zrobi wszystko za mnie ktoś inny?
-- 
WK





Więcej informacji o liście dyskusyjnej pld-devel-pl