[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
Sat Dec 12 04:10:03 CST 2009
The following issue is now in status NEW (again)
======================================================================
https://issues.asterisk.org/view.php?id=16381
======================================================================
Reported By: michael_iedema
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16381
Category: Core/BuildSystem
Reproducibility: always
Severity: minor
Priority: normal
Status: new
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:
======================================================================
Date Submitted: 2009-12-03 08:34 CST
Last Modified: 2009-12-12 04:10 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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-12-12 04:10 snuffy Status needs license => new
======================================================================
More information about the asterisk-bugs
mailing list