[asterisk-bugs] [Asterisk 0015782]: TRUNK does not compile on Darwin (MacOS 10.5.8)
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Aug 30 17:15:37 CDT 2009
The following issue has been CLOSED
======================================================================
https://issues.asterisk.org/view.php?id=15782
======================================================================
Reported By: jtodd
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15782
Category: Core/Portability
Reproducibility: always
Severity: block
Priority: normal
Status: closed
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 214349
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-08-26 22:54 CDT
Last Modified: 2009-08-30 17:15 CDT
======================================================================
Summary: TRUNK does not compile on Darwin (MacOS 10.5.8)
Description:
"fresh" install from SVN, no modifications to "make menuselect", compile
fails.
config.log attached, but here's the summary output of problem log:
[CC] hashtest2.c -> hashtest2.o
In file included from
/Users/jtodd/asterisk/trunk/include/asterisk/network.h:44,
from
/Users/jtodd/asterisk/trunk/include/asterisk/utils.h:26,
from
/Users/jtodd/asterisk/trunk/include/asterisk/config.h:30,
from
/Users/jtodd/asterisk/trunk/include/asterisk/channel.h:144,
from hashtest2.c:41:
/usr/include/netinet/ip.h:86: error: syntax error before 'u_int'
/usr/include/netinet/ip.h:95: error: syntax error before 'ip_len'
/usr/include/netinet/ip.h:96: error: syntax error before 'ip_id'
/usr/include/netinet/ip.h:97: error: syntax error before 'ip_off'
/usr/include/netinet/ip.h:102: error: syntax error before 'ip_ttl'
/usr/include/netinet/ip.h:103: error: syntax error before 'ip_p'
/usr/include/netinet/ip.h:104: error: syntax error before 'ip_sum'
/usr/include/netinet/ip.h:106: error: syntax error before '}' token
/usr/include/netinet/ip.h:187: error: syntax error before 'u_char'
/usr/include/netinet/ip.h:189: error: syntax error before 'ipt_ptr'
/usr/include/netinet/ip.h:191: error: syntax error before 'ipt_flg'
/usr/include/netinet/ip.h:205: error: syntax error before '}' token
In file included from
/Users/jtodd/asterisk/trunk/include/asterisk/config.h:30,
from
/Users/jtodd/asterisk/trunk/include/asterisk/channel.h:144,
from hashtest2.c:41:
/Users/jtodd/asterisk/trunk/include/asterisk/utils.h: In function
'_ast_vasprintf':
/Users/jtodd/asterisk/trunk/include/asterisk/utils.h:595: warning:
implicit declaration of function 'vasprintf'
In file included from hashtest2.c:41:
/Users/jtodd/asterisk/trunk/include/asterisk/channel.h: In function
'ast_select':
/Users/jtodd/asterisk/trunk/include/asterisk/channel.h:2079: warning:
implicit declaration of function 'timersub'
make[1]: *** [hashtest2.o] Error 1
make: *** [utils] Error 2
sh-3.2#
======================================================================
----------------------------------------------------------------------
(0109821) tilghman (administrator) - 2009-08-30 17:15
https://issues.asterisk.org/view.php?id=15782#c109821
----------------------------------------------------------------------
In any case, this is now fixed.
Issue History
Date Modified Username Field Change
======================================================================
2009-08-30 17:15 tilghman Note Added: 0109821
2009-08-30 17:15 tilghman Status new => closed
2009-08-30 17:15 tilghman Resolution open => fixed
======================================================================
More information about the asterisk-bugs
mailing list