Hi! I have this errors compiling Asterisk 1.4.5 cdr_tds.c:86:2: warning: #warning "You have older TDS, you should upgrade!" cdr_tds.c: In function `tds_log': cdr_tds.c:213: error: too many arguments to function `tds_process_simple_query' cdr_tds.c: In function `mssql_connect': cdr_tds.c:326: error: `TDSCONNECTINFO' undeclared (first use in this function) cdr_tds.c:326: error: (Each undeclared identifier is reported only once cdr_tds.c:326: error: for each function it appears in.) cdr_tds.c:326: error: `connection' undeclared (first use in this function) cdr_tds.c:379: warning: implicit declaration of function `tds_free_connect' cdr_tds.c:393: error: `result_type' undeclared (first use in this function) cdr_tds.c:393: error: too many arguments to function `tds_process_simple_query' cdr_tds.c: In function `tds_load_module': cdr_tds.c:434: warning: unused variable `result_type' make[1]: *** [cdr_tds.o] Error 1 make: *** [cdr] Error 2 Any Ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070627/da8427a2/attachment.htm
equis software wrote:> Hi! I have this errors compiling Asterisk 1.4.5 > > cdr_tds.c:86:2: warning: #warning "You have older TDS, you should > upgrade!" >From "yum search tds" on FC5.... freetds.i386 0.64-4.lvn5 livna Matched from: freetds Implementation of the Sybase/Microsoft TDS (Tabular DataStream) protocol FreeTDS is a project to document and implement the TDS (Tabular DataStream) protocol. TDS is used by Sybase(TM) and Microsoft(TM) for client to database server communications. FreeTDS includes call level interfaces for DB-Lib, CT-Lib, and ODBC. http://www.freetds.org/ freetds-devel.i386 0.64-4.lvn5 livna Matched from: freetds-devel Header files, libraries and development documentation for freetds This package contains the header files, static libraries and development documentation for freetds. If you like to develop programs using freetds, you will need to install freetds-devel. http://www.freetds.org/> make[1]: *** [cdr_tds.o] Error 1 > make: *** [cdr] Error 2cdr_tds.o ? looks like Asterisk is picking up an installed, but ancient, freetds and trying to build the cdr module for it. Update or remove freetds regards, Drew -- Drew Gibson Systems Administrator OANDA Corporation www.oanda.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070627/f7c64315/attachment.htm
On 6/27/07, equis software <equissoftware at gmail.com> wrote:> cdr_tds.c:86:2: warning: #warning "You have older TDS, you should upgrade!"This is trying to tell you that your TDS code is too old, and should be upgraded. In looking at the Asterisk code, it seems to need version 0.62 or newer of the TDS libraries on your system. -Jared