[Asterisk-Users] Problems with app_dbodbc.c

Matt Roth mroth at imminc.com
Thu Apr 21 15:40:35 MST 2005


Matt,

app_dbodbc.c may be deprecated, but what you described is a common 
problem.  As per this thread:

http://lists.digium.com/pipermail/asterisk-dev/2004-June/004809.html

if you are running make in one of the Asterisk source directory's 
subdirectories (such as /usr/src/asterisk/apps/) you need to edit the 
Makefile to define _GNU_SOURCE.  You can do this by locating the first 
instance of a line containing the string "CFLAGS+=" and adding the 
following string on the next line:

CFLAGS+=-D_GNU_SOURCE

Matthew Roth
http://www.voip-info.org/tiki-index.php?page=Running%20Asterisk%20on%20Debian


Matthew Boehm wrote:

>Matt wrote:
>  
>
>>Hi,
>>Has anyone experience with app_dbodbc.c ?  If so.. any thoughts what
>>the issue might be trying to compile this?
>>    
>>
>
>    The author of dbodbc just said on the -dev list that this app is
>deprecated and you shouldn't use it anymore. Use RealTime instead.
>
>-Matthew
>



More information about the asterisk-users mailing list