[asterisk-users] Which spandsp & unicall version to use with 1.2?
Patrick
asterisk-list at puzzled.xs4all.nl
Fri Aug 10 07:07:32 CDT 2007
On Wed, 2007-08-08 at 22:30 +0800, Steve Underwood wrote:
> Patrick wrote:
> > Hi all,
> >
> > Anyone have an idea which version of spandsp, libunicall, libmfcr2,
> > libsupertone, app_rxfax/app_txfax and chan_unicall I should use for the
> > latest asterisk 1.2?
> >
> > Would that be the ones listed below?
> >
> > http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.4pre4.tgz
> > http://www.soft-switch.org/downloads/snapshots/spandsp/test-apps-asterisk-1.2/
> >
> > http://www.soft-switch.org/downloads/unicall/unicall-0.0.5pre1/
> > http://www.soft-switch.org/downloads/snapshots/unicall/asterisk-1.2.x-20060205/
> >
> >
> For * 1.2 use:
>
> spandsp-0.0.2 and the apps that accompany it.
>
> unicall-0.0.3pre11 and the chan_unicall that accompanies it.
Compilation of app_rxfax.c and app_txfax.c with * 1.2.24 and spandsp
0.0.2pre26 fails with the errors below. Both app_rxfax.c and app_txfax.c
were downloaded from:
http://www.soft-switch.org/downloads/snapshots/spandsp/test-apps-asterisk-1.2/
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
-mtune=generic -fasynchronous-unwind-tables -DZAPTEL_OPTIMIZATIONS
-fomit-frame-pointer -fPIC -c -o app_rxfax.o app_rxfax.c
app_rxfax.c: In function 'phase_e_handler':
app_rxfax.c:105: error: 't30_stats_t' has no member named 'x_resolution'
app_rxfax.c:105: error: 't30_stats_t' has no member named 'y_resolution'
app_rxfax.c:116: error: 't30_stats_t' has no member named 'y_resolution'
app_rxfax.c:122: error: 't30_stats_t' has no member named 'y_resolution'
app_rxfax.c: In function 'phase_d_handler':
app_rxfax.c:147: error: 't30_stats_t' has no member named 'width'
app_rxfax.c:147: error: 't30_stats_t' has no member named 'length'
app_rxfax.c:148: error: 't30_stats_t' has no member named 'x_resolution'
app_rxfax.c:148: error: 't30_stats_t' has no member named 'y_resolution'
app_rxfax.c: In function 'rxfax_exec':
app_rxfax.c:171: error: 'fax_state_t' undeclared (first use in this
function)
app_rxfax.c:171: error: (Each undeclared identifier is reported only
once
app_rxfax.c:171: error: for each function it appears in.)
app_rxfax.c:171: error: expected ';' before 'fax'
app_rxfax.c:281: error: 'fax' undeclared (first use in this function)
app_rxfax.c:281: error: too few arguments to function 'fax_init'
app_rxfax.c:294: warning: implicit declaration of function
't30_set_ecm_capability'
app_rxfax.c:295: warning: implicit declaration of function
't30_set_supported_compressions'
app_rxfax.c:295: error: 'T30_SUPPORT_T4_1D_COMPRESSION' undeclared
(first use in this function)
app_rxfax.c:295: error: 'T30_SUPPORT_T4_2D_COMPRESSION' undeclared
(first use in this function)
app_rxfax.c:295: error: 'T30_SUPPORT_T6_COMPRESSION' undeclared (first
use in this function)
app_rxfax.c:346: warning: implicit declaration of function
't30_terminate'
make[1]: *** [app_rxfax.o] Error 1
make[1]: Leaving directory
`/home/patrick/redhat/BUILD/asterisk-1.2.24/apps'
make: *** [subdirs] Error 1
Any idea how I can fix this?
Thanks and regards,
Patrick
More information about the asterisk-users
mailing list