[asterisk-bugs] [Asterisk 0019344]: [patch] autoconf check for iconv does not work for GNU libiconv
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon May 23 11:19:35 CDT 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=19344
======================================================================
Reported By: rohanl
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 19344
Category: Core/BuildSystem
Reproducibility: always
Severity: minor
Priority: normal
Status: ready for review
Asterisk Version: SVN
JIRA: SWP-3488
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 320060
Request Review:
======================================================================
Date Submitted: 2011-05-22 05:49 CDT
Last Modified: 2011-05-23 11:19 CDT
======================================================================
Summary: [patch] autoconf check for iconv does not work for
GNU libiconv
Description:
autoconf check for iconv uses AST_EXT_LIB_CHECK to check that the linker
can find the symbol iconv_open
However GNU libiconv contains:
/* Allocates descriptor for code conversion from encoding ‘fromcode’
to
encoding ‘tocode’. */
#ifndef LIBICONV_PLUG
#define iconv_open libiconv_open
#endif
extern iconv_t iconv_open (const char* tocode, const char* fromcode);
so the actual symbol in the library is libiconv_open, and the test fails.
======================================================================
----------------------------------------------------------------------
(0135284) svnbot (reporter) - 2011-05-23 11:19
https://issues.asterisk.org/view.php?id=19344#c135284
----------------------------------------------------------------------
Repository: asterisk
Revision: 320573
U branches/1.8/configure
U branches/1.8/configure.ac
------------------------------------------------------------------------
r320573 | tilghman | 2011-05-23 11:19:34 -0500 (Mon, 23 May 2011) | 7
lines
GNU libiconv uses symbol "libiconv_open" instead of "iconv_open".
(closes issue https://issues.asterisk.org/view.php?id=19344)
Reported by: rohanl
Patches:
iconv-check.patch uploaded by rohanl (license 1284)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=320573
Issue History
Date Modified Username Field Change
======================================================================
2011-05-23 11:19 svnbot Checkin
2011-05-23 11:19 svnbot Note Added: 0135284
======================================================================
More information about the asterisk-bugs
mailing list