This code hasn't been maintained for sometime so it might need some work. Unfortunately I'm not available to fix this for you, however if you want to work on it looks like path issue:
> codec_codec2.c:31:20: error: codec2.h: No such file or directory - David On 11/07/14 14:31, salik satti wrote: > I am facing problems while integrating Codec2 support with asterisk > 1.8.22.0. when i follow all the steps written in README file under > codec-dev/asterisk directory. And after the installation when i issue > core show translation command codec2 contains only "-" on all other > codecs. Can any one please tell me how to solve these issue. I have > followd Hisaharu SUZUKI solution provided in link > https://sourceforge.net/p/freetel/mailman/freetel-codec2/thread/[email protected]/ > <http://souldsp.jp/> > . But when i do this : > I changed the lines in that instruction. > cp ../codec2-dev/asterisk/codec_codec2.c ./codecs > cp ../codec2-dev/asterisk/ex_codec2.h ./codecs > > and then after that try to build asterisk with codec2 support i get make > error like: > > [CC] codec_codec2.c -> codec_codec2.o > codec_codec2.c:31:20: error: codec2.h: No such file or directory > codec_codec2.c: In function ‘codec2_new’: > codec_codec2.c:51: warning: implicit declaration of function ‘codec2_create’ > codec_codec2.c:51: error: ‘CODEC2_MODE_2400’ undeclared (first use in > this function) > codec_codec2.c:51: error: (Each undeclared identifier is reported only once > codec_codec2.c:51: error: for each function it appears in.) > codec_codec2.c: In function ‘codec2tolin_framein’: > codec_codec2.c:72: warning: implicit declaration of function ‘codec2_decode’ > codec_codec2.c: In function ‘lintocodec2_frameout’: > codec_codec2.c:106: warning: implicit declaration of function > ‘codec2_encode’ > codec_codec2.c: In function ‘codec2_destroy_stuff’: > codec_codec2.c:123: warning: implicit declaration of function > ‘codec2_destroy’ > make[1]: */[codec_codec2.o] Error 1 > make: /* [codecs] Error 2 > > Now please if there anyone to help me i will be really great full for > any help on this . > > > > -- > Be NiCe And WiN ThE HeaRts > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > > > > _______________________________________________ > Freetel-codec2 mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 > ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
