So, I'm trying to backport GTK2 from 7.7 cvs to 7.6.64 (also 7.6.50), and it won't load the image_module in global.pre, INIT{}:
INIT { #ifdef DYNAMIC_MODULE image_color_program = PIKE_MODULE_IMPORT(Image, image_color_program); if(!image_color_program) Pike_error("Could not load Image module.\n");
image_program = PIKE_MODULE_IMPORT(Image, image_program); if(!image_program) Pike_error("Could not load Image module.\n"); #endif }
It apparently works with 7.7, but not 7.6. Did something change with dynamic module loading?
What should I do instead? I noticed in some other modules it used SAFE_APPLY_MASTER() and a bunch of other statements...
Those symbols are not exported from the Image module in Pike 7.6. However, since we'll probably release Pike 7.8 once we feel GTK2 is "done" I personally don't see that much of a point to port it to Pike 7.6.
On Wed, 2006-01-11 at 19:40 +0000, Martin Nilsson (Opera) @ Pike (-) developers forum wrote:
Those symbols are not exported from the Image module in Pike 7.6. However, since we'll probably release Pike 7.8 once we feel GTK2 is "done" I personally don't see that much of a point to port it to Pike 7.6.
So if I want to use all the new updates, I should use 7.7, right? Okay, I can do that. It's just that I'm writing a program using GTK2, and I was going to update modules.gotpike.org.
pike-devel@lists.lysator.liu.se