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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jul 12 09:55:22 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17617 
====================================================================== 
Reported By:                pprindeville
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   17617
Category:                   Core/Netsock
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                       SWP-1838 
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-12 09:55 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

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

---------------------------------------------------------------------- 
 (0124494) svnbot (reporter) - 2010-07-12 09:55
 https://issues.asterisk.org/view.php?id=17617#c124494 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 275587

U   trunk/main/netsock2.c

------------------------------------------------------------------------
r275587 | mmichelson | 2010-07-12 09:55:22 -0500 (Mon, 12 Jul 2010) | 8
lines

Allow netsock2.c to compile on systems that do not define AI_NUMERICSERV.

(closes issue https://issues.asterisk.org/view.php?id=17617)
Reported by: pprindeville
Patches: 
      asterisk-trunk-bugid17617.patch uploaded by pprindeville (license
347)


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-12 09:55 svnbot         Checkin                                      
2010-07-12 09:55 svnbot         Note Added: 0124494                          
======================================================================




More information about the asterisk-bugs mailing list