chenyunecjtu / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

build failed in centos #364

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
my system is CentOS

cd doubango && ./autogen.sh && ./configure --with-ssl --with-srtp 
--with-speexdsp  
make && make install 

src/codecs/vpx/tdav_codec_vp8.c:265: error: ‘VPX_IMG_FMT_I420’ undeclared 
(first use in this function)

src/codecs/vpx/tdav_codec_vp8.c:265: error: (Each undeclared identifier is 
reported only once

src/codecs/vpx/tdav_codec_vp8.c:265: error: for each function it appears in.)

src/codecs/vpx/tdav_codec_vp8.c: In function ‘tdav_codec_vp8_open_encoder’:

src/codecs/vpx/tdav_codec_vp8.c:675: warning: passing argument 1 of 
‘vpx_codec_enc_config_default’ makes pointer from integer without a cast
/usr/include/vpx/vpx_encoder.h:609: note: expected ‘const struct 
vpx_codec_iface *’ but argument is of type ‘int’

src/codecs/vpx/tdav_codec_vp8.c:720: warning: passing argument 2 of 
‘vpx_codec_enc_init_ver’ makes pointer from integer without a cast
/usr/include/vpx/vpx_encoder.h:575: note: expected ‘const struct 
vpx_codec_iface *’ but argument is of type ‘int’

src/codecs/vpx/tdav_codec_vp8.c: In function ‘tdav_codec_vp8_open_decoder’:

src/codecs/vpx/tdav_codec_vp8.c:774: warning: passing argument 2 of 
‘vpx_codec_dec_init_ver’ makes pointer from integer without a cast
/usr/include/vpx/vpx_decoder.h:121: note: expected ‘const struct 
vpx_codec_iface *’ but argument is of type ‘int’

make[2]: *** [libtinyDAV_la-tdav_codec_vp8.lo] Error 1
make[2]: Leaving directory `/home/zjz126com/doubango/tinyDAV'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zjz126com/doubango'
make: *** [all] Error 2

Original issue reported on code.google.com by zhoujiaz...@gmail.com on 8 Apr 2014 at 9:42