1、make
可能又会有错误比如
vo_ivtv.c:80: warning: unused variable ''sd1'' vo_ivtv.c:79: warning: unused variable ''sd'' 或者 -o vo_ivtv.o vo_ivtv.c vo_ivtv.c: In function 'ivtv_reset': vo_ivtv.c:79: error: storage size of 'sd' isn't known vo_ivtv.c:80: error: storage size of 'sd1' isn't known vo_ivtv.c:84: error: 'IVTV_STOP_FL_HIDE_FRAME' undeclared (first use in this function) vo_ivtv.c:84: error: (Each undeclared identifier is reported only once vo_ivtv.c:84: error: for each function it appears in.) vo_ivtv.c:87: error: 'IVTV_IOC_STOP_DECODE' undeclared (first use in this function) vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in this function) vo_ivtv.c:80: warning: unused variable 'sd1' vo_ivtv.c:79: warning: unused variable 'sd' 之流等等, 那就是碰到配置选项问题, 还要改一下 (先make distclean,然后./configure --prefix=/usr/local/mplayer --enable-gui --codecsdir=/usr/lib/codecs --win32codecsdir=/usr/lib/win32 --language=zh_CN --disable-ivtv,然后再重新make就成功了)
2、
原帖由 xjfengt 于 2010-6-8 01:34 发表./configure 通过 无错误
make 时出错 以下是出错信息
-lglib-2.0 -Wl,-z,noexecstack -ffast-math -lncurses -lpng -lz -lmng -lz -ljpeg -lungif -lasound -ldl -lpthread -lfreetype -lfontconfig -lz -lb ...
今天我也遇到这个问题了, 搜到这个帖子原以为有人解决呢, 没想到一无所获. 最后还是看Makefile解决了, 共享一下.
产生这个问题的原因是lib库引用错了. QuantizeBuffer是libgif里的东东, 但是却引用成-lungif. 找到Makefile引用的地方, 把-lungif改成-lgif就可以了.
刚刚碰到这个问题的时候我就是这么想的, 可是在Makefie里搜了一下却没有发现ungif, 原想偷偷懒, 不想仔细看Makefile了, 没有想到google也没有找到解决的办法. 没办法只好看了Makefile, 最后发现定义引用的地方不在Makefile里, 而在Makefile包含的一个config.mak里(大概是46行). 唉.