Bug #71655 [NEW]: Fails when compiling Zip Modules
| From: | aj at andrews-enterprise dot co dot uk | Date: | Tue, 23 Feb 2016 20:50:30 +0000 |
| Subject: | Bug #71655 [NEW]: Fails when compiling Zip Modules | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-199432@lists.php.net to get a copy of this message | ||
From: aj at andrews-enterprise dot co dot uk
Operating system: Ubuntu 14 Trusty
PHP version: master-Git-2016-02-23 (Git)
Package: Compile Failure
Bug Type: Bug
Bug description:Fails when compiling Zip Modules
Description:
------------
Cleaned up environment, grabbed latest code and tried compiling the same
way as always. Running Ubuntu 14 Trusty all up to date.
Commands executed in order in test scripts section.
Test script:
---------------
apt-get clean && apt-get autoclean
apt-get update && apt-get -y upgrade && apt-get -y dist-upgrade &&
apt-get -y --purge autoremove && do-release-upgrade
reboot
cd /usr/src/php-src
make clean
git pull
./config.nice
make -j2
Actual result:
--------------
ext/zip/lib/.libs/zip_delete.o: In function `zip_delete':
/usr/src/php-src/ext/zip/lib/zip_delete.c:57: undefined reference to
`_zip_hash_delete'
ext/zip/lib/.libs/zip_discard.o: In function `zip_discard':
/usr/src/php-src/ext/zip/lib/zip_discard.c:61: undefined reference to
`_zip_hash_free'
ext/zip/lib/.libs/zip_name_locate.o: In function `_zip_name_locate':
/usr/src/php-src/ext/zip/lib/zip_name_locate.c:92: undefined reference
to `_zip_hash_lookup'
ext/zip/lib/.libs/zip_new.o: In function `_zip_new':
/usr/src/php-src/ext/zip/lib/zip_new.c:55: undefined reference to
`_zip_hash_new'
ext/zip/lib/.libs/zip_open.o: In function `_zip_open':
/usr/src/php-src/ext/zip/lib/zip_open.c:237: undefined reference to
`_zip_hash_add'
ext/zip/lib/.libs/zip_set_name.o: In function `_zip_set_name':
/usr/src/php-src/ext/zip/lib/zip_set_name.c:124: undefined reference to
`_zip_hash_add'
/usr/src/php-src/ext/zip/lib/zip_set_name.c:129: undefined reference to
`_zip_hash_delete'
/usr/src/php-src/ext/zip/lib/zip_set_name.c:124: undefined reference to
`_zip_hash_add'
ext/zip/lib/.libs/zip_unchange.o: In function `_zip_unchange':
/usr/src/php-src/ext/zip/lib/zip_unchange.c:79: undefined reference to
`_zip_hash_add'
/usr/src/php-src/ext/zip/lib/zip_unchange.c:83: undefined reference to
`_zip_hash_delete'
/usr/src/php-src/ext/zip/lib/zip_unchange.c:84: undefined reference to
`_zip_hash_delete'
ext/zip/lib/.libs/zip_unchange_all.o: In function `zip_unchange_all':
/usr/src/php-src/ext/zip/lib/zip_unchange_all.c:46: undefined reference
to `_zip_hash_revert'
collect2: error: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
ext/zip/lib/.libs/zip_delete.o: In function `zip_delete':
/usr/src/php-src/ext/zip/lib/zip_delete.c:57: undefined reference to
`_zip_hash_delete'
ext/zip/lib/.libs/zip_discard.o: In function `zip_discard':
/usr/src/php-src/ext/zip/lib/zip_discard.c:61: undefined reference to
`_zip_hash_free'
ext/zip/lib/.libs/zip_name_locate.o: In function `_zip_name_locate':
/usr/src/php-src/ext/zip/lib/zip_name_locate.c:92: undefined reference
to `_zip_hash_lookup'
ext/zip/lib/.libs/zip_new.o: In function `_zip_new':
/usr/src/php-src/ext/zip/lib/zip_new.c:55: undefined reference to
`_zip_hash_new'
ext/zip/lib/.libs/zip_open.o: In function `_zip_open':
/usr/src/php-src/ext/zip/lib/zip_open.c:237: undefined reference to
`_zip_hash_add'
ext/zip/lib/.libs/zip_set_name.o: In function `_zip_set_name':
/usr/src/php-src/ext/zip/lib/zip_set_name.c:124: undefined reference to
`_zip_hash_add'
/usr/src/php-src/ext/zip/lib/zip_set_name.c:129: undefined reference to
`_zip_hash_delete'
/usr/src/php-src/ext/zip/lib/zip_set_name.c:124: undefined reference to
`_zip_hash_add'
ext/zip/lib/.libs/zip_unchange.o: In function `_zip_unchange':
/usr/src/php-src/ext/zip/lib/zip_unchange.c:79: undefined reference to
`_zip_hash_add'
/usr/src/php-src/ext/zip/lib/zip_unchange.c:83: undefined reference to
`_zip_hash_delete'
/usr/src/php-src/ext/zip/lib/zip_unchange.c:84: undefined reference to
`_zip_hash_delete'
ext/zip/lib/.libs/zip_unchange_all.o: In function `zip_unchange_all':
/usr/src/php-src/ext/zip/lib/zip_unchange_all.c:46: undefined reference
to `_zip_hash_revert'
collect2: error: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] Error 1
--
Edit bug report at https://bugs.php.net/bug.php?id=71655&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71655&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71655&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71655&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71655&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71655&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71655&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71655&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71655&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71655&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71655&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71655&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71655&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71655&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71655&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71655&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71655&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71655&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71655&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71655&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71655&r=mysqlcfg