|
发表于 2009-7-21 15:23:13
|
显示全部楼层
解决avifile: make出错问题!!
Post by huohuliaisili;1741168
问一个一直没有解决的问题
编译 avifile 时 make 出错:
avm_output.cpp:57: instantiated from here
../../include/avm_map.h:204: error: 'struct avm::avm_map<const char*, int, avm::AvmOutput::AvmOutputPrivate:ess, avm::AvmOutput::AvmOutputPrivate::Equal>::binary_tree_node<const char*, int>' has no member named 'entry'
../../include/avm_map.h:207: error: 'struct avm::avm_map<const char*, int, avm::AvmOutput::AvmOutputPrivate:ess, avm::AvmOutput::AvmOutputPrivate::Equal>::binary_tree_node<const char*, int>' has no member named 'entry'
../../include/avm_map.h:212: error: 'struct avm::avm_map<const char*, int, avm::AvmOutput::AvmOutputPrivate:ess, avm::AvmOutput::AvmOutputPrivate::Equal>::binary_tree_node<const char*, int>' has no member named 'entry'
../../include/avm_map.h:215: error: 'struct avm::avm_map<const char*, int, avm::AvmOutput::AvmOutputPrivate:ess, avm::AvmOutput::AvmOutputPrivate::Equal>::binary_tree_node<const char*, int>' has no member named 'entry'
../../include/avm_map.h:217: error: 'struct avm::avm_map<const char*, int, avm::AvmOutput::AvmOutputPrivate:ess, avm::AvmOutput::AvmOutputPrivate::Equal>::binary_tree_node<const char*, int>' has no member named 'entry'
../../include/avm_map.h:220: error: 'struct avm::avm_map<const char*, int, avm::AvmOutput::AvmOutputPrivate:ess, avm::AvmOutput::AvmOutputPrivate::Equal>::binary_tree_node<const char*, int>' has no member named 'entry'
make[2]: *** [avm_output.lo] Error 1
make[2]: Leaving directory `/sources/avifile-0.7-0.7.45/lib/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/avifile-0.7-0.7.45/lib'
make: *** [all-recursive] Error 1
偶编译avifile时亦make出错,经达人指教,才知此缺少一补丁,即avifile-0.7-0.7.45-gcc41-1.patch,可在BLFS官网上下载,进入avifile目录,#patch -Np1 -i ../avifile-0.7-0.7.45.gcc41-1.patch编译之,下面按照教程继续即可,哈哈。 |
|