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

Romulo Goncalves R.A.Goncalves at cwi.nl
Mon Feb 26 15:49:26 CET 2007


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

What values should I use? I used 0 and it compiles, but for sure it is 
not the best option.


Regards,
Romulo




More information about the developers-list mailing list