Re: atk 'missing symbols' problem since gnome-3-14



Many thanks for those suggestions guys. It didn't quite fix the problem but it did point me in the right direction. Here's what I've found so far....

The top of the (auto-generated) file 'atk-enum-types.c' currently looks like this:-

        /* Generated data (by glib-mkenums) */

        #include "atk.h"

I needed to change it to this for atk-2.14 to build correctly:-

        /* Generated data (by glib-mkenums) */

        #include "config.h"  // <--- I needed to add this line !!

        #include "atk.h"

Without that extra line, _ATK_EXTERN is simply defined as 'extern' when it needs to be '__declspec (dllexport) extern'. Adding that extra line fixes the problem whereby the built DLL wasn't exporting those particular symbols - BUT...

Unfortunately, quite a few of the source files in atkmm seem to #include <atk/atk-enum-types.h> directly. In most cases it doesn't cause any problems - but there are 3 or 4 source files from atkmm which refuse to compile now with that extra line added. I'll keep plugging away and see if I can find out why.

John


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]