|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41720 Compile failure on gtk-2.8
Submitted: 2007-06-17 18:30 UTC Modified: 2007-06-17 18:40 UTC
From: Assigned:
Status: Closed Package: PHP-GTK related
PHP Version: 5.2.3 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2007-06-17 18:30 UTC]
php-gtk2 is said to support gtk+2 >= 2.6.9, however when trying to compile it against gtk+-2.8.20 it fails with:

ext/gtk+/gen_gtk.c:44: error: syntax error before '*' token

where 44th line of ext/gtk+/gen_gtk.c is:
static void phpg_link_button_set_uri_hook_func_marshal(GtkLinkButton *button, const gchar *link, gpointer data);

I found a thread started by Eddie Hixson where he complains about similar error:

yet the thread ended without any resolution to the problem other then (I used gtk+ 2.10).


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-17 18:40 UTC]
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at

A tarball for the beta release that works with Gtk+ 2.8 will be up on in a few moments.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 20 19:01:30 2024 UTC