Error muilding PHP on Win32: fatal error C1900: Il mismatch between 'P1' version '20100826' and 'P2' version '20080116'
| From: | Dmitry Koterov | Date: | Mon, 28 Apr 2014 10:06:24 +0000 |
| Subject: | Error muilding PHP on Win32: fatal error C1900: Il mismatch between 'P1' version '20100826' and 'P2' version '20080116' | ||
| Groups: | php.internals.win | ||
| Request: | Send a blank email to internals-win+get-1003@lists.php.net to get a copy of this message | ||
Hello.
Adding of "--with-iconv" switch breaks Win32 build (WinXP SP3, VC9, PHP 5.3
and 5.5). Without "--with-iconv" everything builds fine. The log is below.
Could you please say how to fix this? I tried to reinstall everything
according to https://wiki.php.net/internals/windows/stepbystepbuild
to a
clean virtual machine with WinXP SP3 (2 times), even tried to install SP1
for VC9 - no luck. BTW the same error is displayed for PHP 5.5 as well.
Also googled a lot, but except "reinstall everything" (which does not help)
I found no recommendations.
C:\php-sdk\phpdev\vc9\x86\php-5.3.28> buildconf
...
C:\php-sdk\phpdev\vc9\x86\php-5.3.28> *configure --disable-all --enable-cli
--with-iconv*
...
C:\php-sdk\phpdev\vc9\x86\php-5.3.28> nmake
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
...
var_unserializer.c
versioning.c
rc /fo Release_TS\php5ts.dll.res /d FILE_DESCRIPTION="\"PHP Script
Interpreter\"" /d FILE_NAME="\"php5ts.dll\"" /d
PRODUCT_NAME="\"PHP Script
Interpreter\"" /IRelease_TS /d MC_INCLUDE="\"Release_TS\wsyslog.rc\""
win32\build\template.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
*fatal error C1900: Il mismatch between 'P1' version '20100826' and
'P2'
version '20080116'*
*LINK : fatal error LNK1257: code generation failed*
*NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\Bin\cl.exe"' : return code '0x2'*
*Stop.*
C:\php-sdk\phpdev\vc9\x86\php-5.3.28>dir ..\deps
...
21.04.2014 23:43 <DIR> include
21.04.2014 23:43 <DIR> lib
...
C:\php-sdk\phpdev\vc9\x86\php-5.3.28>dir ..\deps\include
...
01.02.2013 15:21 9 730 iconv.h
...
C:\php-sdk\phpdev\vc9\x86\php-5.3.28>dir ..\deps\lib
...
01.02.2013 15:21 3 388 libiconv.lib
01.02.2013 15:21 3 153 780 libiconv_a.lib
01.02.2013 15:21 1 401 954 libiconv_a_debug.lib
01.02.2013 15:21 3 588 libiconv_debug.lib
...