gcc -c -o codec_gsm.o codec_gsm.c -I../include -I.. -fPIC -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -O6 -march=i686 codec_gsm.c:53:17: gsm.h: No such file or directory codec_gsm.c:67: error: syntax error before "gsm" codec_gsm.c:67: warning: no semicolon at end of struct or union codec_gsm.c:69: error: syntax error before '}' token codec_gsm.c: In function `gsm_new': codec_gsm.c:75: error: dereferencing pointer to incomplete type codec_gsm.c:75: warning: implicit declaration of function `gsm_create' codec_gsm.c: In function `gsmtolin_framein': codec_gsm.c:139: warning: implicit declaration of function `gsm_decode' codec_gsm.c:139: error: dereferencing pointer to incomplete type codec_gsm.c:146: error: dereferencing pointer to incomplete type codec_gsm.c: In function `lintogsm_framein': codec_gsm.c:169: error: dereferencing pointer to incomplete type codec_gsm.c: In function `lintogsm_frameout': codec_gsm.c:186: warning: implicit declaration of function `gsm_encode' codec_gsm.c:186: error: dereferencing pointer to incomplete type codec_gsm.c:186: error: dereferencing pointer to incomplete type codec_gsm.c:192: error: dereferencing pointer to incomplete type codec_gsm.c:192: error: dereferencing pointer to incomplete type codec_gsm.c: In function `gsm_destroy_stuff': codec_gsm.c:200: error: dereferencing pointer to incomplete type codec_gsm.c:201: warning: implicit declaration of function `gsm_destroy' codec_gsm.c:201: error: dereferencing pointer to incomplete type codec_gsm.c: At top level: codec_gsm.c:214: error: invalid application of `sizeof' to an incomplete type codec_gsm.c:227: error: invalid application of `sizeof' to an incomplete type make[1]: *** [codec_gsm.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/asterisk-trunk/asterisk/codecs' make: *** [codecs] Error 2