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 format_h264.o format_h264.c format_h264.c: In function ‘h264_open’: format_h264.c:62: error: dereferencing pointer to incomplete type format_h264.c: In function ‘h264_read’: format_h264.c:75: error: dereferencing pointer to incomplete type format_h264.c:78: error: dereferencing pointer to incomplete type format_h264.c:87: error: dereferencing pointer to incomplete type format_h264.c:88: error: dereferencing pointer to incomplete type format_h264.c:89: error: dereferencing pointer to incomplete type format_h264.c:90: warning: implicit declaration of function ‘AST_FRAME_SET_BUFFER’ format_h264.c:90: error: dereferencing pointer to incomplete type format_h264.c:90: error: dereferencing pointer to incomplete type format_h264.c:91: error: dereferencing pointer to incomplete type format_h264.c:91: error: dereferencing pointer to incomplete type format_h264.c:91: error: dereferencing pointer to incomplete type format_h264.c:91: error: dereferencing pointer to incomplete type format_h264.c:96: error: dereferencing pointer to incomplete type format_h264.c:97: error: dereferencing pointer to incomplete type format_h264.c:98: error: dereferencing pointer to incomplete type format_h264.c:99: error: dereferencing pointer to incomplete type format_h264.c:100: error: dereferencing pointer to incomplete type format_h264.c:101: error: dereferencing pointer to incomplete type format_h264.c:106: error: dereferencing pointer to incomplete type format_h264.c: In function ‘h264_write’: format_h264.c:126: error: dereferencing pointer to incomplete type format_h264.c:131: error: dereferencing pointer to incomplete type format_h264.c:135: error: dereferencing pointer to incomplete type format_h264.c: In function ‘h264_trunc’: format_h264.c:151: error: dereferencing pointer to incomplete type format_h264.c:151: error: dereferencing pointer to incomplete type format_h264.c: In function ‘h264_tell’: format_h264.c:158: error: dereferencing pointer to incomplete type format_h264.c: At top level: format_h264.c:162: error: variable ‘h264_f’ has initializer but incomplete type format_h264.c:163: error: unknown field ‘name’ specified in initializer format_h264.c:163: warning: excess elements in struct initializer format_h264.c:163: warning: (near initialization for ‘h264_f’) format_h264.c:164: error: unknown field ‘exts’ specified in initializer format_h264.c:164: warning: excess elements in struct initializer format_h264.c:164: warning: (near initialization for ‘h264_f’) format_h264.c:165: error: unknown field ‘format’ specified in initializer format_h264.c:165: warning: excess elements in struct initializer format_h264.c:165: warning: (near initialization for ‘h264_f’) format_h264.c:166: error: unknown field ‘open’ specified in initializer format_h264.c:166: warning: excess elements in struct initializer format_h264.c:166: warning: (near initialization for ‘h264_f’) format_h264.c:167: error: unknown field ‘write’ specified in initializer format_h264.c:167: warning: excess elements in struct initializer format_h264.c:167: warning: (near initialization for ‘h264_f’) format_h264.c:168: error: unknown field ‘seek’ specified in initializer format_h264.c:168: warning: excess elements in struct initializer format_h264.c:168: warning: (near initialization for ‘h264_f’) format_h264.c:169: error: unknown field ‘trunc’ specified in initializer format_h264.c:169: warning: excess elements in struct initializer format_h264.c:169: warning: (near initialization for ‘h264_f’) format_h264.c:170: error: unknown field ‘tell’ specified in initializer format_h264.c:170: warning: excess elements in struct initializer format_h264.c:170: warning: (near initialization for ‘h264_f’) format_h264.c:171: error: unknown field ‘read’ specified in initializer format_h264.c:171: warning: excess elements in struct initializer format_h264.c:171: warning: (near initialization for ‘h264_f’) format_h264.c:172: error: unknown field ‘buf_size’ specified in initializer format_h264.c:172: warning: excess elements in struct initializer format_h264.c:172: warning: (near initialization for ‘h264_f’) format_h264.c:173: error: unknown field ‘desc_size’ specified in initializer format_h264.c:173: warning: excess elements in struct initializer format_h264.c:173: warning: (near initialization for ‘h264_f’) format_h264.c:177: error: static declaration of ‘load_module’ follows non-static declaration ../include/asterisk/module.h:46: error: previous declaration of ‘load_module’ was here format_h264.c: In function ‘load_module’: format_h264.c:178: warning: passing argument 1 of ‘ast_format_register’ from incompatible pointer type format_h264.c:178: error: too few arguments to function ‘ast_format_register’ format_h264.c: At top level: format_h264.c:182: error: static declaration of ‘unload_module’ follows non-static declaration ../include/asterisk/module.h:57: error: previous declaration of ‘unload_module’ was here format_h264.c: In function ‘unload_module’: format_h264.c:183: error: invalid use of undefined type ‘struct ast_format’ format_h264.c: At top level: format_h264.c:186: error: expected declaration specifiers or ‘...’ before string constant format_h264.c:186: error: expected declaration specifiers or ‘...’ before string constant format_h264.c:186: warning: data definition has no type or storage class format_h264.c:186: warning: type defaults to ‘int’ in declaration of ‘AST_MODULE_INFO_STANDARD’ format_h264.c:186: warning: function declaration isn’t a prototype make[1]: *** [format_h264.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk-1.2.11/formats'