mod_pjsip.c: In function `pjsip_on_init':
mod_pjsip.c:291: warning: implicit declaration of function `add_server_header'
mod_pjsip.c: At top level:
mod_pjsip.c:743: warning: `add_server_header' was declared implicitly `extern' and later `static'
mod_pjsip.c:460: warning: previous declaration of `add_server_header'
mod_pjsip.c:743: warning: type mismatch with previous implicit declaration
mod_pjsip.c:460: warning: previous implicit declaration of `add_server_header'
mod_pjsip.c:743: warning: `add_server_header' was previously implicitly declared to return `int'
mod_pjsip.c: In function `on_incoming_call':
mod_pjsip.c:856: error: `dlg' undeclared (first use in this function)
mod_pjsip.c:856: error: (Each undeclared identifier is reported only once
mod_pjsip.c:856: error: for each function it appears in.)
mod_pjsip.c:903: error: `rdata' undeclared (first use in this function)
mod_pjsip.c:904: error: `inv' undeclared (first use in this function)
mod_pjsip.c: In function `on_incoming_options':
mod_pjsip.c:945: warning: unused variable `sdp'
mod_pjsip.c:983: warning: label `TODO___ADD_SDP_TO_OPTIONS_RESPONSE' defined but not used
mod_pjsip.c: In function `call_on_state_changed':
mod_pjsip.c:1097: warning: label `TODO___MAP_SIP_STATUS_CODE_TO_SWITCH_CAUSE_CODE' defined but not used
mod_pjsip.c: In function `call_on_media_update':
mod_pjsip.c:1242: warning: label `TODO___HANDLE_CALL_HOLD' defined but not used
gmake[2]: *** [mod_pjsip.so] Error 1
gmake[2]: Leaving directory `/usr/src/freeswitch.trunk/src/mod/endpoints/mod_pjsip'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/src/freeswitch.trunk/src/mod/endpoints/mod_pjsip'
make: *** [modules] Error 1