After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 336359 - undefined reference to `cspi_accessible_is_a'
undefined reference to `cspi_accessible_is_a'
Product: gok
Classification: Deprecated
Component: build
Other Linux
: Normal blocker
: ---
Assigned To: David Bolter
David Bolter
Depends on:
Reported: 2006-03-28 15:34 UTC by Christian Kirbach
Modified: 2006-04-12 23:04 UTC
See Also:
GNOME target: ---
GNOME version: ---

proposed patch with offensive non-public api call removed. (1.24 KB, patch)
2006-04-03 13:56 UTC, David Bolter
none Details | Review
uploaded wrong patch - this should be it. (1.13 KB, patch)
2006-04-03 13:58 UTC, David Bolter
committed Details | Review

Description Christian Kirbach 2006-03-28 15:34:08 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
Comment 1 Luis Menina 2006-03-29 00:15:16 UTC
works for me on jhbuild with 2.14 moduleset...
Comment 2 Frederic Peters 2006-03-29 08:23:50 UTC
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.
Comment 3 David Bolter 2006-03-30 15:13:04 UTC
Bill, any ideas here?
Comment 4 padraig.obriain 2006-04-03 09:58:31 UTC
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?

Comment 5 David Bolter 2006-04-03 13:53:19 UTC
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.
Comment 6 David Bolter 2006-04-03 13:56:05 UTC
Created attachment 62669 [details] [review]
proposed patch with offensive non-public api call removed.
Comment 7 David Bolter 2006-04-03 13:58:43 UTC
Created attachment 62670 [details] [review]
uploaded wrong patch - this should be it.
Comment 8 David Bolter 2006-04-03 14:01:24 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.
Comment 9 Elijah Newren 2006-04-11 16:15:39 UTC
Could we get a new tarball release with this fix for 2.14.1?
Comment 10 David Bolter 2006-04-11 18:22:14 UTC
I can't roll one - sorry. In the middle of updating my system.
Comment 11 Vincent Untz 2006-04-12 12:24:46 UTC
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 :/