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
On Sun, Mar 08, 2009 at 12:26:00AM +0100, Remco Barendse wrote:> 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 2Fixed in http://svn.digium.com/view/asterisk?view=revision&revision=178306 -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
believe is missing dependencies 2009/3/7 Remco Barendse <asterisk at barendse.to>> 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 >-- Asterisk user number: 1099 Linux user: #443184 shazaum.googlepages.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090308/189f25a8/attachment.htm
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
Thank you, Doug, for precious information. Best regards, Marco Signorini. ======================INGEGNI Tech S.r.l. http://www.ingegnitech.com Doug Lytle wrote:> > Main fax server: > > > Mandriva 2008.1 > Kernel 2.6.24.5 (Compiled for source) > (1) Intel(R) Xeon(TM) CPU 2.80GHz > Digium TE110P (23 b channels 1 data) > > Asterisk 1.4.20.1 > HylaFAX+ 5.2.7 > iaxmodem 1.2.0 > SpanDSP 0.0.4 (The one that came with iaxmodem) > > Doug > >