[asterisk-users] asterisk-1.8.0-beta4 - compile error

Kristijan Vrban vrban.lkml at googlemail.com
Tue Aug 24 15:35:56 CDT 2010


if you dont need asterisk as a fax maschine, just disable
res_fax_spandsp with make menuconfig.
if you want fax support, first remove all old spandsp lib/header, and
install the latest spandsp on you system from:
http://www.soft-switch.org/downloads/snapshots/spandsp/?C=M;O=D

then again ./configure && make

kristijan

2010/8/24 Václav Strachoň <vaclav.strachon at gmail.com>:
>  Hi,
>
> I tried to compile asterisk-1.8.0-beta4 but after ./configure && make
> I've got following error:
>
> [CC] res_fax.c -> res_fax.o
>    [LD] res_fax.o -> res_fax.so
>    [CC] res_fax_spandsp.c -> res_fax_spandsp.o
> res_fax_spandsp.c:117: error: field âfax_stateâ has incomplete type
> res_fax_spandsp.c:118: error: field ât38_stateâ has incomplete type
> res_fax_spandsp.c: In function âspandsp_fax_startâ:
> res_fax_spandsp.c:580: error: dereferencing pointer to incomplete type
> res_fax_spandsp.c: In function âspandsp_fax_cli_show_sessionâ:
> res_fax_spandsp.c:682: error: dereferencing pointer to incomplete type
> res_fax_spandsp.c:682: error: dereferencing pointer to incomplete type
> make[1]: *** [res_fax_spandsp.o] Error 1
> make: *** [res] Error 2
>
>
> Can somebody help me?
>
> asterisk-1.8.0-beta4
> Linux 2.6.18-164.15.1.el5 #1 SMP
> CentOS release 5.2 (Final)
>
> Thanks,
>
> Vaclav Strachon
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list