error compiling php-5.3.2
error compiling php-5.3.2
am 10.04.2010 00:13:08 von Tomasz Krawczyk
Hi
I'm trying to compile PHP 5.3.2 with VC9 but I get this error
Creating library Release\php5.lib and object Release\php5.exp
crypt.obj : error LNK2001: unresolved external symbol _crypt
Release\php5.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\Bin\cl.exe"' : return code '0x2'
Stop.
I followed instructions from
http://wiki.php.net/internals/windows/stepbystepbuild and I downloaded
deps from
http://pecl2.php.net/downloads/php-windows-builds/php-libs/V C9/x86/
Can anybody hep me?
--
regards
Tomek
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: error compiling php-5.3.2
am 10.04.2010 00:24:11 von Pierre Joye
hi,
It works just fine for us. Can you paste the compilation log to
pastebin pls (output generated when you called nmake)?
Btw, he php internals windows list more appropriate for this question.
Cheers,
2010/4/10 Tomasz Krawczyk :
> Hi
>
> I'm trying to compile PHP 5.3.2 with VC9 but I get this error
>
> =A0 Creating library Release\php5.lib and object Release\php5.exp
> crypt.obj : error LNK2001: unresolved external symbol _crypt
> Release\php5.dll : fatal error LNK1120: 1 unresolved externals
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 9.0\VC\Bin\cl.exe"' : return code '0x2'
> Stop.
>
> I followed instructions from
> http://wiki.php.net/internals/windows/stepbystepbuild and I downloaded de=
ps
> from http://pecl2.php.net/downloads/php-windows-builds/php-libs/V C9/x86/
>
>
> Can anybody hep me?
>
> --
> regards
> Tomek
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--=20
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: error compiling php-5.3.2
am 10.04.2010 09:53:07 von Tomasz Krawczyk
Pierre Joye pisze:
> hi,
>
> It works just fine for us. Can you paste the compilation log to
> pastebin pls (output generated when you called nmake)?
>
> Btw, he php internals windows list more appropriate for this question.
>
> Cheers,
>
> 2010/4/10 Tomasz Krawczyk :
>> Hi
>>
>> I'm trying to compile PHP 5.3.2 with VC9 but I get this error
>>
>> Creating library Release\php5.lib and object Release\php5.exp
>> crypt.obj : error LNK2001: unresolved external symbol _crypt
>> Release\php5.dll : fatal error LNK1120: 1 unresolved externals
>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
>> 9.0\VC\Bin\cl.exe"' : return code '0x2'
>> Stop.
>>
>> I followed instructions from
>> http://wiki.php.net/internals/windows/stepbystepbuild and I downloaded deps
>> from http://pecl2.php.net/downloads/php-windows-builds/php-libs/V C9/x86/
>>
>>
>> Can anybody hep me?
My nmake log is here http://pastebin.com/Eitwy8n2 (pasted by tomkraw1).
I don't know if it will help but when I runned configure I got 3 warnings:
Checking for lemon.exe ...
Checking for NewAPIs.h ...
Checking for NewAPIs.h ...
--
pozdrawiam
Tomek
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: error compiling php-5.3.2
am 10.04.2010 12:56:58 von Pierre Joye
hi,
everything looks normal but this error.
Can you try to run buildconf, configure, nmake again? Also delete the
debug/release directory before.
Cheers,
On Sat, Apr 10, 2010 at 9:53 AM, Tomasz Krawczyk wrote=
:
> Pierre Joye pisze:
>>
>> hi,
>>
>> It works just fine for us. Can you paste the compilation log to
>> pastebin pls (output generated when you called nmake)?
>>
>> Btw, he php internals windows list more appropriate for this question.
>>
>> Cheers,
>>
>> 2010/4/10 Tomasz Krawczyk :
>>>
>>> Hi
>>>
>>> I'm trying to compile PHP 5.3.2 with VC9 but I get this error
>>>
>>> =A0Creating library Release\php5.lib and object Release\php5.exp
>>> crypt.obj : error LNK2001: unresolved external symbol _crypt
>>> Release\php5.dll : fatal error LNK1120: 1 unresolved externals
>>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
>>> 9.0\VC\Bin\cl.exe"' : return code '0x2'
>>> Stop.
>>>
>>> I followed instructions from
>>> http://wiki.php.net/internals/windows/stepbystepbuild and I downloaded
>>> deps
>>> from http://pecl2.php.net/downloads/php-windows-builds/php-libs/V C9/x86=
/
>>>
>>>
>>> Can anybody hep me?
>
> My nmake log is here http://pastebin.com/Eitwy8n2 (pasted by tomkraw1).
> I don't know if it will help but when I runned configure I got 3 warnings=
:
>
> Checking for lemon.exe ... =A0
>
> Checking for NewAPIs.h ... =A0
> Checking for NewAPIs.h ... =A0
>
>
> --
> pozdrawiam
> Tomek
>
--=20
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: error compiling php-5.3.2
am 11.04.2010 10:51:01 von Tomasz Krawczyk
Hi
>>>> crypt.obj : error LNK2001: unresolved external symbol _crypt
>>>> Release\php5.dll : fatal error LNK1120: 1 unresolved externals
>>>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
>>>> 9.0\VC\Bin\cl.exe"' : return code '0x2'
>>>> Stop.
I did silly error. I had put suhosin directory into extensions directory
then I decided to make clean PHP compilation just to be sure I'm able to
compile PHP. Suhosin contains patch for crypt but PHP sources was not
patched by suhosin patch. I think it was my problem. Eventually I saw this
SAPI sapi\cgi build complete
I have my own PHP !!! :-)
Pierre thanks for your time.
--
pozdrawiam
Tomek
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: error compiling php-5.3.2
am 11.04.2010 12:41:53 von Pierre Joye
hi,
On Sun, Apr 11, 2010 at 10:51 AM, Tomasz Krawczyk wrote:
> Hi
>
>>>>> crypt.obj : error LNK2001: unresolved external symbol _crypt
>>>>> Release\php5.dll : fatal error LNK1120: 1 unresolved externals
>>>>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
>>>>> 9.0\VC\Bin\cl.exe"' : return code '0x2'
>>>>> Stop.
>
> I did silly error. I had put suhosin directory into extensions directory
> then I decided to make clean PHP compilation just to be sure I'm able to
> compile PHP. Suhosin contains patch for crypt but PHP sources was not
> patched by suhosin patch. I think it was my problem. Eventually I saw this
You don't need suhosin on windows nor with 5.3 (all platforms) as 5.3
has all crypt features provided by the suhosin extension (with some
more fixes not available in the latest patch).
> Pierre thanks for your time.
You are welcome :)
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: error compiling php-5.3.2
am 11.04.2010 17:33:08 von Ferenc Kovacs
--0015175884a6d7a2e50483f7bed5
Content-Type: text/plain; charset=UTF-8
On Sun, Apr 11, 2010 at 12:41 PM, Pierre Joye wrote:
> hi,
>
> On Sun, Apr 11, 2010 at 10:51 AM, Tomasz Krawczyk
> wrote:
> > Hi
> >
> >>>>> crypt.obj : error LNK2001: unresolved external symbol _crypt
> >>>>> Release\php5.dll : fatal error LNK1120: 1 unresolved externals
> >>>>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> >>>>> 9.0\VC\Bin\cl.exe"' : return code '0x2'
> >>>>> Stop.
> >
> > I did silly error. I had put suhosin directory into extensions directory
> > then I decided to make clean PHP compilation just to be sure I'm able to
> > compile PHP. Suhosin contains patch for crypt but PHP sources was not
> > patched by suhosin patch. I think it was my problem. Eventually I saw
> this
>
> You don't need suhosin on windows nor with 5.3 (all platforms) as 5.3
> has all crypt features provided by the suhosin extension (with some
> more fixes not available in the latest patch).
>
could you tell more about this?
Tyrael
>
>
> Pierre thanks for your time.
>
> You are welcome :)
>
> Cheers,
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--0015175884a6d7a2e50483f7bed5--
Re: error compiling php-5.3.2
am 11.04.2010 18:21:38 von Pierre Joye
hi,
On Sun, Apr 11, 2010 at 5:33 PM, Ferenc Kovacs wrote:
>> > I did silly error. I had put suhosin directory into extensions directory
>> > then I decided to make clean PHP compilation just to be sure I'm able to
>> > compile PHP. Suhosin contains patch for crypt but PHP sources was not
>> > patched by suhosin patch. I think it was my problem. Eventually I saw
>> > this
>>
>> You don't need suhosin on windows nor with 5.3 (all platforms) as 5.3
>> has all crypt features provided by the suhosin extension (with some
>> more fixes not available in the latest patch).
>
> could you tell more about this?
I added blowfish and other algorithms to php 5.3, they are now enabled
on all platfroms (even windows). As soon as on algorithm is missing,
the bundled versions are used.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php