[Monetdb-developers] Clients compilaiton in windows...

Sjoerd Mullender sjoerd at acm.org
Mon Feb 26 17:02:19 CET 2007


On 2007-02-26 16:55, Romulo Goncalves wrote:
> Sjoerd Mullender wrote:
>> Romulo Goncalves wrote:
>>> Compiling the clients in windows gave the error:
>>>
>>>          copy
>>> ".\..\..\..\..\..\src\php\Cimpl\examples\monetdb_query_demo.php"
>>> "monetdb_query_demo.php"
>>>          1 file(s) copied.
>>>          cl -GF -W3 -wd4273 -wd4102 -MD -nologo -Zi -Ox -I.
>>> -I.\..\..\.. "-IC:\Pthreads\include" -I.\..\..\..\..\src\php\Cimpl
>>> "-I..\..\mapilib" -I.\..\..\..\..\src\php\Cimpl\..\..\mapilib
>>> -I.\..\..\..\..\..\MonetDB\NT\include -I.\..\..\..\..\..\MonetD
>>> \NT\include\common -I.\..\..\..\..\..\MonetDB\NT\include\gdk
>>> -I.\..\..\..\..\..\php-5.1.4 -I.\..\..\..\..\..\php-5.1.4\main -
>>> .\..\..\..\..\..\php-5.1.4\TSRM -I.\..\..\..\..\..\php-5.1.4\Zend
>>> -DPHP_WIN32 -DZEND_WIN32 -DZEND_DEBUG=0 -DZTS=1   -DLIBMONE
>>> DB -DCOMPILE_DL_MONETDB -Fo"php_monetdb.obj" -c
>>> ".\..\..\..\..\src\php\Cimpl\php_monetdb.c"
>>> php_monetdb.c
>>> E:\Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WS2tcpip.h(647) :
>>> warning C4142: benign redefinition of type
>>> ..\..\..\..\src\php\Cimpl\php_monetdb.c(1721) : error C2198:
>>> 'zend_exception_get_default' : too few arguments for call throug
>>>   pointer-to-function
>>> ..\..\..\..\src\php\Cimpl\php_monetdb.c(1736) : error C2198:
>>> 'zend_exception_get_default' : too few arguments for call throug
>>>   pointer-to-function
>>> ..\..\..\..\src\php\Cimpl\php_monetdb.c(1746) : error C2198:
>>> 'zend_exception_get_default' : too few arguments for call throug
>>>   pointer-to-function
>>> NMAKE : fatal error U1077: 'cl' : return code '0x2'
>>> Stop.
>>> NMAKE : fatal error U1077: 'cd' : return code '0x2'
>>> Stop.
>>> NMAKE : fatal error U1077: 'cd' : return code '0x2'
>>> Stop.
>>> NMAKE : fatal error U1077: 'cd' : return code '0x2'
>>> Stop.
>>> NMAKE : fatal error U1077: '"E:\Visual Studio .NET
>>> 2003\VC7\BIN\nmake.exe"' : return code '0x2'
>>> Stop.
>>>
>>>
>>> I check my zend_exceptions and the function is defined as:
>>>
>>> ZEND_API zend_class_entry *zend_exception_get_default(TSRMLS_D);
>>>
>>> My php is php-5.1.4
>>
>> That is strange.  In *my* copy of PHP-5.1.4 (both the one I already had
>> and the one I just downloaded) the definition is:
>>
>> + grep zend_exception_get_default php-5.1.4/Zend/zend_exceptions.h
>> ZEND_API zend_class_entry *zend_exception_get_default(void);
>>
>> Are you *sure* you have PHP-5.1.4?
>>
> After checking the files with more careful I found out that I am using
> version 5.2.0.
> 
> Should I use 5.1.4 or should we update this function?

We should upgrade our support.  5.2.1 is current, so we should support
that.  For now, do what you need to do, but don't check it in so that I
can also still compile.


-- 
Sjoerd Mullender

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 370 bytes
Desc: OpenPGP digital signature
URL: <http://www.monetdb.org/pipermail/developers-list/attachments/20070226/654c9e74/attachment.sig>


More information about the developers-list mailing list