编译faac时出现错误:make[3]: *** [3gp.o] Error 1
《编译faac时出现错误:make[3]: *** [3gp.o] Error 1》要点: 这里安装的faac是1.28版,注意,若安装faac-1.29.4有如下错误: make[2]: *** [libfaac_la-aacquant.lo] Error 63 make[2]: Leaving directory `/usr/local/src/faac-1.29.4/libfaac' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/faac-1.29.4' make: *** [all] Error 2 安装AAC支持库FAAC:echo '/usr/local/lib' >> /etc/ld.so.conf.d/local.conf ldconfig -v
cd /user/local/src wget http://downloads.sourceforge.net/project/faac/faac-src/faac-1.28/faac-1.28.tar.gz tar xvf faac-1.28.tar.gz cd faac-1.28 ./configure make && make install make时出现错误:if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -Wall -g -O2 -MT 3gp.o -MD -MP -MF ".deps/3gp.Tpo" -c -o 3gp.o 3gp.cpp; \ 【解决方法】vi common/mp4v2/mpeg4ip.h, 删除126行 char *strcasestr(const char *haystack,const char *needle); 再make通过。make install (编辑:ASP站长网) |