make failed on RedHat 7.0

From: Date: Thu, 01 Mar 2001 19:04:36 +0000
Subject: make failed on RedHat 7.0
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-84@lists.php.net to get a copy of this message
Hey all, Don't know if you fixed this already or not, didn't see anything in the list archives about it. platform: RedHat 7.0 PHP version: 4.0.4pl1 The 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_zval I'm not a real C hacker, so I have no idea how to go about finding out what causes these errors, much less how to fix them. -- Paul Mindeman System Administrator BTInet, Your Gateway To The World! mindeman@btigate.com

« previous php.gtk (#84) next »