In article <[EMAIL PROTECTED]>, Kamran Ahmad <[EMAIL PROTECTED]> wrote: > 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.
Looks like it is trying to compile cdr_tds without the correct version of FreeTDS being installed. The makefile is finding /usr/include/tds.h or /usr/local/include/tds.h, which tells it to compile cdr_tds.c If you don't need to log CDRs to a MSSQL or Sybase server, the easiest solution if to comment out the two MODS+= lines under the heading "FreeTDS stuff". If you do need it, then you will probably have to get a newer FreeTDS. Cheers Tony -- Tony Mountifield Work: [EMAIL PROTECTED] - http://www.softins.co.uk Play: [EMAIL PROTECTED] - http://tony.mountifield.org _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
