[Asterisk-Users] Asterisk 1.0.9 and FreeTDS

Remzi Semsettin Turer remzit at softcom.biz
Mon Jul 4 09:59:46 MST 2005


Hi all,

I have a working 1.0.7 installation and it is recording CDR to mysql. I am
using FreeTDS on the system currently to access our MS SQL 2000 server for
account verification, we may use it to store CDR records there in the
future.

I have decided to update the installation to 1.0.9. However, during "make",
I receive:

make[1]: Entering directory `/usr/src/asterisk/cdr'
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-O6 -march=i686     -DASTERISK_VERSION=\"1.0.9\" -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/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: error: `TDSCONNECTINFO' undeclared (first use in this
function)
cdr_tds.c:415: error: (Each undeclared identifier is reported only once
cdr_tds.c:415: error: for each function it appears in.)
cdr_tds.c:415: error: `connection' undeclared (first use in this function)
cdr_tds.c:437: error: too few arguments to function `tds_alloc_context'
cdr_tds.c:460: warning: implicit declaration of function `tds_free_connect'
cdr_tds.c: 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

I checked the version of FreeTDS, it is freetds v0.64.dev.20050704. (upon
seeing on another post checking version of FreeTDS, I updated it to the most
recent one)

I checked, tds.h exists in /usr/local/include. Any ideas what is causing the
error? 

Regards,

Remzi Semsettin Turer





More information about the asterisk-users mailing list