Re: php-gtk Win32 compiling problem

From: Date: Mon, 06 Mar 2006 12:03:44 +0000
Subject: Re: php-gtk Win32 compiling problem
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2499@lists.php.net to get a copy of this message
It's your compiler. I'll talk with Wez, I think he's on VS.NET 2005 too. (Edin and myself both use MSVS 6.0 still, and that compiles PHP-GTK 2 without so much as a warning.) - Steph ----- Original Message ----- From: "Leonardo Dutra" <leonardo@solutiva.com.br> To: <php-gtk-dev@lists.php.net> Sent: Monday, March 06, 2006 7:10 AM Subject: [PHP-GTK-DEV] php-gtk Win32 compiling problem
Hi, Excuse to post this again, but the previous was about generating files on configure script, and aided by Steph I solved that problem. When I try to build system it happens: C:\DEV\php-gtk>buildconf Rebuilding configure.js
Checking ext/canvas             Not currently available for Windows systems
Checking ext/combobutton    Not currently available for Windows systems
Checking ext/extra               Not currently available for Windows systems
Checking ext/gdkpixbuf        Not currently available for Windows systems
Checking ext/gtk+               Available
Checking ext/gtkhtml           Not currently available for Windows systems
Checking ext/imlib               Not currently available for Windows systems
Checking ext/libglade           Available
Checking ext/piemenu          Not currently available for Windows systems
Checking ext/scintilla           Not currently available for Windows systems
Checking ext/scrollpane       Not currently available for Windows systems
Checking ext/skeleton         Not currently available for Windows systems
Checking ext/sourceview      Not currently available for Windows systems
Checking ext/spaned           Not currently available for Windows systems
Checking ext/sqpane           Not currently available for Windows systems
Now run 'cscript /nologo configure.js --help' C:\DEV\php-gtk>cscript /nologo configure.js --all Saving configure options to configure.bat
Checking for cl.exe ...         <in default path>
Checking for mc.exe ...        c:\cygwin\bin
Checking for rc.exe ...         C:\Arquivos de programas\Microsoft Visual Studio 8\SDK\v2.0\Bin
Checking for link.exe ...       C:\Arquivos de programas\Microsoft Visual Studio 8\VC\bin
Checking for nmake.exe ... <in default path>
Checking for lib.exe ...        <in default path>
Checking for php.exe ...      <in default path>
Detected compiler version: Microsoft VS.NET 2005
Checking for main/php.h ...     <in default path>
Checking for php5ts.lib ...     <in LIB path> php5ts.lib
Checking for iconv.h ...        <in default path>
Checking for iconv.lib ... ..\win32build\lib\iconv.lib
Checking for libintl.h ...      <in default path>
Checking for intl.lib ...       <in LIB path> intl.lib
Checking for atk/atk.h ...      <in default path>
Checking for atk-1.0.lib ...    <in LIB path> atk-1.0.lib
Checking for glib.h ...         <in default path>
Checking for glib-2.0.lib ... <in LIB path> glib-2.0.lib
Checking for gmodule.h ...      <in default path>
Checking for gmodule-2.0.lib ...        <in LIB path> gmodule-2.0.lib
Checking for glib/gthread.h ...         <in default path>
Checking for gthread-2.0.lib ...        <in LIB path> gthread-2.0.lib
Checking for glib-object.h ... <in default path>
Checking for gobject-2.0.lib ...        <in LIB path> gobject-2.0.lib
Checking for pango/pango.h ... <in default path> Checking for pango-1.0.lib ... <in LIB path> pango-1.0.lib
Checking for pango/pangowin32.h ...     <in default path>
Checking for pangowin32-1.0.lib ...     <in LIB path> pangowin32-1.0.lib
Checking for gdk-pixbuf/gdk-pixbuf.h ...        <in default path>
Checking for gdk_pixbuf-2.0.lib ...     <in LIB path> gdk_pixbuf-2.0.lib
Checking for gdk/gdk.h ...      <in default path>
Checking for gdk-win32-2.0.lib ...      <in LIB path> gdk-win32-2.0.lib
Checking for gtk/gtk.h ...      <in default path>
Checking for gtk-win32-2.0.lib ...      <in LIB path> gtk-win32-2.0.lib
Enabling extension ext\gtk+ Checking for glade\glade.h ... <in default path> Checking for glade-2.0.lib ... <in LIB path> glade-2.0.lib Enabling extension ext\libglade Creating build dirs... Generating source files - this may take a few seconds Waiting for source files to generate... Waiting for source files to generate... Waiting for source files to generate... Waiting for source files to generate... Waiting for source files to generate... Waiting for source files to generate... Generating Makefile Done. Type 'nmake' to build all targets, or 'nmake php-gtk' to build PHP-GTK alone * Configured PHP-GTK extensions can be built individually at a later stage * C:\DEV\php-gtk>nmake php-gtk Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. Note: php-gtk2.lib must be created before PHP-GTK extensions can be built cl : Command line warning D9035 : option 'GX' has been deprecated and will be re moved in a future release cl : Command line warning D9036 : use 'EHsc' instead of 'GX' php_gtk.c C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\sys/stat.inl(44) : error C2466: cannot allocate an array of constant size 0 C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\sys/stat.inl(49) : error C2466: cannot allocate an array of constant size 0 C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\sys/utime.inl(39) : error C2466: cannot allocate an array of constant size 0 C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\sys/utime.inl(44) : error C2466: cannot allocate an array of constant size 0 C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\sys/utime.inl(49) : error C2466: cannot allocate an array of constant size 0 C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\sys/utime.inl(78) : error C2466: cannot allocate an array of constant size 0 C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\wtime.inl(37) : wa rning C4133: 'function' : incompatible types - from 'const time_t *' to 'const _ _time32_t *' C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\wtime.inl(43) : wa rning C4133: 'function' : incompatible types - from 'const time_t *' to 'const _ _time32_t *' C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\time.inl(32) : war ning C4244: 'function' : conversion from 'time_t' to '__time32_t', possible loss of data C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\time.inl(32) : war ning C4244: 'function' : conversion from 'time_t' to '__time32_t', possible loss of data C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\time.inl(38) : war ning C4133: 'function' : incompatible types - from 'const time_t *' to 'const __ time32_t *' C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\time.inl(44) : war ning C4133: 'function' : incompatible types - from 'const time_t *' to 'const __ time32_t *' C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\time.inl(51) : war ning C4133: 'function' : incompatible types - from 'const time_t *' to 'const __ time32_t *' C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\time.inl(57) : war ning C4133: 'function' : incompatible types - from 'const time_t *' to 'const __ time32_t *' C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\time.inl(64) : war ning C4133: 'function' : incompatible types - from 'const time_t *' to 'const __ time32_t *' C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\time.inl(69) : war ning C4133: 'function' : incompatible types - from 'const time_t *' to 'const __ time32_t *' C:\Arquivos de programas\Microsoft Visual Studio 8\VC\include\time.inl(81) : war ning C4133: 'function' : incompatible types - from 'time_t *' to '__time32_t *' NMAKE : fatal error U1077: '"C:\Arquivos de programas\Microsoft Visual Studio 8\ VC\bin\cl.EXE"' : return code '0x2' Stop. C:\DEV\php-gtk> -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com


« previous php.gtk.dev (#2499) next »