From: vincent dot castagnet at sgcib dot com Operating system: Solaris 8 PHP version: 5.1.2 PHP Bug Type: Compile Failure Bug description: "Make" failure with sybase support
Description: ------------ Apache 2 installed, and Sybase 12.5 also. Trying to compile PHP 5.1.2 The MAKE stop with error code 1: cc: acomp failed for /home/mkdadm/php-5.1.2/ext/hash/hash_adler32.c *** Error code 1 make: Fatal error: Command failed for target `ext/hash/hash_adler32.lo' Reproduce code: --------------- The configure: ./configure \ --prefix=/usr/local/php \ --with-sybase-ct=$SYBASE/$SYBASE_OCS \ --enable-static=sybase-ct \ --with-apxs2=/usr/local/apache2/bin/apxs \ --with-gd \ --with-zlib-dir=/usr/local \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm Then: make Expected result: ---------------- I expect it would go along till the end and works ! :p Actual result: -------------- The error: /bin/sh /home/mkdadm/php-5.1.2/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/hash/ -I/home/mkdadm/php-5.1.2/ext/hash/ -DPHP_ATOM_INC -I/home/mkdadm/php-5.1.2/include -I/home/mkdadm/php-5.1.2/main -I/home/mkdadm/php-5.1.2 -I/usr/local/include/libxml2 -I/usr/local/include -I/home/mkdadm/php-5.1.2/ext/date/lib -I/opt/nfs/sybase1251.solaris/OCS-12_5/include -I/home/mkdadm/php-5.1.2/TSRM -I/home/mkdadm/php-5.1.2/Zend -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -g -c /home/mkdadm/php-5.1.2/ext/hash/hash_adler32.c -o ext/hash/hash_adler32.lo "/home/mkdadm/php-5.1.2/ext/hash/hash_adler32.c", line 32: non-constant initializer: op "&" "/home/mkdadm/php-5.1.2/ext/hash/hash_adler32.c", line 32: non-constant initializer: op "&" cc: acomp failed for /home/mkdadm/php-5.1.2/ext/hash/hash_adler32.c *** Error code 1 make: Fatal error: Command failed for target `ext/hash/hash_adler32.lo' When I go to: ext/hash I see: hash_adler32.c hash_adler32.loT Obviously the .loT is wrong. SO what I did is rename the .loT in .lo, and then relaunch a "make". This times it goes forward, but I am stopped by another error (which has no relation to this one because the same happens with PHP4). -- Edit bug report at http://bugs.php.net/?id=37192&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37192&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37192&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37192&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37192&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37192&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37192&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37192&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37192&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37192&r=support Expected behavior: http://bugs.php.net/fix.php?id=37192&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37192&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37192&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37192&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37192&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37192&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37192&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37192&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37192&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37192&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37192&r=mysqlcfg
