I tried to compile PHP-GTK 2.0.1 with PHP 5.3.1 on Windows.
The first errors I was able to fix. The patch file with my fixes you find as an attachment to this mail.
But now I get following error and I don't know why. VC9 doesn't find the SG-definition, but SAPI.h is included in php_gtk+.c. So what's going wrong there?
###
C:\php-sdk\php53\vc9\x86\php-
gtk_build>nmake
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9035 : option 'GX' has been deprecated and will be removed in a future release
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
php_gtk+.c
c:\php-sdk\php53\vc9\x86\php-5.3.1\zend\zend_execute.h(231) : warning C4018: '>' : signed/unsigned mismatch
ext\gtk+\php_gtk+.c(82) : warning C4013: 'SG' undefined; assuming extern returning int
ext\gtk+\php_gtk+.c(82) : error C2065: 'request_info' : undeclared identifier
ext\gtk+\php_gtk+.c(82) : error C2224: left of '.path_translated' must have struct/union type
ext\gtk+\php_gtk+.c(83) : error C2065: 'request_info' : undeclared identifier
ext\gtk+\php_gtk+.c(83) : error C2224: left of '.path_translated' must have struct/union type
ext\gtk+\php_gtk+.c(83) : error C2198: 'g_strdup' : too few arguments for call
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin
\cl.EXE"' : return code '0x2'
Stop.
C:\php-sdk\php53\vc9\x86\php-gtk_build>
###
Do you have a hint what I can do?
Thanks and best regards,
Thomas
--
Mit freundlichen Grüßen,Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9035 : option 'GX' has been deprecated and will be removed in a future release
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
php_gtk+.c
c:\php-sdk\php53\vc9\x86\php-5.3.1\zend\zend_execute.h(231) : warning C4018: '>' : signed/unsigned mismatch
ext\gtk+\php_gtk+.c(82) : warning C4013: 'SG' undefined; assuming extern returning int
ext\gtk+\php_gtk+.c(82) : error C2065: 'request_info' : undeclared identifier
ext\gtk+\php_gtk+.c(82) : error C2224: left of '.path_translated' must have struct/union type
ext\gtk+\php_gtk+.c(83) : error C2065: 'request_info' : undeclared identifier
ext\gtk+\php_gtk+.c(83) : error C2224: left of '.path_translated' must have struct/union type
ext\gtk+\php_gtk+.c(83) : error C2198: 'g_strdup' : too few arguments for call
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin
\cl.EXE"' : return code '0x2'
Stop.
C:\php-sdk\php53\vc9\x86\php-gtk_build>
###
Do you have a hint what I can do?
Thanks and best regards,
Thomas
--
Thomas Worm
******************************
Thomas Worm
Handel & Dienstleistung
Postfach 2207
D-90009 Nürnberg
Hausanschrift:
Hintere Cramergasse 3
D-90478 Nürnberg
******************************
Telefon: +49 1803 030505000
Telefax: +49 1803 030505050
Allgemeiner Kontakt:
info@xxxxxxxxxxxxxx
Buchhaltung:
buchhaltung@xxxxxxxxxxxxxx
******************************
Geschäftsführer: Thomas Worm
thomas.worm@xxxxxxxxxxxxxx
Kontoverbindung:
Inhaber: Thomas Worm H. u. D.
Kontonummer: 38 56 38
Bankleitzahl: 760 606 18
Kreditinstitut: Volksbank-Raiffeisenbank Nürnberg eG
Steuernummer: 240-290-21429
USt-ID: DE250745940
ISBN-Verlagsnummer: 3-86749
******************************
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php