[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Building Asterisk



This one's probably for Nobse, since he built the backport.

I am trying to rebuild Asterisk 1.2.10.dfsg-1bpo1 from the source package on Bpo. However, the build fails:

cdr_tds.c: In function `mssql_connect':
cdr_tds.c:389: error: `result_type' undeclared (first use in this function)
cdr_tds.c:389: error: (Each undeclared identifier is reported only once
cdr_tds.c:389: error: for each function it appears in.)
cdr_tds.c: In function `tds_load_module':
cdr_tds.c:429: warning: unused variable `result_type'
make[2]: *** [cdr_tds.o] Error 1
make[2]: Leaving directory `/home/martijn/debian/asterisk/asterisk-1.2.10.dfsg/cdr'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/martijn/debian/asterisk/asterisk-1.2.10.dfsg'
make: *** [build-arch-stamp] Error 2

The failing code is only compiled for FreeTDS versions < 0.62. I am building this with freetds-dev 0.61-6.2 from sarge, because I haven't found a backport of version 0.63-3.

How was the binary on Bpo built?

Thanks,
Martijn.

Reply to: