[asterisk-bugs] [Asterisk 0018718]: Implicit declaration of copy yields broken app_voicemail when building with IMAP support
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Jan 31 15:24:49 CST 2011
The following issue has been SUBMITTED.
======================================================================
https://issues.asterisk.org/view.php?id=18718
======================================================================
Reported By: kerframil
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18718
Category: Applications/app_voicemail/IMAP
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.4.39.1
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2011-01-31 15:24 CST
Last Modified: 2011-01-31 15:24 CST
======================================================================
Summary: Implicit declaration of copy yields broken
app_voicemail when building with IMAP support
Description:
While upgrading from 1.4.37 to 1.4.39.1, I noticed the following anomaly
during compilation:
app_voicemail.c: In function 'vm_forwardoptions':
app_voicemail.c:5209: warning: implicit declaration of function 'copy'
I then observed that app_voicemail.so could not be loaded into the
resulting instance of asterisk:
[Jan 31 07:42:16] WARNING[30718]: loader.c:382 load_dynamic_module:
Error loading module 'app_voicemail.so':
/usr/lib64/asterisk/modules/app_voicemail.so: undefined symbol: copy
This apparent regression was introduced by r295200 in the 1.4 branch
(committed by jpeeler). In particular, lines
https://issues.asterisk.org/view.php?id=5209 and
https://issues.asterisk.org/view.php?id=5212 seem to be to
blame. They both call upon copy(), something which - as far as I can tell -
is defined alternately in imap/mail.h (from c-client) and in
app_voicemail.c itself if IMAP_STORAGE is _not_ defined, so I suppose
that's where the problem stems from. I don't know how to fix this in the
appropriate fashion so, for now, I opted to revert the changes that trigger
this problem.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-01-31 15:24 kerframil New Issue
2011-01-31 15:24 kerframil Asterisk Version => 1.4.39.1
2011-01-31 15:24 kerframil Regression => No
2011-01-31 15:24 kerframil SVN Branch (only for SVN checkouts, not tarball
releases) => N/A
======================================================================
More information about the asterisk-bugs
mailing list