[Asterisk-Users] Problems with app_dbodbc.c

Matt mhoppes at gmail.com
Thu Apr 21 12:04:02 MST 2005


Hi,
Has anyone experience with app_dbodbc.c ?  If so.. any thoughts what
the issue might be trying to compile this?

I'm installing it on a RedHat Enterprise 3.0 server.

[root at asterisk1 apps]# make
cc -fPIC   -c -o app_dbodbc.o app_dbodbc.c
In file included from /usr/include/asterisk/linkedlists.h:4,
                 from /usr/include/asterisk/chanvars.h:17,
                 from /usr/include/asterisk/channel.h:19,
                 from /usr/include/asterisk/file.h:17,
                 from app_dbodbc.c:30:
/usr/include/asterisk/lock.h: In function `ast_mutex_init':
/usr/include/asterisk/lock.h:302: `PTHREAD_MUTEX_RECURSIVE' undeclared
(first use in this function)
/usr/include/asterisk/lock.h:302: (Each undeclared identifier is
reported only once
/usr/include/asterisk/lock.h:302: for each function it appears in.)
app_dbodbc.c: In function `lookupblacklist_exec':
app_dbodbc.c:134: structure has no member named `cid'
app_dbodbc.c:136: structure has no member named `cid'
app_dbodbc.c:139: structure has no member named `cid'
app_dbodbc.c:143: structure has no member named `cid'
app_dbodbc.c:144: structure has no member named `cid'
app_dbodbc.c:147: structure has no member named `cid'
app_dbodbc.c:152: structure has no member named `cid'
app_dbodbc.c: In function `lookupcidname_exec':
app_dbodbc.c:165: structure has no member named `cid'
app_dbodbc.c:166: structure has no member named `cid'
app_dbodbc.c:167: warning: passing arg 3 of `ast_set_callerid' makes
integer from pointer without a cast
app_dbodbc.c:167: too many arguments to function `ast_set_callerid'
app_dbodbc.c: In function `odbcget_exec':
app_dbodbc.c:355: structure has no member named `cid'
make: *** [app_dbodbc.o] Error 1



More information about the asterisk-users mailing list