In file included from ./src/include/switch.h:56,
from src/switch_rtp.c:33:
./src/include/switch_apr.h:247: error: parse error before "switch_thread_cond_t"
./src/include/switch_apr.h:247: warning: type defaults to `int' in declaration of `switch_thread_cond_t'
./src/include/switch_apr.h:247: warning: data definition has no type or storage class
./src/include/switch_apr.h:259: error: parse error before "switch_thread_id_t"
./src/include/switch_apr.h:259: warning: type defaults to `int' in declaration of `switch_thread_id_t'
./src/include/switch_apr.h:259: warning: data definition has no type or storage class
./src/include/switch_apr.h:1259: error: parse error before "switch_queue_t"
./src/include/switch_apr.h:1259: warning: type defaults to `int' in declaration of `switch_queue_t'
./src/include/switch_apr.h:1259: warning: data definition has no type or storage class
./src/include/switch_apr.h:1353: error: parse error before "switch_thread_rwlock_t"
./src/include/switch_apr.h:1353: warning: type defaults to `int' in declaration of `switch_thread_rwlock_t'
./src/include/switch_apr.h:1353: warning: data definition has no type or storage class
./src/include/switch_apr.h:1371: error: parse error before "switch_mutex_t"
./src/include/switch_apr.h:1371: warning: type defaults to `int' in declaration of `switch_mutex_t'
./src/include/switch_apr.h:1371: warning: data definition has no type or storage class
src/switch_rtp.c:52: error: parse error before '*' token
src/switch_rtp.c:52: warning: type defaults to `int' in declaration of `port_lock'
src/switch_rtp.c:52: warning: data definition has no type or storage class
src/switch_rtp.c:120: error: parse error before "switch_queue_t"
src/switch_rtp.c:120: warning: no semicolon at end of struct or union
src/switch_rtp.c:131: error: parse error before '*' token
src/switch_rtp.c:131: warning: type defaults to `int' in declaration of `dtmf_mutex'
src/switch_rtp.c:131: warning: data definition has no type or storage class
src/switch_rtp.c:132: error: parse error before '}' token
src/switch_rtp.c:170: error: field `dtmf_data' has incomplete type
src/switch_rtp.c: In function `switch_rtp_init':
src/switch_rtp.c:290: warning: implicit declaration of function `apr_thread_mutex_create'
src/switch_rtp.c:290: error: `APR_THREAD_MUTEX_NESTED' undeclared (first use in this function)
src/switch_rtp.c:290: error: (Each undeclared identifier is reported only once
src/switch_rtp.c:290: error: for each function it appears in.)
src/switch_rtp.c: In function `switch_rtp_request_port':
src/switch_rtp.c:298: warning: implicit declaration of function `apr_thread_mutex_lock'
src/switch_rtp.c:304: warning: implicit declaration of function `apr_thread_mutex_unlock'
src/switch_rtp.c: In function `switch_rtp_create':
src/switch_rtp.c:384: error: `APR_THREAD_MUTEX_NESTED' undeclared (first use in this function)
src/switch_rtp.c: In function `do_2833':
src/switch_rtp.c:649: warning: implicit declaration of function `apr_queue_size'
src/switch_rtp.c:652: warning: implicit declaration of function `apr_queue_trypop'
src/switch_rtp.c: In function `rtp_common_read':
src/switch_rtp.c:772: warning: implicit declaration of function `apr_thread_yield'
src/switch_rtp.c: In function `switch_rtp_queue_rfc2833':
src/switch_rtp.c:947: warning: implicit declaration of function `apr_queue_create'
src/switch_rtp.c:957: warning: implicit declaration of function `apr_queue_push'
src/switch_rtp.c: In function `rtp_common_write':
src/switch_rtp.c:1110: warning: passing arg 9 of `switch_core_codec_decode' from incompatible pointer type
gmake[2]: *** [libfreeswitch_la-switch_rtp.lo] Error 1
gmake[2]: Leaving directory `/home/akp/snapshot_freeswitch'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/home/akp/snapshot_freeswitch'
make: *** [install] Error 2