From: hipo at design dot bg Operating system: Fedora Core 1 PHP version: 4.3.11 PHP Bug Type: *Compile Issues Bug description: Compilation fails with "make: *** [ext/gmp/gmp.lo] Error 1"
Description: ------------ I'm experiencing problems during compilation time. I've made a little shell script with configure options to the php for our purposes. I succesfully compiled my php every time a new stable version comes out. Mysteriously right now i've downloaded the latest stable version and used my compilation script to compile it. And the compilation failed with ... "/usr/local/src/php-4.3.11/ext/gmp/gmp.c: In function `convert_to_gmp': /usr/local/src/php-4.3.11/ext/gmp/gmp.c:254: error: `tsrm_ls' undeclared (first use in this function) /usr/local/src/php-4.3.11/ext/gmp/gmp.c:254: error: (Each undeclared identifier is reported only once /usr/local/src/php-4.3.11/ext/gmp/gmp.c:254: error: for each function it appears in.) make: *** [ext/gmp/gmp.lo] Error 1" I've googled a little and found a similar bur report for on of the development php versions. It was written that the "--disable-rpath" option caused the failer. I've tried to recompile the php with no success. Configure is okay no problems are reported there but the compilation failes. Below is my configure and the options i pass to it. #! /bin/sh # # Created by configure './configure' \ '--host=i386-redhat-linux' \ '--build=i386-redhat-linux' \ '--target=i386-redhat-linux-gnu' \ '--program-prefix=' \ '--prefix=/usr' \ '--with-dom' \ '--exec-prefix=/usr' \ '--bindir=/usr/bin' \ '--sbindir=/usr/sbin' \ '--sysconfdir=/etc' \ '--datadir=/usr/share' \ '--includedir=/usr/include' \ '--libdir=/usr/lib' \ '--libexecdir=/usr/libexec' \ '--localstatedir=/var' \ '--sharedstatedir=/usr/com' \ '--mandir=/usr/share/man' \ '--infodir=/usr/share/info' \ '--cache-file=../config.cache' \ '--with-apxs2=/usr/local/apache2/sbin/apxs' \ '--disable-static' \ '--enable-dbase' \ '--enable-ctype' \ '--enable-sysvsem' \ '--enable-sysvshm' \ '--with-tsrm-pthreads' \ '--enable-ftp' \ '--with-config-file-path=/etc' \ '--with-config-file-scan-dir=/etc/php.d' \ '--enable-force-cgi-redirect' \ '--disable-debug' \ '--enable-pic' \ '--enable-inline-optimization' \ '--with-curl' \ '--with-dom=/usr' \ '--with-exec-dir=/usr/bin' \ '--with-ttf' \ '--with-gdbm' \ '--with-gettext' \ '--with-ncurses' \ '--with-gmp' \ '--with-iconv=/usr/local/lib' \ '--with-openssl' \ '--with-regex=system' \ '--with-xml' \ '--with-expat-dir=/usr' \ '--with-layout=GNU' \ '--enable-bcmath' \ '--enable-exif' \ '--enable-magic-quotes' \ '--enable-safe-mode' \ '--enable-safe-mode' \ '--enable-sockets' \ '--enable-discard-path' \ '--enable-track-vars' \ '--enable-trans-sid' \ '--enable-wddx' \ '--with-dom' \ '--without-oci8' \ '--with-pear=/usr/share/pear' \ '--with-kerberos=/usr/kerberos' \ '--with-ldap=shared' \ '--with-mysql=/usr/local/mysql' \ '--enable-memory-limit' \ '--enable-shmop' \ '--enable-versioning' \ '--enable-calendar' \ '--enable-dbx' \ '--enable-dio' \ '--enable-mcal' \ '--enable-force-cgi-redirect' \ '--with-gd' \ '--with-zlib' \ '--with-png' \ '--enable-gd-imgstrttf' \ '--enable-gd-native-ttf' \ '--with-freetype-dir=/usr' \ '--enable-xslt' \ '--with-sablot' \ '--with-xslt-sablot' \ '--with-sablot-js=/usr/bin' \ '--disable-rpath' \ "$@" . I've got the same failer on one of our other servers when compiling. With different configure options. Hope someone will find a solution for me. Thank you. -- Edit bug report at http://bugs.php.net/?id=32567&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32567&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32567&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32567&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32567&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32567&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32567&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32567&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32567&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32567&r=support Expected behavior: http://bugs.php.net/fix.php?id=32567&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32567&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32567&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32567&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32567&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32567&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32567&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32567&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32567&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32567&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32567&r=mysqlcfg