Summary: | ASTERISK-05369: [patch] Build error cdr_tds under FreeBSD 7.0 | ||
Reporter: | Leif Neland (lenne_dk) | Labels: | |
Date Opened: | 2005-10-26 04:05:32 | Date Closed: | 2008-01-15 15:52:46.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | CDR/cdr_tds |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20051026__bug_5517__2.diff.txt | |
Description: | Trying to build CVS-v1-0-10/26/05-09:38:29 on FreeBSD 7.0-CURRENT freetds-msdblib-0.63 unixODBC-2.2.11 gmake[1]: Entering directory `/usr/src/asterisk/cdr' gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i386 -I/usr/local/include/spandsp -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-v1-0-10/26/05-09:38:29\" -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: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 gmake[1]: *** [cdr_tds.o] Fejl 1 gmake[1]: Leaving directory `/usr/src/asterisk/cdr' gmake: *** [subdirs] Fejl 1 | ||
Comments: | By: sivana (sivana) 2005-10-26 12:05:52 I think you need an earlier version of FreeTDS, 0.62 By: Tilghman Lesher (tilghman) 2005-10-26 12:17:42 True enough, but if we're going to limit the version supported, then we need to prevent the compiling attempt if that version is not met. By: Tilghman Lesher (tilghman) 2005-10-26 13:03:16 Patch uploaded for CVS HEAD. By: Mark Spencer (markster) 2005-10-29 14:57:20 Fixed in CVS head, with small changes to avoid warning messages. By: Digium Subversion (svnbot) 2008-01-15 15:52:46.000-0600 Repository: asterisk Revision: 6892 U trunk/cdr/Makefile U trunk/cdr/cdr_tds.c ------------------------------------------------------------------------ r6892 | markster | 2008-01-15 15:52:45 -0600 (Tue, 15 Jan 2008) | 2 lines Merge TDS cdr fixes (bug ASTERISK-5369, with slight mods) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6892 |