[asterisk-bugs] [Asterisk 0015782]: TRUNK does not compile on Darwin (MacOS 10.5.8)
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Aug 26 22:54:50 CDT 2009
The following issue has been SUBMITTED.
======================================================================
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: new
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 214349
Request Review:
======================================================================
Date Submitted: 2009-08-26 22:54 CDT
Last Modified: 2009-08-26 22:54 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#
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-08-26 22:54 jtodd New Issue
2009-08-26 22:54 jtodd Asterisk Version => SVN
2009-08-26 22:54 jtodd Regression => No
2009-08-26 22:54 jtodd SVN Branch (only for SVN checkouts, not tarball
releases) => trunk
2009-08-26 22:54 jtodd SVN Revision (number only!) => 214349
======================================================================
More information about the asterisk-bugs
mailing list