php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44357 php-gtk make fails
Submitted: 2008-03-07 00:04 UTC Modified: 2009-01-13 01:00 UTC
Votes:4
Avg. Score:4.8 ± 0.4
Reproduced:3 of 4 (75.0%)
Same Version:0 (0.0%)
Same OS:3 (100.0%)
From: nhlaine at gmx dot net Assigned: bmajdak (profile)
Status: No Feedback Package: PHP-GTK related
PHP Version: 5.2.0 OS: GNU/Linux
Private report: No CVE-ID: None
 [2008-03-07 00:04 UTC] nhlaine at gmx dot net
Description:
------------
make fails on both CVS and site source:

ext/gtk+/gen_atk.c: In function 'zim_Atk_get_default_registry':
ext/gtk+/gen_atk.c:28: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:28: error: (Each undeclared identifier is reported only once
ext/gtk+/gen_atk.c:28: error: for each function it appears in.)

I am compiling on Debian Etch amd64 against php 5.2.0, gtk 2.8.20, glib 2.12.4, libglade 1.2.6



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-07 00:05 UTC] nhlaine at gmx dot net
php version is 5.2.0 in etch cannot test with newer
 [2008-03-07 03:31 UTC] bmajdak@php.net
This is slightly strange as we have had Debian Etch people compile clean before. Please paste your ATK package version, and also please email me your gen_atk.c file *after* the build fails. (tar.gz it so it does not attach inline) to bmajdak at php dot net.
 [2008-03-07 12:43 UTC] nhlaine at gmx dot net
libatk is 1.12.4
gen_atk.c to follow by email as req.
 [2008-03-07 19:50 UTC] bmajdak@php.net
So my first guess was not the problem.

./atk/atkregistry.h:49:typedef struct _AtkRegistry AtkRegistry;

Can you confirm that you have the atk dev package installed, and a /usr/include/atk-1.0/atk/atkregistry.h containing that line above on line 49?
 [2008-03-07 20:56 UTC] nhlaine at gmx dot net
Yes I do have libatk dev installed, and /usr/include/atk-1.0/atk/atkregistry.h 

 44 struct _AtkRegistryClass
 45 {
 46   GObjectClass    parent_class;
 47 };
 48
 49 typedef struct _AtkRegistry             AtkRegistry;
 50 typedef struct _AtkRegistryClass        AtkRegistryClass;
 [2008-03-11 13:45 UTC] zach9824 at gmail dot com
This issue also appears to be affecting build on Gentoo Linux amd64 with make: *** [ext/gtk+/gen_atk.c] Error 1. 

PHP VERSION - php-5.2.5_p20080206-r3
atk VERSION - atk-1.20.0
/usr/include/atk-1.0/atk/atkregistry.h matches that as listed below.

-------------------------------------OUTPUT-------------------------

/bin/sh /var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/libtool --mode=compile x86_64-pc-linux-gnu-gcc  -I./ext/gtk+/ -I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/./ext/gtk+/ -DPHP_ATOM_INC -I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/include -I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/main -I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkextra-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/lib64/mozilla-firefox/include/gtkembedmoz -I/usr/lib64/mozilla-firefox/include -I/usr/lib64/mozilla-firefox/include/xpcom -I/usr/lib64/mozilla-firefox/include/string -I/usr/include/nspr -I/usr/include/gtkspell-2.0  -DHAVE_CONFIG_H  -march=athlon64 -O2 -pipe -msse3   -c /var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/./ext/gtk+/php_gtk+.c -o ./ext/gtk+/php_gtk+.lo
( \
     /usr/lib64/php5/bin/php /var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/generator/generator.php \
                -l ext/gtk+/gen_atk.log \
        -r ext/gtk+/atk-types.defs   \
        -r ext/gtk+/pango-types.defs \
        -r ext/gtk+/gdk-types.defs   \
        -r ext/gtk+/gtk-types.defs   \
        -o ext/gtk+/atk.overrides \
        -p atk \
        -f ext/gtk+/gen_atk.c ext/gtk+/atk.defs \
                -v 2.12 \
     && grep -h "^PHP_GTK_EXPORT_CE" ext/gtk+/gen_atk.c | sed -e "s!^!extern !" > ext/gtk+/gen_atk.h \
        )
mkdir ./ext/gtk+/.libs
 x86_64-pc-linux-gnu-gcc -I./ext/gtk+/ -I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/./ext/gtk+/ -DPHP_ATOM_INC -I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/include -I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/main -I/var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkextra-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/lib64/mozilla-firefox/include/gtkembedmoz -I/usr/lib64/mozilla-firefox/include -I/usr/lib64/mozilla-firefox/include/xpcom -I/usr/lib64/mozilla-firefox/include/string -I/usr/include/nspr -I/usr/include/gtkspell-2.0 -DHAVE_CONFIG_H -march=athlon64 -O2 -pipe -msse3 -c /var/tmp/portage/dev-php5/php-gtk-2.0.0/work/php-gtk-2.0.0/./ext/gtk+/php_gtk+.c  -fPIC -DPIC -o ./ext/gtk+/.libs/php_gtk+.o
Could not startup.
make: *** [ext/gtk+/gen_atk.c] Error 1
make: *** Waiting for unfinished jobs....
 *
 * ERROR: dev-php5/php-gtk-2.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3648:  Called die
 * The specific snippet of code:
 *       emake || die "make failed!";
 *  The die message:
 *   make failed!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-php5:php-gtk-2.0.0:20080311-133939.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-php5/php-gtk-2.0.0/temp/environment'.
------------------------------END OUTPUT-----------------------------
 [2008-03-12 00:09 UTC] bmajdak@php.net
"Could not startup." The only time I have seen that is when doing this over SSH and PHP-GTK is already installed. nhlaine at gmx dot net do you also get this before it bombs?

Also as an experiment, both of you please extract a clean copy of the source, and if you have an old version of PHP-GTK get rid of it and comment out the reference to php_gtk.so in your PHP.INI. Also can your SSH connections if you are doing this remotely, do it from the keyboard with X running. If you are curious to why, check this out:

Configuring PHP and GTK
http://oops.opsat.net/doc/gtk/configure-php.html

# over ssh with php-gtk enabled.
[bob@kathryn ~]$ php
Could not startup.

Then do this on the clean source.

`./buildconf; ./configure; make`
Here you would get the error, then

`make clean-gen clean; make`
And see if that gets you through to the next round. Perhaps the pre-generated files are mixing to do odd things.

If you still get problems, then we might be having PHP problems or some compiler bug... recompile PHP using whatever compiler you have installed and try again. If your PHP is currently from a package you can grab the ./configure line from PHP by asking `php -i | grep Configure`
 [2008-03-12 16:33 UTC] andrei@php.net
"Could not startup" usually means that the Gtk+ could not connect to the X server as determined by the DISPLAY environment variable. Do echo $DISPLAY and see if you get anything. If not, you need to forward your X connection over SSH, this is done with -X option to ssh and with X11Forwarding in sshd_config.
 [2008-03-16 21:38 UTC] nhlaine at gmx dot net
On my side I do not experiment the 'Could not startup' error. Please find below the full error trace.
Also I tried to rebuild from CVS and followed ur instructions bmajdak and  it didn't change a thing. The `php -i | grep Configure` doesn't echo anything...?

------

/bin/sh /home/nhlaine/Desktop/php-gtk/libtool --mode=compile gcc  -I./ext/gtk+/ -I/home/nhlaine/Desktop/php-gtk/./ext/gtk+/ -DPHP_ATOM_INC -I/home/nhlaine/Desktop/php-gtk/include -I/home/nhlaine/Desktop/php-gtk/main -I/home/nhlaine/Desktop/php-gtk -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -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/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -c /home/nhlaine/Desktop/php-gtk/./ext/gtk+/php_gtk+.c -o ./ext/gtk+/php_gtk+.lo
mkdir ./ext/gtk+/.libs
 gcc -I./ext/gtk+/ -I/home/nhlaine/Desktop/php-gtk/./ext/gtk+/ -DPHP_ATOM_INC -I/home/nhlaine/Desktop/php-gtk/include -I/home/nhlaine/Desktop/php-gtk/main -I/home/nhlaine/Desktop/php-gtk -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -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/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c /home/nhlaine/Desktop/php-gtk/./ext/gtk+/php_gtk+.c  -fPIC -DPIC -o ./ext/gtk+/.libs/php_gtk+.o
