Re: php-gtk Win32 compiling problem
| From: | Steph Fox | Date: | Mon, 06 Mar 2006 17:32:33 +0000 |
| Subject: | Re: php-gtk Win32 compiling problem | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2500@lists.php.net to get a copy of this message | ||
Thanks for this xxoes, it's very helpful - I only have MSVS 6.0 here, so I'm not able to 'see' any of this stuff.
I'll put changes into CVS so you don't have to do this manually, some time in the next day or two.
- Steph
----- Original Message ----- From: "xxoes" <xxoes@nw7.de>
To: <php-gtk-dev@lists.php.net>
Sent: Monday, March 06, 2006 9:59 AM
Subject: Re: [PHP-GTK-DEV] php-gtk Win32 compiling problem
VC7 it compiled fine. VC8 i have added "/D _USE_32BIT_TIME_T=1" to the CFLAGS at the Makefile. I have also removed /YX and replaced /GX with /EHsc. Now he is compiling at my maschine, only a few warnings:C:\php-dev\vc8\INCLUDE\string.h(205): See declaration of 'strdup' Message: "The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details." main\phpg_support.c(336) : warning C4996: 'strdup' wurde als veraltet deklariertC:\php-dev\vc8\INCLUDE\string.h(205): See declaration of 'strdup' Message: "The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details." mfg xxoes (sorry for my english ;)) Leonardo Dutra schrieb: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-- 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.comChecking 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 systemsNow run 'cscript /nologo configure.js --help' C:\DEV\php-gtk>cscript /nologo configure.js --all Saving configure options to configure.batChecking 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\binChecking 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 2005Checking 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.libChecking 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.libChecking 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.libChecking for glib-object.h ... <in default path>Checking for gobject-2.0.lib ... <in LIB path> gobject-2.0.libChecking for pango/pango.h ... <in default path> Checking for pango-1.0.lib ... <in LIB path> pango-1.0.libChecking 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.libEnabling 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>