Summary: | ASTERISK-13523: Asterisk app_fax compilation fails in svn 1.6.1 branch | ||
Reporter: | Gabor Garami (hron84) | Labels: | |
Date Opened: | 2009-02-05 19:37:42.000-0600 | Date Closed: | 2011-06-07 14:02:43 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_fax |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I downloaded 1.6.1 branch from svn and it doesn't compile: make[1]: Entering directory `/usr/src/asterisk/asterisk-1.6.1/menuselect' make[1]: `makeopts' is up to date. make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.6.1/menuselect' menuselect/menuselect --check-deps menuselect.makeopts Generating embedded module rules ... [CC] app_fax.c -> app_fax.o app_fax.c: In function ‘transmit_audio’: app_fax.c:316: error: storage size of ‘fax’ isn’t known app_fax.c:357: error: dereferencing pointer to incomplete type app_fax.c:431: error: dereferencing pointer to incomplete type app_fax.c:433: error: dereferencing pointer to incomplete type app_fax.c:316: warning: unused variable ‘fax’ app_fax.c: In function ‘transmit_t38’: app_fax.c:496: error: storage size of ‘t38’ isn’t known app_fax.c:524: error: dereferencing pointer to incomplete type app_fax.c:525: error: dereferencing pointer to incomplete type app_fax.c:561: error: dereferencing pointer to incomplete type app_fax.c:563: error: dereferencing pointer to incomplete type app_fax.c:496: warning: unused variable ‘t38’ make[1]: *** [app_fax.o] Error 1 make: *** [apps] Error 2 i installed spandsp 0.0.6 pre3 (the newest from Digium site) ****** ADDITIONAL INFORMATION ****** System uname: Linux-2.6.27-gentoo-r8-brand-r1-x86_64-AMD_Sempron-tm-_Processor_3400+-with-glibc2.2.5 Timestamp of tree: Sat, 24 Jan 2009 00:35:01 +0000 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 | ||
Comments: | By: Dome C. (dome) 2009-02-06 03:45:07.000-0600 What's spandsp version ? By: Gabor Garami (hron84) 2009-02-06 03:58:13.000-0600 spandsp 0.0.6-pre3 By: Joshua C. Colp (jcolp) 2009-02-06 08:55:47.000-0600 I can confirm that it does indeed build fine. You may have an older version installed in the place we look first and the autoconf logic may not do a good enough check. How did you install spandsp? Did you do ./configure --prefix=/usr or just ./configure? Do /usr/include/spandsp.h AND /usr/local/include/spandsp.h both exist? By: Gabor Garami (hron84) 2009-02-06 10:18:47.000-0600 No. spanDSP never installed before. I compiled all asterisk-related stuffs (libpri, zaptel, spanDSP) by: ./configure --prefix=/opt/asterisk --sysconfdir=/etc --libdir=/opt/asterisk/lib64 But i will check everything when i'll go home By: Dwayne Hubbard (dhubbard) 2009-02-09 15:03:03.000-0600 I used revision 174361 of http://svn.digium.com/svn/asterisk/branches/1.6.1 and spandsp-0.0.6pre3 to confirm that everything builds as expected. hron84, You've either installed multiple versions of spandsp or you have not correctly installed spandsp at all. |