Building PHP5.3 SVN and getting a linker error.

[email protected] (Richard Quadling)
Newsgroups php.internals.win
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.