php-gtk compile problem
| From: | dragon | Date: | Mon, 14 Jan 2002 14:30:55 +0000 |
| Subject: | php-gtk compile problem | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-992@lists.php.net to get a copy of this message | ||
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?