Bug #74567 [NEW]: nmake error

From: Date: Wed, 10 May 2017 12:15:10 +0000
Subject: Bug #74567 [NEW]: nmake error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209043@lists.php.net to get a copy of this message
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)

« previous php.bugs (#209043) next »