[asterisk-bugs] [Asterisk 0014415]: Asterisk app_fax compilation fails in svn 1.6.1 branch

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Feb 6 08:55:47 CST 2009


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=14415 
====================================================================== 
Reported By:                hron84
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14415
Category:                   Applications/app_fax
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 173779 
Request Review:              
====================================================================== 
Date Submitted:             2009-02-05 19:37 CST
Last Modified:              2009-02-06 08:55 CST
====================================================================== 
Summary:                    Asterisk app_fax compilation fails in svn 1.6.1
branch
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)
====================================================================== 

---------------------------------------------------------------------- 
 (0099600) file (administrator) - 2009-02-06 08:55
 http://bugs.digium.com/view.php?id=14415#c99600 
---------------------------------------------------------------------- 
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? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-06 08:55 file           Note Added: 0099600                          
2009-02-06 08:55 file           Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list