ZEND_INIT_MODULE_GLOBALS causes linux compile to fail.

From: Date: Mon, 17 Sep 2001 07:34:42 +0000
Subject: ZEND_INIT_MODULE_GLOBALS causes linux compile to fail.
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-52@lists.php.net to get a copy of this message
Franks commit to uncomment line 55 of php_gtk.c is causing the compile failure below - putting the comments back in seem to fix it.. regards alan line 55: ZEND_INIT_MODULE_GLOBALS(gtk, NULL, NULL); CVS reference: http://cvs.php.net/diff.php/php-gtk/main/php_gtk.c?r1=1.18&r2=1.19&f=h&num=10 Compile log gcc -I. -I/usr/src/php/php-gtk/main -I/usr/src/php/php-gtk/main -I/usr/src/php/p hp-gtk -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/src/php/php-gtk/ma in -DHAVE_CONFIG_H -g -O2 -c php_gtk.c -fPIC -DPIC -o php_gtk.lo php_gtk.c: In function `zm_startup_gtk': php_gtk.c:55: called object is not a function make[2]: *** [php_gtk.lo] Error 1 make[2]: Leaving directory `/usr/src/php/php-gtk/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/php/php-gtk/main'

« previous php.gtk.dev (#52) next »