Re: Current CVS will not build on current FC6
| From: | Elizabeth Smith | Date: | Thu, 24 May 2007 15:58:04 +0000 |
| Subject: | Re: Current CVS will not build on current FC6 | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7841@lists.php.net to get a copy of this message | ||
Eddie Hixson wrote:
Can someone help me resolve these build issues? I have had them for a couple of weeks now. I am running an up to date release of FC6 with a current update of the CVS as of today (05/23/2007). These build errors have been occurring for sometime now. gcc -Iext/gtk+/ -I/home/eddieh/php-gtk2/php-gtk/ext/gtk+/ -DPHP_ATOM_INC -I/home/eddieh/php-gtk2/php-gtk/include -I/home/eddieh/php-gtk2/php-gtk/main -I/home/eddieh/php-gtk2/php-gtk -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -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/libglade-2.0 -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c ext/gtk+/gen_gtk.c -fPIC -DPIC -o ext/gtk+/.libs/gen_gtk.o ext/gtk+/gen_gtk.c:44: error: expected ')' before '*' token ext/gtk+/gen_gtk.c:2048: error: 'GtkCellEditable_editing_done' undeclared here (not in a function) ext/gtk+/gen_gtk.c:2048: error: initializer element is not constant ext/gtk+/gen_gtk.c:2048: error: (near initialization for 'gtkcelleditable_methods[0].handler') ext/gtk+/gen_gtk.c:2049: error: 'GtkCellEditable_remove_widget' undeclared here (not in a function) ext/gtk+/gen_gtk.c:2049: error: initializer element is not constant ext/gtk+/gen_gtk.c:2049: error: (near initialization for 'gtkcelleditable_methods[1].handler') ext/gtk+/gen_gtk.c:2050: error: 'GtkCellEditable_start_editing' undeclared here (not in a function) ext/gtk+/gen_gtk.c:2050: error: initializer element is not constant ext/gtk+/gen_gtk.c:2050: error: (near initialization for 'gtkcelleditable_methods[2].handler') Yes, I have done a (make clean), (make distclean), (cvs update). I have also removed the tree and redone a complete get but errors are still there. Regards, EddieI know you're not going to like hearing this, but it sounds like you need to look into your warnings - these are the kind of errors I get generally in C code(usually on windows builds) when I have a "warning, undeclared identifer, assuming int blah blah" earlier - which basically means I'm not getting the right header file included. I'd need to see your entire compile log (please not on the list) and check for other warnings before I'd pin this on php-gtk because it sounds to me like your gtk includes are messed up.