gcc -c -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 -DT38_SUPPORT -Wno-missing-prototypes -Wno-missing-declarations -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_zap.o chan_zap.c
chan_zap.c: In function 'load_module':
chan_zap.c:11116: error: 'inuse' undeclared (first use in this function)
chan_zap.c:11116: error: (Each undeclared identifier is reported only once
chan_zap.c:11116: error: for each function it appears in.)
chan_zap.c:11116: warning: type defaults to 'int' in declaration of 'type name'
chan_zap.c:11116: error: request for member '__end_field' in something not a structure or union
chan_zap.c:11116: warning: type defaults to 'int' in declaration of 'type name'
chan_zap.c:11116: error: request for member '__begin_field' in something not a structure or union
chan_zap.c:11117: warning: type defaults to 'int' in declaration of 'type name'
chan_zap.c:11117: error: request for member 'name' in something not a structure or union
chan_zap.c:11117: warning: type defaults to 'int' in declaration of 'type name'
chan_zap.c:11117: error: request for member '__begin_field' in something not a structure or union
chan_zap.c:11117: warning: type defaults to 'int' in declaration of 'type name'
chan_zap.c:11117: error: request for member '__end_field' in something not a structure or union
chan_zap.c:11117: warning: type defaults to 'int' in declaration of 'type name'
chan_zap.c:11117: error: request for member '__begin_field' in something not a structure or union
chan_zap.c:11117: warning: type defaults to 'int' in declaration of 'type name'
chan_zap.c:11117: error: request for member 'name' in something not a structure or union
chan_zap.c:11117: warning: type defaults to 'int' in declaration of 'type name'
chan_zap.c:11117: error: request for member '__begin_field' in something not a structure or union
make[1]: *** [chan_zap.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/channels'
make: *** [subdirs] Error 1
bosshogg:/usr/src/asterisk#