[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:06:18 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:06 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.
======================================================================
----------------------------------------------------------------------
(0115860) svnbot (reporter) - 2009-12-30 15:06
https://issues.asterisk.org/view.php?id=16381#c115860
----------------------------------------------------------------------
Repository: asterisk
Revision: 236899
_U branches/1.6.2/
U branches/1.6.2/main/cli.c
------------------------------------------------------------------------
r236899 | jpeeler | 2009-12-30 15:06:18 -0600 (Wed, 30 Dec 2009) | 17
lines
Merged revisions 236893 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
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.
(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=236899
Issue History
Date Modified Username Field Change
======================================================================
2009-12-30 15:06 svnbot Checkin
2009-12-30 15:06 svnbot Note Added: 0115860
======================================================================
More information about the asterisk-bugs
mailing list