|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-11-18 13:14 UTC] michael dot mauch at gmx dot de
[2002-11-18 13:58 UTC] moriyoshi@php.net
[2002-11-18 19:24 UTC] moriyoshi@php.net
[2002-11-19 09:17 UTC] paj at pearfr dot org
[2002-11-19 09:31 UTC] paj at pearfr dot org
[2002-11-19 09:52 UTC] moriyoshi@php.net
[2002-12-01 16:34 UTC] sniper@php.net
[2012-11-02 17:06 UTC] denis_truffaut at hotmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 09:00:01 2025 UTC |
Hello, I used redhat 7.3 and current cvs, iconv installed from sources using version 1.8 (no rpm previously installed). Configure options:./configure --prefix=/usr/local \ --enable-cli \ --enable-exif \ --with-calendar=shared \ --enable-magic-quotes \ --enable-trans-sid \ --enable-wddx \ --enable-ftp \ --with-gd \ --with-zlib \ --enable-gd-native-tt \ --with-t1lib="/usr/local" \ --with-jpeg-dir="/usr" \ --with-png-dir="/usr" \ --with-zlib-dir="/usr" \ --with-ttf \ --with-freetype-dir="/usr" \ --with-mcrypt=/usr \ --with-unixodbc=/usr \ --with-tiff-dir="/usr" \ --with-jpeg-dir="/usr" \ --with-zlib-dir="/usr" \ --with-xmlrpc \ --with-openssl="/usr" \ --with-ming="/usr/local" \ --enable-bcmath \ --with-gettext="/usr" \ --with-mysql=/usr \ --with-pgsql=/usr \ --with-ibm-db2 \ --enable-xslt \ --with-xslt-sablot=/usr \ --with-sablot-js=/usr \ --enable-sockets \ --with-imagick=/usr/local \ --with-dom \ --with-dom-xslt \ --with-dom-exslt \ --with-java=/usr/java/jdk1.3.1_03 \ --with-tokenizer \ --with-iconv=/usr \ --with-iconv-dir=/usr \ make failed on: /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c: In function `zm_startup_miconv': /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c:140: `_libiconv_version' undeclared (first use in this function) /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c:140: (Each undeclared identifier is reported only once /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c:140: for each function it appears in.) /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c: In function `php_iconv_string': /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c:255: warning: assignment makes pointer from integer without a cast make: *** [ext/iconv/iconv.lo] Error 1 It seems the wrong lib are detected: <snip> 136 #if HAVE_LIBICONV 137 { 138 static char buf[16]; 139 snprintf(buf, sizeof(buf), "%d.%d", 140 ((_libiconv_version >> 8) & 0x0f), (_libiconv_version & 0x0f)); 141 version = buf; 142 } 143 #elif HAVE_GLIBC_ICONV 144 version = (char *)gnu_get_libc_version(); 145 #endif <snip> hth pa