I then got to the final link step and there's just one undefined reference: src/print.c:118: undefined reference to `sp_module_new'
'sp_module_new' is defined in module.c: static SPModule * sp_module_new (GType type, SPRepr *repr);
Okay, I got it to compile. My memory of 'static' was vague, I was thinking of variables, but then checked and found that in front of a function definition it makes it visible in the current file only. So, I removed the 'static' prefix and moved the definition to 'modules.h' and it compiled.
...but, why was it static anyway? Have I broken something by remving the 'static'?
Regards, Barry Kauler ________________________________________________
Dodo - an Official Sponsor of the 2006 FORMULA 1 (tm) Foster's Australian Grand Prix