Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Przy robieniu make wyskakuje:
kuba@debian:~/php-gtk$ make /bin/sh /home/kuba/php-gtk/libtool --mode=compile gcc -Iext/gtk+/ -I/home/kuba/php-gtk/ext/gtk+/ -DPHP_ATOM_INC -I/home/kuba/php-gtk/include -I/home/kuba/php-gtk/main -I/home/kuba/php-gtk -I/opt/php5_2/include/php -I/opt/php5_2/include/php/main -I/opt/php5_2/include/php/TSRM -I/opt/php5_2/include/php/Zend -I/opt/php5_2/include/php/ext -I/opt/php5_2/include/php/ext/date/lib -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/opt/php5_2/include/php -DHAVE_CONFIG_H -g -O2 -c ext/gtk+/gen_gdk.c -o ext/gtk+/gen_gdk.lo gcc -Iext/gtk+/ -I/home/kuba/php-gtk/ext/gtk+/ -DPHP_ATOM_INC -I/home/kuba/php-gtk/include -I/home/kuba/php-gtk/main -I/home/kuba/php-gtk -I/opt/php5_2/include/php -I/opt/php5_2/include/php/main -I/opt/php5_2/include/php/TSRM -I/opt/php5_2/include/php/Zend -I/opt/php5_2/include/php/ext -I/opt/php5_2/include/php/ext/date/lib -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/opt/php5_2/include/php -DHAVE_CONFIG_H -g -O2 -c ext/gtk+/gen_gdk.c -fPIC -DPIC -o ext/gtk+/.libs/gen_gdk.o ext/gtk+/gdk-2.8.overrides: In function 'zim_Gdk_cairo_set_source_pixbuf': ext/gtk+/gdk-2.8.overrides:68: error: 'context_object' undeclared (first use in this function) ext/gtk+/gdk-2.8.overrides:68: error: (Each undeclared identifier is reported only once ext/gtk+/gdk-2.8.overrides:68: error: for each function it appears in.) ext/gtk+/gdk-2.8.overrides:68: error: 'cont' undeclared (first use in this function) ext/gtk+/gdk-2.8.overrides:72: error: expected expression before ')' token ext/gtk+/gdk-2.8.overrides: At top level: ext/gtk+/gdk-2.8.overrides:125: error: stray '#' in program ext/gtk+/gdk-2.8.overrides:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant ext/gtk+/gdk-2.10.overrides: In function 'zim_Gdk_cairo_set_source_pixmap': ext/gtk+/gdk-2.10.overrides:63: error: 'context_object' undeclared (first use in this function) ext/gtk+/gdk-2.10.overrides:63: error: 'cont' undeclared (first use in this function) ext/gtk+/gdk-2.10.overrides:67: error: expected expression before ')' token ext/gtk+/gen_gdk.c: At top level: ext/gtk+/gen_gdk.c:1904: error: 'zim_Gdk_cairo_region' undeclared here (not in a function) ext/gtk+/gdk-2.8.overrides: In function 'zim_GdkDrawable_cairo_create': ext/gtk+/gdk-2.8.overrides:11: error: 'context_object' undeclared (first use in this function) ext/gtk+/gdk-2.8.overrides:11: error: 'cont' undeclared (first use in this function) ext/gtk+/gdk-2.8.overrides:11: error: invalid operands to binary * (have 'struct zend_function_entry *' and 'struct zend_function_entry *') ext/gtk+/gdk-2.8.overrides:17: warning: assignment makes pointer from integer without a cast ext/gtk+/gdk-2.8.overrides:19: error: expected expression before ')' token ext/gtk+/gdk-2.8.overrides:19: error: invalid operands to binary * (have 'struct zend_function_entry *' and 'struct zend_function_entry *') ext/gtk+/gdk-2.8.overrides:21: error: 'zend_function_entry' has no member named 'context' ext/gtk+/gdk-2.10.overrides: In function 'zim_GdkScreen_set_font_options': ext/gtk+/gdk-2.10.overrides:15: error: 'fontoptions_object' undeclared (first use in this function) ext/gtk+/gdk-2.10.overrides:15: error: 'fobj' undeclared (first use in this function) ext/gtk+/gdk-2.10.overrides:15: error: invalid operands to binary * (have 'struct zend_function_entry *' and 'struct zend_function_entry *') ext/gtk+/gdk-2.10.overrides:20: error: expected expression before ')' token ext/gtk+/gdk-2.10.overrides:20: error: invalid operands to binary * (have 'struct zend_function_entry *' and 'struct zend_function_entry *') ext/gtk+/gdk-2.10.overrides:22: error: 'zend_function_entry' has no member named 'fontoptions' ext/gtk+/gdk-2.10.overrides:22: warning: passing argument 2 of 'gdk_screen_set_font_options' from incompatible pointer type ext/gtk+/gdk-2.10.overrides: In function 'zim_GdkScreen_get_font_options': ext/gtk+/gdk-2.10.overrides:31: error: 'fontoptions_object' undeclared (first use in this function) ext/gtk+/gdk-2.10.overrides:31: error: 'fobj' undeclared (first use in this function) ext/gtk+/gdk-2.10.overrides:31: error: invalid operands to binary * (have 'struct zend_function_entry *' and 'struct zend_function_entry *') ext/gtk+/gdk-2.10.overrides:36: warning: assignment makes pointer from integer without a cast ext/gtk+/gdk-2.10.overrides:39: error: expected expression before ')' token ext/gtk+/gdk-2.10.overrides:39: error: invalid operands to binary * (have 'struct zend_function_entry *' and 'struct zend_function_entry *')
Szkoda że w repo tego nie ma ;/
Offline
Udało Ci się skompilować te php-gtk ? Bo mam taki sam problem.
Offline
Nie dałem se spokój :P
Offline