[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


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19344 
====================================================================== 
Reported By:                rohanl
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   19344
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-23 11:19 svnbot         Status                   ready for review =>
assigned
2011-05-23 11:19 svnbot         Assigned To               => tilghman        
2011-05-23 11:19 svnbot         Status                   assigned => resolved
2011-05-23 11:19 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list