Subject Re: [firebird-php] PHP 5.3 compilation VC6
Author Pierre Joye
hi,

Btw, VC6 is not the only case we have to support. We have to support
VC9 and VC6. And no, VC9 is not only for IIS (for Lester).

In the past discussions, the idea was to use 1.x for VC6 builds and
2.x for VC9 (2.x does not support vc6 anyway afair).

For the correct configuration, SDK and compiler, see:

http://wiki.php.net/internals/windows/windowssdk
http://wiki.php.net/internals/windows/compiler

Cheers,

On Thu, May 28, 2009 at 10:05 PM, Umberto Masotti <u.masotti@...> wrote:
> Resumed a old Win2000 VM with a correctly installed VC6 where lib and
> include environment are correctly defined.
> There is a FB 1.5.1 installed at the moment, I can change this with no
> problem if mandatory to correct the error I'm reporting here.
>
> I've enabled interbase shared option, the remaining options are the default.
>
> nmake end reporting:
> **************************** BEGIN ***************
> ibase_blobs.c
> main\streams/php_stream_transport.h(85) : error C2143: syntax error :
> missing ')' before '*'
> main\streams/php_stream_transport.h(85) : error C2081: 'socklen_t' :
> name in formal parameter list illegal
> main\streams/php_stream_transport.h(85) : error C2143: syntax error :
> missing '{' before '*'
> main\streams/php_stream_transport.h(86) : error C2059: syntax error : 'type'
> main\streams/php_stream_transport.h(88) : error C2059: syntax error : ')'
> main\streams/php_stream_transport.h(93) : error C2143: syntax error :
> missing ')' before '*'
> main\streams/php_stream_transport.h(93) : error C2081: 'socklen_t' :
> name in formal parameter list illegal
> main\streams/php_stream_transport.h(93) : error C2143: syntax error :
> missing '{' before '*'
> main\streams/php_stream_transport.h(94) : error C2059: syntax error : 'type'
> main\streams/php_stream_transport.h(94) : error C2059: syntax error : ')'
> main\streams/php_stream_transport.h(104) : error C2143: syntax error :
> missing ')' before '*'
> main\streams/php_stream_transport.h(104) : error C2081: 'socklen_t' :
> name in formal parameter list illegal
> main\streams/php_stream_transport.h(104) : error C2143: syntax error :
> missing '{' before '*'
> main\streams/php_stream_transport.h(105) : error C2059: syntax error :
> 'type'
> main\streams/php_stream_transport.h(105) : error C2059: syntax error : ')'
> main\streams/php_stream_transport.h(110) : error C2146: syntax error :
> missing ')' before identifier 'addrlen'
> main\streams/php_stream_transport.h(110) : error C2081: 'socklen_t' :
> name in formal parameter list illegal
> main\streams/php_stream_transport.h(110) : error C2061: syntax error :
> identifier 'addrlen'
> main\streams/php_stream_transport.h(110) : error C2059: syntax error : ';'
> main\streams/php_stream_transport.h(110) : error C2059: syntax error : ','
> main\streams/php_stream_transport.h(110) : error C2059: syntax error : ')'
> main\streams/php_stream_transport.h(148) : error C2061: syntax error :
> identifier 'socklen_t'
> main\streams/php_stream_transport.h(152) : error C2059: syntax error : '}'
> main\streams/php_stream_transport.h(157) : error C2061: syntax error :
> identifier 'socklen_t'
> main\streams/php_stream_transport.h(163) : error C2059: syntax error : '}'
> main\streams/php_stream_transport.h(164) : error C2059: syntax error : '}'
> ************************************* END **********************
>
> I'll try to see in sources tomorrow.
>
> Ciao.
> Mimmo.
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>



--
Pierre

http://blog.thepimp.net | http://www.libgd.org