[Asterisk-Users] CDR and TDS

David Masure d.masure at ucr.fr
Mon Apr 11 02:15:34 MST 2005


 
Hi,
 
I want to use the cdr to record the call log to my Microsoft SQL Server
using unixodbc and freetds.... 
 
but when I compile, I've got this message....
 
Does anyone have the same problem and/or know how to solve it ?
 
Thanks
 
Baste regards
 
David Masure
 
 
make[1]: Entering directory
`/usr/src/asterisk/bristuff-0.2.0-RC7k/asterisk-1.0.6/cdr'
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_
GNU_SOURCE  -O6 -march=i686   -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"1.0.6-BRIstuffed-0.2.0-RC7k\" -DINSTALL_PREFIX=\"
\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/va
r/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\"
-DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\
" -DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN
-fPIC
    -c -o cdr_tds.o cdr_tds.c
cdr_tds.c: In function `mssql_connect':
cdr_tds.c:415: `TDSCONNECTINFO' undeclared (first use in this function)
cdr_tds.c:415: (Each undeclared identifier is reported only once
cdr_tds.c:415: for each function it appears in.)
cdr_tds.c:415: `connection' undeclared (first use in this function)
cdr_tds.c:460: warning: implicit declaration of function
`tds_free_connect'
/usr/include/ctype.h: At top level:
cdr_tds.c:71: warning: `connect_time' defined but not used
make[1]: *** [cdr_tds.o] Error 1
make[1]: Leaving directory
`/usr/src/asterisk/bristuff-0.2.0-RC7k/asterisk-1.0.6/cdr'
make: *** [subdirs] Error 1
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050411/39548c88/attachment.htm


More information about the asterisk-users mailing list