GNOME Bugzilla – Bug 336359
undefined reference to `cspi_accessible_is_a'
Last modified: 2006-04-12 23:04:44 UTC
jhbuilding with the 2.14 module set
gok-spy.o: In function `gok_spy_accessible_is_okay':
/cvs/gnome/gok/gok/gok-spy.c:276: undefined reference to `cspi_accessible_is_a'
collect2: ld returned 1 exit status
works for me on jhbuild with 2.14 moduleset...
I confirm the same problem (jhbuild, 2.16 moduleset).
$ find at-spi/ -name '*.h' | xargs grep cspi_accessible_is_a
at-spi/cspi/spi-private.h:SPIBoolean cspi_accessible_is_a (Accessible *accessible,
This is gcc 3.3.5 (default debian sarge version) running on amd-64.
Bill, any ideas here?
Bill is gone for a few months.
I had a look at this and the problem looks like it is is caused by the fix last week for bug #313186 which prevents what should be private functions being exported. This change is in at-spi 1.7.7.
Should gok be calling cspi_accessible_is_a or is there something else it should be calling instead?
Thanks Padraig. I don't know of similar exposed API for tested whether a pointer is a valid accessible*. This code path is currently unused so I'm stripping it out and preparing a patch.
Created attachment 62669 [details] [review]
proposed patch with offensive non-public api call removed.
Created attachment 62670 [details] [review]
uploaded wrong patch - this should be it.
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.
Could we get a new tarball release with this fix for 2.14.1?
I can't roll one - sorry. In the middle of updating my system.
Would it be okay if someone else does a tarball for you? We're releasing GNOME 2.14.1 today, and releasing with a non-compilable gok version is not really great :/