Re: php-gtk compile problem
| From: | Alan Knowles | Date: | Mon, 14 Jan 2002 13:52:49 +0000 |
| Subject: | Re: php-gtk compile problem | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-993@lists.php.net to get a copy of this message | ||
is this ontop of an older php installation - if so you may be getting phpize generating incorrect API info..
otherwise - try using php-gtk from cvs
regards
alan
dragon wrote:
hi I have php-4.1.1 and php-gtk-0.1.1 When I tryd to compile it it says: make[2]: Entering directory `/home/fordit/php-gtk-0.1.1/main' /bin/sh /home/fordit/php-gtk-0.1.1/libtool --mode=compile gcc -I. -I/home/fordit/php- gtk-0.1.1/main -I/home/fordit/php-gtk-0.1.1/main -I/home/fordit/php-gtk-0.1.1 -I/usr/i nclude/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/ usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/inclu de -I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/home/fordit/php-gtk-0.1.1/m ain -DHAVE_CONFIG_H -g -O2 -c php_gtk.c gcc -I. -I/home/fordit/php-gtk-0.1.1/main -I/home/fordit/php-gtk-0.1.1/main -I/home/fo rdit/php-gtk-0.1.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib /include -I/usr/X11R6/include -I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/ home/fordit/php-gtk-0.1.1/main -DHAVE_CONFIG_H -g -O2 -c php_gtk.c -fPIC -DPIC -o php _gtk.lo php_gtk.c:32: warning: initialization makes integer from pointer without a cast php_gtk.c:32: initializer element is not computable at load time php_gtk.c:32: (near initialization for `gtk_module_entry.size') php_gtk.c:33: warning: initialization makes integer from pointer without a cast php_gtk.c:34: warning: initialization makes integer from pointer without a cast php_gtk.c:34: initializer element is not computable at load time php_gtk.c:34: (near initialization for `gtk_module_entry.zend_debug') php_gtk.c:35: warning: initialization makes integer from pointer without a cast php_gtk.c:35: initializer element is not computable at load time php_gtk.c:35: (near initialization for `gtk_module_entry.zts') php_gtk.c:36: warning: initialization from incompatible pointer type php_gtk.c:37: warning: initialization from incompatible pointer type php_gtk.c:38: warning: initialization from incompatible pointer type make[2]: *** [php_gtk.lo] Error 1 make[2]: Leaving directory `/home/fordit/php-gtk-0.1.1/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/fordit/php-gtk-0.1.1/main' make: *** [all-recursive] Error 1 And it says when I tried to compile the version 0.1 Whats wrong?