[asterisk-users] Problem installing Asterisk

Matt mhoppes at gmail.com
Wed Nov 21 09:09:13 CST 2007


I have installed Asterisk with FreeTDS many times before (this same Asterisk
and same TDS version)... but today when I did the make it gave me this
error:

ake[1]: Entering directory `/home/matth/asterisk126/asterisk-1.2.6/cdr'
gcc  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3  -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE  -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS
-fomit-frame-pointer  -fPIC -DFREETDS_PRE_0_62   -c -o cdr_tds.o cdr_tds.c
cdr_tds.c:82:2: warning: #warning "You have older TDS, you should upgrade!"
cdr_tds.c: In function `tds_log':
cdr_tds.c:208: 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:349: error: too few arguments to function `tds_alloc_context'
cdr_tds.c:375: warning: implicit declaration of function `tds_free_connect'
cdr_tds.c:389: error: `result_type' undeclared (first use in this function)
cdr_tds.c:389: error: too many arguments to function
`tds_process_simple_query'
cdr_tds.c: In function `tds_load_module':
cdr_tds.c:429: warning: unused variable `result_type'
make[1]: *** [cdr_tds.o] Error 1
make[1]: Leaving directory `/home/matth/asterisk126/asterisk-1.2.6/cdr'
make: *** [subdirs] Error 1

We have freetds-0.64 installed, which is what we are running on all of our
other servers.  Any idea why only on this one would I get a TDS error on
make?

Linux  2.6.9-34.0.2.ELsmp #1 SMP Fri Jul 7 19:52:49 CDT 2006 i686 i686 i386
GNU/Linux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071121/9a2508fd/attachment.htm 


More information about the asterisk-users mailing list