[asterisk-bugs] [Asterisk 0015606]: app_fax.c is not compiling under OpenBSD

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 4 09:51:56 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15606 
====================================================================== 
Reported By:                mvanbaak
Assigned To:                kpfleming
====================================================================== 
Project:                    Asterisk
Issue ID:                   15606
Category:                   Applications/app_fax
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 209058 
Request Review:              
====================================================================== 
Date Submitted:             2009-07-29 03:29 CDT
Last Modified:              2009-08-04 09:51 CDT
====================================================================== 
Summary:                    app_fax.c is not compiling under OpenBSD
Description: 
cc -o app_fax.i -E app_fax.c -MD -MT app_fax.i -MF .app_fax.i.d -MP
-pthread -I/home/mvanbaak/dev/personal/asterisk/trunk/include
-I/usr/local/include/libxml2 -I/usr/local/include -pipe -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -Werror
-Wunused  -D_FORTIFY_SOURCE=2 -Wundef  -Wmissing-format-attribute
-Wformat=2 -I/usr/local/include  -pthread -ftrampolines  -fPIC
-DAST_MODULE=\"app_fax\"   
In file included from /usr/local/include/spandsp.h:61,
                 from app_fax.c:31:
/usr/local/include/spandsp/biquad.h:51:5: "FIRST_ORDER_NOISE_SHAPING" is
not defined
/usr/local/include/spandsp/biquad.h:53:7: "SECOND_ORDER_NOISE_SHAPING" is
not defined
/usr/local/include/spandsp/biquad.h:80:5: "FIRST_ORDER_NOISE_SHAPING" is
not defined
/usr/local/include/spandsp/biquad.h:82:7: "SECOND_ORDER_NOISE_SHAPING" is
not defined
/usr/local/include/spandsp/biquad.h:99:5: "FIRST_ORDER_NOISE_SHAPING" is
not defined
/usr/local/include/spandsp/biquad.h:102:7: "SECOND_ORDER_NOISE_SHAPING" is
not defined
gmake[1]: *** [app_fax.i] Error 1

====================================================================== 

---------------------------------------------------------------------- 
 (0108591) svnbot (reporter) - 2009-08-04 09:51
 https://issues.asterisk.org/view.php?id=15606#c108591 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 210237

U   branches/1.4/Makefile

------------------------------------------------------------------------
r210237 | kpfleming | 2009-08-04 09:51:55 -0500 (Tue, 04 Aug 2009) | 10
lines

Eliminate spurious compiler warnings from system headers on *BSD
platforms.

Ensure that system headers located in /usr/local/include are actually
treated
as system headers by the compiler, and not as local headers which are
subject
to warnings from the -Wundef compiler option and others.

(closes issue https://issues.asterisk.org/view.php?id=15606)
Reported by: mvanbaak


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=210237 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-04 09:51 svnbot         Note Added: 0108591                          
======================================================================




More information about the asterisk-bugs mailing list