[Home]

Summary:ASTERISK-06273: Cdr_tds does not compile at all
Reporter:Philip Orleans (philip_38)Labels:
Date Opened:2006-02-07 11:59:54.000-0600Date Closed:2011-06-07 14:10:14
Priority:MinorRegression?No
Status:Closed/CompleteComponents:CDR/cdr_tds
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I am using the SVN HEAD or 1.2 version and no matter what version of freetds I install (I tried them all from 0.61 to 0.63, and in-between), I always get this error. I need some help understanding how make cdr_tds work. My unixOBC and my freetds are working perfectly. I can connect and run queries using either isql or tsql. The fix whould make it work with the current freetds version, 0.63.

****** ADDITIONAL INFORMATION ******

cdr_tds.c: In function `tds_log':
cdr_tds.c:209: error: too many arguments to function `tds_process_simple_query'
cdr_tds.c: In function `mssql_connect':
cdr_tds.c:390: error: `result_type' undeclared (first use in this function)
cdr_tds.c:390: error: (Each undeclared identifier is reported only once
cdr_tds.c:390: error: for each function it appears in.)
cdr_tds.c:390: error: too many arguments to function `tds_process_simple_query'
cdr_tds.c: In function `tds_load_module':
cdr_tds.c:430: warning: unused variable `result_type'
Comments:By: Tilghman Lesher (tilghman) 2006-02-07 12:25:26.000-0600

If you are installing FreeTDS from RPM, you need to ensure that you have the development headers installed as well.

By: Philip Orleans (philip_38) 2006-02-07 17:48:26.000-0600

I have two rpm installed:
freetds-devel-0.63-2.i386.rpm
freetds-0.63-2.i386.rpm

By: Tilghman Lesher (tilghman) 2006-02-08 09:47:48.000-0600

I cannot reproduce this issue.  Please find me on IRC in #asterisk.  Be prepared to give me remote access to your machine so we can get this cleared up.

By: Philip Orleans (philip_38) 2006-02-08 11:48:46.000-0600

I am logged in the IRC channel, using handle FedericoAlves. Please call me at 1800 214 3035 at your convenience 24x7.

By: Tilghman Lesher (tilghman) 2006-02-09 09:35:58.000-0600

User had two copies of the freetds libraries installed on his system, which failed the Makefile test in a very unique way.