Building PHP5.3 SVN and getting a linker error.
| From: | Richard Quadling | Date: | Wed, 17 Nov 2010 11:32:50 +0000 |
| Subject: | Building PHP5.3 SVN and getting a linker error. | ||
| Groups: | php.internals.win | ||
| Request: | Send a blank email to internals-win+get-729@lists.php.net to get a copy of this message | ||
Hi.
I'm using libcurl-7.21.0-vc9-x86.zip and trying to compile curl.
I'm getting this error.
libcurl_a.lib(zutil.obj) : MSIL .netmodule or module compiled with /GL
found; restarting link with /LTCG; add /LTCG to the link co
mmand line to improve linker performance
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\Bin\cl.exe"' : return code '0x4'
If I instantly re-run nmake, the build reports ...
EXT curl build complete
with nothing before it (well, nothing relevant, just EXT bz2 bulid complete).
It seems that the warning is enough to break the build process.
If I let the second nmake to run to completion, I can quite happily
use the php_curl.dll that is created.
So. what can I do about this? Is it something on my end and I'm on my
own, or is this something that is detectable/fixable?
Also, I'm getting ...
libiconv_a.lib(relocatable1.obj) : warning LNK4099: PDB 'vc90.pdb' was
not found with 'C:\php-sdk\php_53dev\vc9\x86\deps\lib\libiconv_a.lib'
or at 'C:\php-sdk\php_53dev\vc9\x86\PHP_5_3\Release\vc90.pdb'; linking
object as if no debug info
I get the missing vc90.pdb often (I think for every extension - core
and pecl). The file is in each Release\ext\xxxxx directory and in each
Release\pecl\xxxxx\lib directory as the build progresses.
Regards,
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY