[asterisk-bugs] [Asterisk 0017617]: [patch] main/netsock2.c fails to build do to missing constants

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 9 19:30:39 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17617 
====================================================================== 
Reported By:                pprindeville
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17617
Category:                   Core/Netsock
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 275254 
Request Review:              
====================================================================== 
Date Submitted:             2010-07-09 14:40 CDT
Last Modified:              2010-07-09 19:30 CDT
====================================================================== 
Summary:                    [patch] main/netsock2.c fails to build do to missing
constants
Description: 
While building trunk rev 275254:

   [CC] netsock2.c -> netsock2.o
netsock2.c: In function 'ast_sockaddr_parse':
netsock2.c:198: error: 'AI_NUMERICSERV' undeclared (first use in this
function)
netsock2.c:198: error: (Each undeclared identifier is reported only once
netsock2.c:198: error: for each function it appears in.)
make[2]: *** [netsock2.o] Error 1

and indeed, it's missing from include/asterisk/netsock2.h

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

---------------------------------------------------------------------- 
 (0124443) pprindeville (reporter) - 2010-07-09 19:30
 https://issues.asterisk.org/view.php?id=17617#c124443 
---------------------------------------------------------------------- 
AI_NUMERICSERV was introduced in glibc-2.3.4 (but isn't present in
uclibc-0.9.28). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-09 19:30 pprindeville   Note Added: 0124443                          
======================================================================




More information about the asterisk-bugs mailing list