[Asterisk-Users] error while compiling asterisk-1.0.7

Kamran Ahmad p_kami at yahoo.com
Mon Apr 4 00:38:00 MST 2005


gcc -shared -Xlinker -x -o cdr_odbc.so cdr_odbc.o
-lodbc  -L/usr/lib/pgsql
gcc -pipe  -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -g 
-Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6
-march=i686     -DASTERISK_VERSION=\"1.0.7\"
-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
make[1]: *** [cdr_tds.o] Error 1
make[1]: Leaving directory `/asterisk-1.0.7/cdr'
make: *** [subdirs] Error 1


helo

i am getting this error while compiling
asterisk-1.0.7. any expert tell me what is this.

regrads
Kamran


		
__________________________________ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest



More information about the asterisk-users mailing list