[asterisk-bugs] [Asterisk 0016381]: [patch] Implicit declaration of 'ast_complete_source_filename' and 'ast_rtp_destroy' with LOW_MEMORY enabled in trunk
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Dec 30 15:07:26 CST 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16381
======================================================================
Reported By: michael_iedema
Assigned To: jpeeler
======================================================================
Project: Asterisk
Issue ID: 16381
Category: Core/BuildSystem
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: SVN
JIRA: SWP-485
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 232365
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-12-03 08:34 CST
Last Modified: 2009-12-30 15:07 CST
======================================================================
Summary: [patch] Implicit declaration of
'ast_complete_source_filename' and 'ast_rtp_destroy' with LOW_MEMORY enabled in
trunk
Description:
Building trunk with LOW_MEMORY enabled fails with linker errors caused by
implicit declaration of ast_complete_source_filename and ast_rtp_destroy.
using trunk r232365 these two issues are:
1. ast_complete_source_filename is not included in asterisk.{c,h} when
LOW_MEMORY is set, however it is used unconditionally in handle_verbose
cli.c:410
2. ast_rtp_destroy is also implicitly declared in
chan_sip.c:9347...although I can't quite work out why that is. The snip is
here:
#ifdef LOW_MEMORY
static void ts_ast_rtp_destroy(void *data)
{
struct ast_rtp *tmp = data;
ast_rtp_destroy(tmp);
}
#endif
Disabling LOW_MEMORY in my configuration resolves both of these issues. In
Asterisk 1.6.2-rc7 I also saw issue https://issues.asterisk.org/view.php?id=1
crop up but did not notice https://issues.asterisk.org/view.php?id=2.
======================================================================
----------------------------------------------------------------------
(0115861) svnbot (reporter) - 2009-12-30 15:07
https://issues.asterisk.org/view.php?id=16381#c115861
----------------------------------------------------------------------
Repository: asterisk
Revision: 236900
_U branches/1.6.1/
------------------------------------------------------------------------
r236900 | jpeeler | 2009-12-30 15:07:25 -0600 (Wed, 30 Dec 2009) | 17
lines
Blocked revisions 236893 via svnmerge
........
r236893 | jpeeler | 2009-12-30 14:34:41 -0600 (Wed, 30 Dec 2009) | 11
lines
Fix compiling with LOW_MEMORY.
Modified handle_verbose to be LOW_MEMORY aware, removed old RTP related
code
in chan_sip.
(closes issue https://issues.asterisk.org/view.php?id=16381)
Reported by: michael_iedema
Patches:
ast_complete_source_filename.patch uploaded by michael iedema
(license 942)
modified by me
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=236900
Issue History
Date Modified Username Field Change
======================================================================
2009-12-30 15:07 svnbot Checkin
2009-12-30 15:07 svnbot Note Added: 0115861
======================================================================
More information about the asterisk-bugs
mailing list