[Asterisk-Users] Error when compiling in freeTDS support

Matt mhoppes at gmail.com
Thu Jun 16 08:28:21 MST 2005


I'm trying to use freetds/odbc to write CDR records to a MSSQL
database but when I installed them and tried to compile asterisk again
I get:

_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/cdr'
make: *** [subdirs] Error 1



More information about the asterisk-users mailing list