( \
     /usr/bin/php /home/nhlaine/Desktop/php-gtk/generator/generator.php \
                -l ext/gtk+/gen_atk.log \
        -r ext/gtk+/atk-types.defs   \
        -r ext/gtk+/pango-types.defs \
        -r ext/gtk+/gdk-types.defs   \
        -r ext/gtk+/gtk-types.defs   \
        -o ext/gtk+/atk.overrides \
        -p atk \
        -f ext/gtk+/gen_atk.c ext/gtk+/atk.defs \
                -v 2.8 \
     && grep -h "^PHP_GTK_EXPORT_CE" ext/gtk+/gen_atk.c | sed -e "s!^!extern !" > ext/gtk+/gen_atk.h \
        )
Parsing file 'ext/gtk+/atk.defs'.
Parsing file 'ext/gtk+/atk-types.defs'.
Parsing file 'ext/gtk+/pango-types.defs'.
Parsing file 'ext/gtk+/gdk-types.defs'.
Parsing file 'ext/gtk+/gtk-types.defs'.
Parsing file 'ext/gtk+/atk-types.defs'.

========================================================================
                              Atk Summary
========================================================================

Atk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  functions           (14 written, 4 skipped)



--------------------------------------------------
                    Interfaces
--------------------------------------------------
  -- none --


--------------------------------------------------
                     Objects
--------------------------------------------------

AtkHyperlink
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  constructors         (0 written, 0 skipped)
  methods              (6 written, 0 skipped)

AtkObject
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  constructors         (0 written, 0 skipped)
  methods              (16 written, 2 skipped)

AtkNoOpObject
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  constructors         (1 written, 0 skipped)
  methods              (0 written, 0 skipped)

AtkObjectFactory
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  constructors         (0 written, 0 skipped)
  methods              (2 written, 0 skipped)

AtkNoOpObjectFactory
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  constructors         (1 written, 0 skipped)
  methods              (0 written, 0 skipped)

AtkRegistry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  constructors         (0 written, 0 skipped)
  methods              (3 written, 0 skipped)

AtkRelation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  constructors         (1 written, 0 skipped)
  methods              (1 written, 1 skipped)

AtkRelationSet
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  constructors         (1 written, 0 skipped)
  methods              (7 written, 0 skipped)

AtkStateSet
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  constructors         (1 written, 0 skipped)
  methods              (8 written, 2 skipped)

AtkUtil
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  constructors         (0 written, 0 skipped)
  methods              (0 written, 0 skipped)



--------------------------------------------------
                   Boxed Types
--------------------------------------------------
  -- none --


--------------------------------------------------
                     Pointers
--------------------------------------------------
  -- none --


========================================================================
                              Atk Coverage
========================================================================
Functions           :  77.8% written (14/18)
Methods             :  89.6% written (43/48)
Constructors        : 100.0% written (5/5)
Property accessors  : none found


/bin/sh /home/nhlaine/Desktop/php-gtk/libtool --mode=compile gcc  -Iext/gtk+/ -I/home/nhlaine/Desktop/php-gtk/ext/gtk+/ -DPHP_ATOM_INC -I/home/nhlaine/Desktop/php-gtk/include -I/home/nhlaine/Desktop/php-gtk/main -I/home/nhlaine/Desktop/php-gtk -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -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/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -c ext/gtk+/gen_atk.c -o ext/gtk+/gen_atk.lo
 gcc -Iext/gtk+/ -I/home/nhlaine/Desktop/php-gtk/ext/gtk+/ -DPHP_ATOM_INC -I/home/nhlaine/Desktop/php-gtk/include -I/home/nhlaine/Desktop/php-gtk/main -I/home/nhlaine/Desktop/php-gtk -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -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/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c ext/gtk+/gen_atk.c  -fPIC -DPIC -o ext/gtk+/.libs/gen_atk.o
