[asterisk-dev] Building asterisk on OSX 10.8.5 fails

Hanxue Lee hanxue.developer at gmail.com
Fri Oct 11 14:31:30 CDT 2013


Hello,


I am trying to build Asterisk 11.5.1 on OSX 10.8.5, and ended up with this
error message:

...
...
res_odbc.c: In function ‘acf_transaction_write’:
res_odbc.c:1677: warning: ‘SQLSetConnectAttr’ is deprecated (declared at
/usr/include/sql.h:1083)
res_odbc.c:1679: warning: ‘SQLGetDiagField’ is deprecated (declared at
/usr/include/sql.h:1006)
res_odbc.c:1681: warning: ‘SQLGetDiagRec’ is deprecated (declared at
/usr/include/sql.h:1016)
   [CC] res_rtp_multicast.c -> res_rtp_multicast.o
   [CC] res_security_log.c -> res_security_log.o
   [CC] res_smdi.c -> res_smdi.o
   [CC] res_snmp.c -> res_snmp.o
   [CC] snmp/agent.c -> snmp/agent.o
   [CC] res_speech.c -> res_speech.o
snmp/agent.c: In function ‘init_asterisk_mib’:
snmp/agent.c:817: error: ‘RONLY’ undeclared (first use in this function)
snmp/agent.c:817: error: (Each undeclared identifier is reported only once
snmp/agent.c:817: error: for each function it appears in.)
make[1]: *** [snmp/agent.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [res] Error 2
make: *** Waiting for unfinished jobs....
   [LD] chan_sip.o sip/config_parser.o sip/dialplan_functions.o
sip/reqresp_parser.o sip/sdp_crypto.o sip/security_events.o sip/srtp.o
sip/utils.o -> chan_sip.so



Any idea what may be causing this error?


Full log of Make is available at http://hastebin.com/yocesikube
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131012/ef2251cd/attachment.html>


More information about the asterisk-dev mailing list