在编译libvpx的时候遇到挺多的问题,
1.[STRIP] libvpx.a < libvpx_g.a
strip: Bad file number
这个错误也是比较难搞的,一开始以为只是strip没有找到造成的,但是后来尝试修改strip路径也无法解决.
这个错误需要修改Makefile代码,
%.a: %_g.a
$(if $(quiet),@echo " [STRIP] $@ < $<")
# $(qexec)$(STRIP) --strip-unneeded \
# `$(NM) $< | grep ' [A-TV-Z] ' | awk '{print "-K"$$3'}`\
# -o $@ $<
else
%.a: %_g.a
$(if $(quiet),@echo " [CP] $@ < $<")
$(qexec)cp $< $@
endif
以上是原来代码,需修改为
%.a: %_g.a
$(if $(quiet),@echo " [STRIP] $@ < $<")
$(qexec)cp $< $@
$(qexec)$(STRIP) --strip-unneeded $@
else
%.a: %_g.a
$(if $(quiet),@echo " [CP] $@ < $<")
$(qexec)cp $< $@
endif
到此strip错误解决
2.各种test等错误
如果出现类似错误,可以尝试关闭docs,examples等
联系方式:weinyzhou86@gmail.com
QQ:514540005
版权所有,禁止转载.
发布自:http://blog.youkuaiyun.com/tigerleap/article/details/40516099