ext/gtk+/gen_atk.c: In function 'zim_Atk_get_default_registry':
ext/gtk+/gen_atk.c:28: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:28: error: (Each undeclared identifier is reported only once
ext/gtk+/gen_atk.c:28: error: for each function it appears in.)
ext/gtk+/gen_atk.c: In function 'zim_Atk_relation_type_register':
ext/gtk+/gen_atk.c:39: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:39: error: too few arguments to function 'atk_relation_type_register'
ext/gtk+/gen_atk.c: In function 'zim_Atk_relation_type_for_name':
ext/gtk+/gen_atk.c:50: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:50: error: too few arguments to function 'atk_relation_type_for_name'
ext/gtk+/gen_atk.c: In function 'zim_Atk_state_type_for_name':
ext/gtk+/gen_atk.c:61: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:61: error: too few arguments to function 'atk_state_type_for_name'
ext/gtk+/gen_atk.c: In function 'zim_Atk_text_attribute_get_name':
ext/gtk+/gen_atk.c:72: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:72: error: too few arguments to function 'atk_text_attribute_get_name'
ext/gtk+/gen_atk.c: In function 'zim_Atk_text_attribute_get_value':
ext/gtk+/gen_atk.c:83: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:83: error: too few arguments to function 'atk_text_attribute_get_value'
ext/gtk+/gen_atk.c: In function 'zim_Atk_remove_focus_tracker':
ext/gtk+/gen_atk.c:94: error: too few arguments to function 'atk_remove_focus_tracker'
ext/gtk+/gen_atk.c: In function 'zim_Atk_focus_tracker_notify':
ext/gtk+/gen_atk.c:105: error: too few arguments to function 'atk_focus_tracker_notify'
ext/gtk+/gen_atk.c: In function 'zim_Atk_remove_global_event_listener':
ext/gtk+/gen_atk.c:116: error: too few arguments to function 'atk_remove_global_event_listener'
ext/gtk+/gen_atk.c: In function 'zim_Atk_remove_key_event_listener':
ext/gtk+/gen_atk.c:127: error: too few arguments to function 'atk_remove_key_event_listener'
ext/gtk+/gen_atk.c: In function 'zim_Atk_get_root':
ext/gtk+/gen_atk.c:138: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_Atk_get_toolkit_name':
ext/gtk+/gen_atk.c:149: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_Atk_get_toolkit_version':
ext/gtk+/gen_atk.c:160: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_Atk_role_for_name':
ext/gtk+/gen_atk.c:171: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:171: error: too few arguments to function 'atk_role_for_name'ext/gtk+/gen_atk.c: In function 'zim_AtkHyperlink_get_uri':
ext/gtk+/gen_atk.c:253: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:253: error: too few arguments to function 'atk_hyperlink_get_uri'
ext/gtk+/gen_atk.c: In function 'zim_AtkHyperlink_get_object':
ext/gtk+/gen_atk.c:266: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:266: error: too few arguments to function 'atk_hyperlink_get_object'
ext/gtk+/gen_atk.c: In function 'zim_AtkHyperlink_get_end_index':
ext/gtk+/gen_atk.c:279: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkHyperlink_get_start_index':
ext/gtk+/gen_atk.c:292: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkHyperlink_is_valid':
ext/gtk+/gen_atk.c:305: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkHyperlink_get_n_anchors':
ext/gtk+/gen_atk.c:318: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_name':
ext/gtk+/gen_atk.c:351: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_description':
ext/gtk+/gen_atk.c:364: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_parent':
ext/gtk+/gen_atk.c:377: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_n_accessible_children':
ext/gtk+/gen_atk.c:390: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_ref_accessible_child':
ext/gtk+/gen_atk.c:403: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:403: error: too few arguments to function 'atk_object_ref_accessible_child'
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_ref_relation_set':
ext/gtk+/gen_atk.c:416: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_role':
ext/gtk+/gen_atk.c:429: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_layer':
ext/gtk+/gen_atk.c:442: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_mdi_zorder':
ext/gtk+/gen_atk.c:455: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_ref_state_set':
ext/gtk+/gen_atk.c:468: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_get_index_in_parent':
ext/gtk+/gen_atk.c:481: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_set_name':
ext/gtk+/gen_atk.c:494: error: too few arguments to function 'atk_object_set_name'
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_set_description':
ext/gtk+/gen_atk.c:507: error: too few arguments to function 'atk_object_set_description'
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_set_parent':
ext/gtk+/gen_atk.c:520: error: too few arguments to function 'atk_object_set_parent'
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_set_role':
ext/gtk+/gen_atk.c:533: error: too few arguments to function 'atk_object_set_role'
ext/gtk+/gen_atk.c: In function 'zim_AtkObject_remove_property_change_handler':
ext/gtk+/gen_atk.c:546: error: too few arguments to function 'atk_object_remove_property_change_handler'
ext/gtk+/gen_atk.c: In function 'zim_AtkNoOpObject___construct':
ext/gtk+/gen_atk.c:609: error: too few arguments to function 'atk_no_op_object_new'
ext/gtk+/gen_atk.c: In function 'zim_AtkObjectFactory_create_accessible':
ext/gtk+/gen_atk.c:637: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:637: error: too few arguments to function 'atk_object_factory_create_accessible'
ext/gtk+/gen_atk.c: In function 'zim_AtkRegistry_set_factory_type':
ext/gtk+/gen_atk.c:698: error: too few arguments to function 'atk_registry_set_factory_type'
ext/gtk+/gen_atk.c: In function 'zim_AtkRegistry_get_factory_type':
ext/gtk+/gen_atk.c:711: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:711: error: too few arguments to function 'atk_registry_get_factory_type'
ext/gtk+/gen_atk.c: In function 'zim_AtkRegistry_get_factory':
ext/gtk+/gen_atk.c:724: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:724: error: too few arguments to function 'atk_registry_get_factory'
ext/gtk+/gen_atk.c: In function 'zim_AtkRelation_get_relation_type':
ext/gtk+/gen_atk.c:800: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkRelationSet_contains':
ext/gtk+/gen_atk.c:844: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:844: error: too few arguments to function 'atk_relation_set_contains'
ext/gtk+/gen_atk.c: In function 'zim_AtkRelationSet_remove':
ext/gtk+/gen_atk.c:857: error: too few arguments to function 'atk_relation_set_remove'
ext/gtk+/gen_atk.c: In function 'zim_AtkRelationSet_add':
ext/gtk+/gen_atk.c:870: error: too few arguments to function 'atk_relation_set_add'
ext/gtk+/gen_atk.c: In function 'zim_AtkRelationSet_get_n_relations':
ext/gtk+/gen_atk.c:883: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkRelationSet_get_relation':
ext/gtk+/gen_atk.c:896: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:896: error: too few arguments to function 'atk_relation_set_get_relation'
ext/gtk+/gen_atk.c: In function 'zim_AtkRelationSet_get_relation_by_type':
ext/gtk+/gen_atk.c:909: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:909: error: too few arguments to function 'atk_relation_set_get_relation_by_type'
ext/gtk+/gen_atk.c: In function 'zim_AtkRelationSet_add_relation_by_type':
ext/gtk+/gen_atk.c:922: error: too few arguments to function 'atk_relation_set_add_relation_by_type'
ext/gtk+/gen_atk.c: In function 'zim_AtkStateSet_is_empty':
ext/gtk+/gen_atk.c:997: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c: In function 'zim_AtkStateSet_add_state':
ext/gtk+/gen_atk.c:1010: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:1010: error: too few arguments to function 'atk_state_set_add_state'
ext/gtk+/gen_atk.c: In function 'zim_AtkStateSet_contains_state':
ext/gtk+/gen_atk.c:1036: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:1036: error: too few arguments to function 'atk_state_set_contains_state'
ext/gtk+/gen_atk.c: In function 'zim_AtkStateSet_remove_state':
ext/gtk+/gen_atk.c:1049: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:1049: error: too few arguments to function 'atk_state_set_remove_state'
ext/gtk+/gen_atk.c: In function 'zim_AtkStateSet_and_sets':
ext/gtk+/gen_atk.c:1062: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:1062: error: too few arguments to function 'atk_state_set_and_sets'
ext/gtk+/gen_atk.c: In function 'zim_AtkStateSet_or_sets':
ext/gtk+/gen_atk.c:1075: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:1075: error: too few arguments to function 'atk_state_set_or_sets'
ext/gtk+/gen_atk.c: In function 'zim_AtkStateSet_xor_sets':
ext/gtk+/gen_atk.c:1088: error: 'php_retval' undeclared (first use in this function)
ext/gtk+/gen_atk.c:1088: error: too few arguments to function 'atk_state_set_xor_sets'
make: *** [ext/gtk+/gen_atk.lo] Erreur 1
 [2009-01-05 16:31 UTC] bmajdak@php.net
to original poster:

does this still happen on newer PHP5?

also be sure to install php dev packages for your distro if you did not compile php5 yourself
 [2009-01-13 01:00 UTC] php-gtk-dev at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC