Bug #74567 [NEW]: nmake error
From: jiaxianglu at gmail dot com
Operating system: windows 7
PHP version: 7.1.4
Package: Compile Failure
Bug Type: Bug
Bug description:nmake error
Description:
------------
libpng_a.lib(png.obj) : æ¾å° MSIL .netmodule æä½¿ç¨ /GL
ç¼è¯ç模åï¼æ£å¨ä½¿ç¨ /LTCG
éæ°å¯å¨é¾æ¥ï¼å° /LTCG
æ·»å å°é¾æ¥å½ä»¤è¡ä»¥æ¹è¿é¾æ¥å¨æ§è½æ£å¨å建åº
C:\php-sdk\phpdev\vc14\x64\php-src-php-7.1.4\x64\Release_TS\php_gd2.lib
å对象
C:\php-sdk\phpdev\vc14\x64\php-src-php-7.1.4\x64\Release_TS\php_gd
LINK : warning LNK4098:
é»è®¤åºâLIBCMTâä¸å
¶ä»åºç使ç¨å²çªï¼è¯·ä½¿ç¨
/NODEFAULTLIB:library libpng_a.lib(pngrutil.obj) : error LNK2001:
æ æ³è§£æçå¤é¨ç¬¦å· inflateReset2
C:\php-sdk\phpdev\vc14\x64\php-src-php-7.1.4\x64\Release_TS\php_gd2.dll
: fatal error LNK1120: 1 ä¸ªæ æ³è§£æçå¤é¨å½ä»¤
NMAKE : fatal error U1077: â"E:\Program Files (x86)\Microsoft Visual
Studio 14.0\VC\BIN\amd64\link.exe"â: è¿å代ç â0x460â
Stop.
If I use "--without-gd" it will be compiled success.
enveriment:
sdk:php-sdk-binary-tools-php-sdk-2.0.3
deps:deps-7.1-vc14-x64.7z
php:php-src-php-7.1.4
vs:vs2015
Expected result:
----------------
success
Actual result:
--------------
libpng_a.lib(png.obj) : æ¾å° MSIL .netmodule æä½¿ç¨ /GL
ç¼è¯ç模åï¼æ£å¨ä½¿ç¨ /LTCG
éæ°å¯å¨é¾æ¥ï¼å° /LTCG
æ·»å å°é¾æ¥å½ä»¤è¡ä»¥æ¹è¿é¾æ¥å¨æ§è½æ£å¨å建åº
C:\php-sdk\phpdev\vc14\x64\php-src-php-7.1.4\x64\Release_TS\php_gd2.lib
å对象
C:\php-sdk\phpdev\vc14\x64\php-src-php-7.1.4\x64\Release_TS\php_gd
LINK : warning LNK4098:
é»è®¤åºâLIBCMTâä¸å
¶ä»åºç使ç¨å²çªï¼è¯·ä½¿ç¨
/NODEFAULTLIB:library libpng_a.lib(pngrutil.obj) : error LNK2001:
æ æ³è§£æçå¤é¨ç¬¦å· inflateReset2
C:\php-sdk\phpdev\vc14\x64\php-src-php-7.1.4\x64\Release_TS\php_gd2.dll
: fatal error LNK1120: 1 ä¸ªæ æ³è§£æçå¤é¨å½ä»¤
NMAKE : fatal error U1077: â"E:\Program Files (x86)\Microsoft Visual
Studio 14.0\VC\BIN\amd64\link.exe"â: è¿å代ç â0x460â
Stop.
--
Edit bug report at https://bugs.php.net/bug.php?id=74567&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74567&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74567&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74567&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=74567&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=74567&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=74567&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=74567&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=74567&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=74567&r=support
Expected behavior: https://bugs.php.net/fix.php?id=74567&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=74567&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=74567&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=74567&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74567&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=74567&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=74567&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=74567&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74567&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=74567&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=74567&r=mysqlcfg
Thread (3 messages)
- jiaxianglu at gmail dot com