Re: Current CVS will not build on current FC6
| From: | Eddie Hixson | Date: | Thu, 24 May 2007 12:29:28 +0000 |
| Subject: | Re: Current CVS will not build on current FC6 | ||
| References: | 1 2 3 4 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7839@lists.php.net to get a copy of this message | ||
Hi Anant,
Thanks for taking a look. I had already looked at that line of code in
gen_gtk.c and it looked okay to me.
Below is a sample of the code before and and after the line in question.
static void phpg_tree_selection_foreach_func_marshal (GtkTreeModel
*model, GtkTreePath *path, GtkTreeIter *iter, gpointer data);
static gboolean phpg_tree_selection_func_marshal (GtkTreeSelection
*selection, GtkTreeModel *model, GtkTreePath *path, gboolean
path_currently_selected, gpointer data);
static void phpg_link_button_set_uri_hook_func_marshal(GtkLinkButton
*button, const gchar *link, gpointer data);
PHP_GTK_EXPORT_CE(gtkcelleditable_ce);
PHP_GTK_EXPORT_CE(gtkcelllayout_ce);
PHP_GTK_EXPORT_CE(gtkeditable_ce);
The last good build I have on my machine is dated APRIL, 19th. Whatever
happened was after then. I usually get and build everyday if there is
an update.
Regards,
Eddie
On Thu, 2007-05-24 at 09:56 +0530, Anant Narayanan wrote:
> Hi Eddie,
>
> > VERSIONS FROM FC5 that has build errors.
> > > ext/gtk+/gen_gtk.c:44: error: expected ')' before '*' token
>
> Just have a look at line 44 in ext/gtk+/gen_gtk.c. It should read:
>
> static void phpg_link_button_set_uri_hook_func_marshal(GtkLinkButton
> *button, const gchar *link, gpointer data);
>
> But looks like your gen_gtk.c has a ')' missing. It's mostly likely that
> the generator isn't functioning correctly on your machine since the
> override for GtkLinkButton::set_uri_hook() was written. Elizabeth, any
> ideas?
>
> Cheers,
> --
> Anant
>
> P.S. Modifying line 44 to read as above and then executing 'make' should
> solve your problem, as a temporary solution.