Re: make failed on RedHat 7.0
| From: | Paul Mindeman | Date: | Fri, 02 Mar 2001 16:53:01 +0000 |
| Subject: | Re: make failed on RedHat 7.0 | ||
| References: | 1 2 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-126@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
On Thu, 01 Mar 2001, Paul Mindeman wrote:Just to follow up, I've installed the latest cvs of PHP, and it works fine now. Great work! -- Paul Mindeman System Administrator BTInet, Your Gateway To The Intenet! mindeman@btigate.comThe error I got during make was: php_gtk_types.c: In function `php_if_gdk_window_new_gc': php_gtk_types.c:313: too many arguments to function `zend_hash_get_current_key_ex' make[2]: *** [php_gtk_types.slo] Error 1 make[2]: Leaving directory `/home/mindeman/download/php-gtk/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mindeman/download/php-gtk/src' make: *** [all-recursive] Error 1 Poking into php_gtk_types.c, I found that there was an extra NULL parameter added on to the call to zend_hash_get_current_key_ex. Taking out this extra parameter allowed php-gtk to build normally. Now that it works, I get this error whenever I use the scripts in the test directory: php: error while loading shared libraries: /usr/local/lib/php/extensions/no-debug-non-zts-20001214/php_gtk.so: undefined symbol: php_array_merge This occurs whenever I click on a button. I get this error whenever I close a window: php: error while loading shared libraries: /usr/local/lib/php/extensions/no-debug-non-zts-20001214/php_gtk.so: undefined symbol: add_property_zvalHmm, looks like I was too optimistic in saying that you can try to use older versions of PHP. I guess those functions were added right after 4.0.4pl1 release, so you will probably need to use something later than that. Good news is that 4.0.5RC1 should be out any day now... -Andrei * If Bill Gates had a nickel for every time Windows crashed.. Oh, wait.. *