Václav Strachoň
2010-Aug-24 18:43 UTC
[asterisk-users] asterisk-1.8.0-beta4 - compile error
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
Kristijan Vrban
2010-Aug-24 20:35 UTC
[asterisk-users] asterisk-1.8.0-beta4 - compile error
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