Re: Make stucked on gen_gtk.c = 1 error , help please

From: Date: Wed, 06 Feb 2002 15:54:36 +0000
Subject: Re: Make stucked on gen_gtk.c = 1 error , help please
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1154@lists.php.net to get a copy of this message
Hi Steph I read and follow the upgrade from your Unix page. I'm now working with the PHP-4.2.0-dev release . I remove the gen_* files they are regenerated when I restart the make. I place the ini_set() in scheme.php and generator.php No change, unhappily I've always the same error , and the make fails again when I restart it... I think I'm wrong somewhere, I follow exactly all the team recommnedation but ... :-( An idea ? I'm trying since a day but failure only ... All the story here after, from the beginning of the crash: Thanks for your help Marcel ============== gcc -I. -I/usr/local/xtra_targz/php-gtk/ext/gtk+ -I/usr/local/xtra_targz/php -gtk /main -I/usr/local/xtra_targz/php-gtk -I/usr/local/include/php -I/usr/local/ incl ude/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/ usr/ include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6 /inc lude -I/usr/include/gnome-xml -I/usr/local/xtra_targz/php-gtk/main -DHAVE_CO NFIG _H -g -O2 -c gen_gtk.c -fPIC -DPIC -o gen_gtk.lo gen_gtk.c:2: parse error before `:' In file included from /usr/include/bits/types.h:143, from /usr/include/stdio.h:36, from /usr/local/include/php/Zend/zend.h:35, from /usr/local/include/php/main/php.h:34, from /usr/local/xtra_targz/php-gtk/main/php_gtk.h:26, from gen_gtk.c:19: /usr/include/bits/pthreadtypes.h:48: parse error before `size_t' /usr/include/bits/pthreadtypes.h:48: warning: no semicolon at end of struct or u nion /usr/include/bits/pthreadtypes.h:51: parse error before `__stacksize' /usr/include/bits/pthreadtypes.h:51: warning: data definition has no type or sto rage class /usr/include/bits/pthreadtypes.h:52: warning: data definition has no type or sto rage class In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:65, from /usr/local/include/php/Zend/zend.h:35, from /usr/local/include/php/main/php.h:34, from /usr/local/xtra_targz/php-gtk/main/php_gtk.h:26, from gen_gtk.c:19: /usr/include/gconv.h:72: parse error before `size_t' /usr/include/gconv.h:85: parse error before `size_t' /usr/include/gconv.h:94: parse error before `size_t' /usr/include/gconv.h:170: parse error before `size_t' /usr/include/gconv.h:170: warning: no semicolon at end of struct or union /usr/include/gconv.h:173: parse error before `}' /usr/include/gconv.h:173: warning: data definition has no type or storage class In file included from /usr/include/libio.h:32, from /usr/include/stdio.h:65, from /usr/local/include/php/Zend/zend.h:35, from /usr/local/include/php/main/php.h:34, from /usr/local/xtra_targz/php-gtk/main/php_gtk.h:26, from gen_gtk.c:19: /usr/include/_G_config.h:47: field `__cd' has incomplete type /usr/include/_G_config.h:50: field `__cd' has incomplete type /usr/include/_G_config.h:53: confused by earlier errors, bailing out make[3]: *** [gen_gtk.lo] Erreur 1 make[3]: Quitte le répertoire `/usr/local/xtra_targz/php-gtk/ext/gtk+' make[2]: *** [all-recursive] Erreur 1 make[2]: Quitte le répertoire `/usr/local/xtra_targz/php-gtk/ext/gtk+' make[1]: *** [all-recursive] Erreur 1 make[1]: Quitte le répertoire `/usr/local/xtra_targz/php-gtk/ext' make: *** [all-recursive] Erreur 1 ----- Original Message ----- From: Steph <Steph.Fox@btinternet.com> To: Marcel Bariou <bariou@brasnah.com>; <php-gtk-general@lists.php.net> Cc: Andrei <andrei@ispi.net> Sent: Wednesday, February 06, 2002 3:12 PM Subject: Re: [PHP-GTK] Make stucked on gen_gtk.c = 1 error , help please > http://gtk.php.net/manual/en/install.unix.php updated in the > wee small hours :) > > - you need to eliminate the gen_ files > > ----- Original Message ----- > From: "Marcel Bariou" <bariou@brasnah.com> > To: <php-gtk-general@lists.php.net> > Sent: Wednesday, February 06, 2002 7:02 AM > Subject: [PHP-GTK] Make stucked on gen_gtk.c = 1 error , help please > > > I include ini_set("memory_limit", "32M") in scheme.php, but MAKE always fails on gen_gtk.c, this file contains only 1 and generates an error. > > gen_gtk.c:1: parse error before numeric constant > gen_gtk.c:1:2: warning no newline at end of file > > Have somebody an idea. thanks > > Marcel > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.gtk.general (#1154) next »