[asterisk-users] Compile problems

Sebastian scgm at adinet.com.uy
Sat Mar 7 22:40:15 CST 2009


The fax error seems to be problem of spandsp version.
What version are you using???

Enviado desde mi iPhone

El 07/03/2009, a las 09:26 p.m., Remco Barendse <asterisk at barendse.to>  
escribió:

> Hi all
>
> I don't know what went wrong but i no longer seem to be able to  
> compile
> asterisk. I first do :
>
> cd /usr/src/dahdi-linux-2.1.0.4
> make clean ; make all ; make install
>
> cd /usr/src/dahdi-tools-2.1.0.2
> ./configure ; make clean ; make all ; make install ; make config
>
> So far.... so good but then when i do :
> cd /usr/src/asterisk-1.6.0.6
> make clean ; ./configure ; make all ; make install
>
> i get this :
>
> In file included from app_dahdiras.c:50:
> /usr/include/dahdi/user.h:736: error: syntax error before "__s32"
> /usr/include/dahdi/user.h:743: error: field `params' has incomplete  
> type
> /usr/include/dahdi/user.h:939: error: syntax error before "__s32"
> /usr/include/dahdi/user.h:940: error: syntax error before ':' token
> make[1]: *** [app_dahdiras.o] Error 1
> make: *** [apps] Error 2
>
> When i try asterisk 1.6.0.5 i get :
>    [CC] app_fax.c -> app_fax.o
> app_fax.c: In function `transmit_audio':
> app_fax.c:344: error: structure has no member named `t30_state'
> app_fax.c:347: error: structure has no member named `t30_state'
> app_fax.c:348: error: structure has no member named `t30_state'
> app_fax.c:349: error: structure has no member named `t30_state'
> app_fax.c:353: error: structure has no member named `t30_state'
> app_fax.c:418: error: structure has no member named `t30_state'
> app_fax.c:420: error: structure has no member named `t30_state'
> app_fax.c:459: error: structure has no member named `t30_state'
> app_fax.c:462: error: structure has no member named `t30_state'
> app_fax.c: In function `transmit_t38':
> app_fax.c:498: error: structure has no member named `t30_state'
> app_fax.c:499: error: structure has no member named `t38'
> app_fax.c:502: error: structure has no member named `t30_state'
> app_fax.c:503: error: structure has no member named `t30_state'
> app_fax.c:504: error: structure has no member named `t30_state'
> app_fax.c:506: error: structure has no member named `t30_state'
> app_fax.c:532: error: structure has no member named `t38'
> app_fax.c:535: error: structure has no member named `t30_state'
> app_fax.c:537: error: structure has no member named `t30_state'
> app_fax.c:567: error: structure has no member named `t30_state'
> make[1]: *** [app_fax.o] Error 1
> make: *** [apps] Error 2
>
>
> And when i try 1.6.1-rc1 i get :
>    [CC] app_fax.c -> app_fax.o
> app_fax.c: In function `transmit_audio':
> app_fax.c:331: error: structure has no member named `t30_state'
> app_fax.c: In function `transmit_t38':
> app_fax.c:511: error: structure has no member named `t30_state'
> app_fax.c:512: error: structure has no member named `t38'
> make[1]: *** [app_fax.o] Error 1
> make: *** [apps] Error 2
>
>
> This is my system info :
> CentOS 4.7  with :
> Linux version 2.6.9-78.0.13.ELsmp (mockbuild at builder16.centos.org)  
> (gcc
> version 3.4.6 20060404 (Red Hat 3.4.6-10)) #1 SMP Wed Jan 14  
> 16:12:46 EST
> 2009
>
> configure: Package configured for:
> configure: OS type  : linux-gnu
> configure: Host CPU : i686
> configure: build-cpu:vendor:os: i686 : pc : linux-gnu :
> configure: host-cpu:vendor:os: i686 : pc : linux-gnu :
>
>
> Asterisk always used to compile without probs?? Any tips / helps /
> pointers most welcome!
>
> Remco
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> 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