ID: 21339 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Gettext related Operating System: Solaris 8 PHP Version: 4.3.0 New Comment:
I've tried gettext 0.10.40 but got the same unreferenced symbol. Previous Comments: ------------------------------------------------------------------------ [2003-01-13 18:55:15] [EMAIL PROTECTED] Could you try with an older gettext version? Like 0.10.40, which I know works for sure. ------------------------------------------------------------------------ [2003-01-02 10:28:29] [EMAIL PROTECTED] Compiler: SUNWspro 5.0 (same with gcc 2.95.2) # ./configure --prefix=/lfs/web1/php-4.2.3 --with-apxs=/lfs/web1/apache-1.3.27/bin/apxs --enable-safe-mode --with-exec-dir=/lfs/web1/php-bin --with-openssl=/lfs/web1/openssl-0.9.6g --with-zlib-dir=/lfs/web1/zlib-1.1.4 --enable-calendar --with-gdbm=/lfs/web1/gdbm-1.8.0 --enable-dbx --enable-ftp --with-gd=/lfs/web1/gd-2.0.8 --with-jpeg-dir=/lfs/web1/libjpeg-6b --with-png-dir=/lfs/web1/libpng-1.2.5 --enable-gd-native-ttf --with-mysql=/lfs/web1/mysql-3.23.39 --with-oci8=/lfs/web1/oracle-8.1.7 --with-pdflib=/lfs/web1/pdflib-4.0.3 --with-mm=/lfs/web1/mm-1.1.3 --enable-sockets --enable-sysvsem --enable-sysvshm --with-zip=/lfs/web1/zziplib-0.10.27 --with-gettext=/lfs/web1/gettext-0.11.5 --with-iconv=/lfs/web1/libiconv-1.8 # make (only significant part) /bin/sh libtool --silent --mode=compile cc -Iext/gettext/ -I/lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/ -DPHP_ATOM_INC -I/lfs/scratch/apache-1.3.27-build/php-4.3.0/include -I/lfs/scratch/apache-1.3.27-build/php-4.3.0/main -I/lfs/scratch/apache-1.3.27-build/php-4.3.0 -I/lfs/scratch/apache-1.3.27-build/php-4.3.0/Zend -I/lfs/web1/openssl-0.9.6g/include -I/lfs/web1/zlib-1.1.4/include -I/lfs/web1/gdbm-1.8.0/include -I/lfs/web1/libjpeg-6b/include -I/lfs/web1/libpng-1.2.5/include -I/lfs/web1/gd-2.0.8/include -I/lfs/web1/gettext-0.11.5/include -I/lfs/web1/libiconv-1.8/include -I/lfs/web1/mysql-3.23.39/include/mysql -I/lfs/web1/oracle-8.1.7/rdbms/public -I/lfs/web1/oracle-8.1.7/rdbms/demo -I/lfs/web1/pdflib-4.0.3/include -I/lfs/web1/mm-1.1.3/include -I/lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/xml/expat -I/lfs/web1/zziplib-0.10.27/include -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI -DEAPI -DEAPI_MM -I/lfs/scratch/apache-1.3.27-build/php-4.3.0/TSRM -fast -xtarget=ultra -xarch=v8a -prefer-pic -c /lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/gettext.c -o ext/gettext/gettext.lo "/lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/gettext.c", line 37: undefined symbol: zif_libintl_textdomain "/lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/gettext.c", line 37: warning: improper pointer/integer combination: op "=" ...(stripped of a lot of look a likes)... "/lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/gettext.c", line 37: non-constant initializer: op "NAME" "/lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/gettext.c", line 282: identifier redeclared: zif_libintl_bind_textdomain_codeset current : function(int, pointer to struct _zval_struct {union _zvalue_value {..} value, uchar type, uchar is_ref, ushort refcount}, po... previous: int : "/lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/gettext.c", line 53 cc: acomp failed for /lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/gettext.c *** Error code 1 make: Fatal error: Command failed for target `ext/gettext/gettext.lo' I can get the compile working if I move "function_entry php_gettext_functions[]" and "zend_module_entry php_gettext_module_entry" to the end of the gettext.c file but than I get an UNREF for "zm_info_gettext"... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21339&edit=1