Bug #55637 [Fbk->NoF]: PHP doesn't build with iconv

From: Date: Sun, 02 Sep 2018 09:35:09 +0000
Subject: Bug #55637 [Fbk->NoF]: PHP doesn't build with iconv
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-216850@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55637&edit=1 ID: 55637 Updated by: cmb@php.net Reported by: fa@php.net Summary: PHP doesn't build with iconv -Status: Feedback +Status: No Feedback Type: Bug Package: Compile Failure Operating System: OpenBSD 4.9 amd64 PHP Version: trunk-SVN-2011-09-07 (SVN) Assigned To: cmb Block user comment: N Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2018-08-14 14:45:27] cmb@php.net Is this still a problem with any actively supported PHP version? ------------------------------------------------------------------------ [2011-09-07 22:16:19] fa@php.net Description: ------------ Trying to build trunk with default ./configure yields in errors. Using ./configure --without-iconv works. Seems closely related to https://bugs.php.net/bug.php?id=52611 Test script: --------------- ./buildconf ./configure make Expected result: ---------------- Build complete. Actual result: -------------- main/php_sprintf.o(.text+0x85): In function `php_sprintf': /usr/src/php-src/trunk/main/php_sprintf.c:38: warning: vsprintf() is often misused, please use vsnprintf() ext/ereg/regex/regcomp.o(.text+0x96b): In function `p_bracket': /usr/src/php-src/trunk/ext/ereg/regex/regcomp.c:1170: warning: strcpy() is almost always misused, please use strlcpy() Zend/zend_ini_parser.o(.text+0x47f): In function `zend_ini_do_op': /usr/src/php-src/trunk/Zend/zend_ini_parser.y:81: warning: sprintf() is often misused, please use snprintf() ext/standard/http_fopen_wrapper.o(.text+0x1097): In function `php_stream_url_wrap_http_ex': /usr/src/php-src/trunk/ext/standard/http_fopen_wrapper.c:531: warning: strcat() is almost always misused, please use strlcat() ext/iconv/iconv.o(.text+0x435): In function `_php_iconv_strlen': /usr/src/php-src/trunk/ext/iconv/iconv.c:679: undefined reference to `iconv' ext/iconv/iconv.o(.text+0x6b3): In function `php_iconv_string': /usr/src/php-src/trunk/ext/iconv/iconv.c:565: undefined reference to `iconv' ext/iconv/iconv.o(.text+0x711):/usr/src/php-src/trunk/ext/iconv/iconv.c:585: undefined reference to `iconv' ext/iconv/iconv.o(.text+0x9af): In function `_php_iconv_strpos': /usr/src/php-src/trunk/ext/iconv/iconv.c:932: undefined reference to `iconv' ext/iconv/iconv.o(.text+0xea1): In function `_php_iconv_appendl': /usr/src/php-src/trunk/ext/iconv/iconv.c:401: undefined reference to `iconv' ext/iconv/iconv.o(.text+0xfbc):/usr/src/php-src/trunk/ext/iconv/iconv.c:438: more undefined references to `iconv' follow collect2: ld returned 1 exit status Stop in /usr/src/php-src/trunk (line 234 of Makefile). ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55637&edit=1

« previous php.bugs (#216850) next »