[Asterisk-Users] Re: Error when compiling in freeTDS support

Matt mhoppes at gmail.com
Thu Jun 16 08:41:03 MST 2005


Scrap this question.. found the answer later... so I'm using ODBC...
but for some reason varchar(80) is coming in as 80 characters.. if say
CLID is only 10 characters it will appear as "5703332121              
           [80 characters]         "

any ideas?

On 6/16/05, Matt <mhoppes at gmail.com> wrote:
> 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