[asterisk-bugs] [Asterisk 0014360]: muted doesn't compile on OS/X in dev-mode

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 29 14:09:09 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14360 
====================================================================== 
Reported By:                oej
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   14360
Category:                   Utilities/muted
Reproducibility:            always
Severity:                   trivial
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!): 172218 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-29 04:30 CST
Last Modified:              2009-01-29 14:09 CST
====================================================================== 
Summary:                    muted doesn't compile on OS/X in dev-mode
Description: 
cc1: warnings being treated as errors
muted.c: In function 'main':
muted.c:687: warning: 'daemon' is deprecated (declared at
/usr/include/stdlib.h:283)
make[1]: *** [muted.o] Error 1
make: *** [utils] Error 2


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

---------------------------------------------------------------------- 
 (0099084) Corydon76 (administrator) - 2009-01-29 14:09
 http://bugs.digium.com/view.php?id=14360#c99084 
---------------------------------------------------------------------- 
Okay, here's the thing.  Your config.log has detected /sbin/launchd, which
should set a define in include/asterisk/autoconfig.h, with "#define
HAVE_SBIN_LAUNCHD 1", and that detected in muted.c ensures that daemon(3)
is not called.  So somewhere, your compilation is breaking down, but the
code is there to prevent it. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-29 14:09 Corydon76      Note Added: 0099084                          
======================================================================




More information about the asterisk-bugs mailing list