From: Rick Woomer
Sent: Wednesday, February 22, 2012 11:52 AM
Subject: [Openbts-discuss] Issue with Asterisk
I am running a recently downloaded copy OpenBTS version 2.8 on an E100.
Originally, I loaded sqlite3 and asterisk from the Angstrom repo. While phones will register, I get the following error on the Asterisk CLI:
ERROR: pbx.c:1573 ast_func_read: Function ODBC_SQL not registered
After reading the Wiki, I realized that this is because the ODBC connection was likely not installed with Asterisk.
In the Wiki, found the instructions for enabling realtime Asterisk (http://wush.net/trac/rangepublic/wiki/sqlie3ODBC). I am trying to follow this, but I keep running into errors...
I downloaded the latest version of asterisk from http://svn.digium.com/svn/asterisk/trunk.
When I try to make asterisk, I fail with the following
usr/src/asterisk/main/dns.c:268: undefined reference to `__res_nsearch'
enum.o: In function `ebl_callback':
/usr/src/asterisk/main/enum.c:298: undefined reference to `__dn_expand'
enum.o: In function `parse_naptr':
/usr/src/asterisk/main/enum.c:441: undefined reference to `__dn_expand'
srv.o: In function `parse_srv':
/usr/src/asterisk/main/srv.c:90: undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make: *** [asterisk] Error 1
make: *** [main] Error 2
make: Leaving directory `/usr/src/asterisk'
make: *** [_cleantest_all] Error 2