0
嘗試以下時,我得到的錯誤:XMMS2安裝失敗的MacPorts使用
$cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_xmms2/xmms2/work/xmms2-0.8DrO_o
$sudo ./waf build
是:
Build failed
-> task failed (exit status 1):
{task 4561778192: c avcodec.c -> avcodec.c.1.o}
我得到一個錯誤:
error: implicit declaration of function 'avcodec_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
和四個警告:
warning: 'avcodec_alloc_context' is deprecated [-Wdeprecated-declarations]
warning: 'avcodec_open' is deprecated [-Wdeprecated-declarations]
warning: 'avcodec_decode_audio3' is deprecated [-Wdeprecated-declarations]
warning: 'avcodec_decode_audio3' is deprecated [-Wdeprecated-declarations]
cpp
不能很好地理解前3行你的問題......? – 2012-12-30 13:33:56