[asterisk-users] Problems compiling Asterisk 1.4.5
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? ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems compiling Asterisk 1.4.5
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.lvn5livna 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.lvn5livna 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 2 cdr_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 ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems compiling Asterisk 1.4.5
On 6/27/07, equis software [EMAIL PROTECTED] 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 ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems compiling Asterisk 1.4.5
Thanks Yes, I need an TDS upgrade. Right now I have installed freetds 0.64 and the errors change... [CC] cdr_tds.c - cdr_tds.o cdr_tds.c: In function `mssql_connect': cdr_tds.c:350: error: too many arguments to function `tds_alloc_context' make[1]: *** [cdr_tds.o] Error 1 make: *** [cdr] Error 2 On 6/27/07, Jared Smith [EMAIL PROTECTED] wrote: On 6/27/07, equis software [EMAIL PROTECTED] 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 ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems compiling Asterisk 1.4.5
equis software wrote: Thanks Yes, I need an TDS upgrade. Right now I have installed freetds 0.64 and the errors change... [CC] cdr_tds.c - cdr_tds.o cdr_tds.c: In function `mssql_connect': cdr_tds.c:350: error: too many arguments to function `tds_alloc_context' make[1]: *** [cdr_tds.o] Error 1 make: *** [cdr] Error 2 On 6/27/07, *Jared Smith* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On 6/27/07, equis software [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 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 ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users The unfortunate thing is that freetds is not a package in CentOS, that being said, the source based install is fairly straight forward. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems compiling Asterisk 1.4.5
I fix the problem deleting cdr_tds.c I know this is not the solution but, It woks. Thanks On 6/27/07, Anthony Francis [EMAIL PROTECTED] wrote: equis software wrote: Thanks Yes, I need an TDS upgrade. Right now I have installed freetds 0.64 and the errors change... [CC] cdr_tds.c - cdr_tds.o cdr_tds.c: In function `mssql_connect': cdr_tds.c:350: error: too many arguments to function `tds_alloc_context' make[1]: *** [cdr_tds.o] Error 1 make: *** [cdr] Error 2 On 6/27/07, *Jared Smith* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On 6/27/07, equis software [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 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 ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users The unfortunate thing is that freetds is not a package in CentOS, that being said, the source based install is fairly straight forward. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users