Hello, everyone.
I’m trying to compile asterisk 1.2.24 and getting this error:
#make
…
make[1]: Entering directory /home/asterisk/asterisk-1.2.24/codecs' gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -c -o codec_zap.o codec_zap.c codec_zap.c: In function
zap_framein’:
codec_zap.c:143: error: dereferencing pointer to incomplete type
codec_zap.c:145: error: dereferencing pointer to incomplete type
codec_zap.c:147: error: dereferencing pointer to incomplete type
…
Please, help me resolve this.