Bug #55637 [NEW]: PHP doesn't build with iconv
| From: | fa@php.net | Date: | Wed, 07 Sep 2011 22:16:19 +0000 |
| Subject: | Bug #55637 [NEW]: PHP doesn't build with iconv | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-163375@lists.php.net to get a copy of this message | ||
From:
Operating system: OpenBSD 4.9 amd64
PHP version: trunk-SVN-2011-09-07 (SVN)
Package: *General Issues
Bug Type: Bug
Bug description:PHP doesn't build with iconv
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 bug report at https://bugs.php.net/bug.php?id=55637&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55637&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55637&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55637&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55637&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55637&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55637&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55637&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55637&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55637&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55637&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55637&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55637&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55637&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55637&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55637&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55637&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55637&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55637&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55637&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55637&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55637&r=mysqlcfg