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 667905 - fails to build: libcanberra undefined references
fails to build: libcanberra undefined references
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: general
trunk
Other Linux
: Normal critical
: ---
Assigned To: gnome-games-general-maint
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-14 07:42 UTC by Jeremy Bicha
Modified: 2012-11-14 01:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ldd-output (4.04 KB, text/plain)
2012-01-29 22:26 UTC, Jeremy Bicha
Details

Description Jeremy Bicha 2012-01-14 07:42:06 UTC
I'm having trouble building gnome-games trunk. I guess this is a result of http://git.gnome.org/browse/gnome-games/commit/?id=7b570dd2213e8bc95711f72a4143461e82d88e15

make[2]: Entering directory `/home/jeremy/devel/gnome-games/upstream2/gnobots2'
Making all in src
make[3]: Entering directory `/home/jeremy/devel/gnome-games/upstream2/gnobots2/src'
  CCLD   gnobots2
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libcanberra-gtk3.so: error: undefined reference to 'XFree'
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libcanberra-gtk3.so: error: undefined reference to 'XGetWindowProperty'
collect2: ld returned 1 exit status
make[3]: *** [gnobots2] Error 1
make[3]: Leaving directory `/home/jeremy/devel/gnome-games/upstream2/gnobots2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jeremy/devel/gnome-games/upstream2/gnobots2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jeremy/devel/gnome-games/upstream2'
make: *** [all] Error 2

I have libcanberra-gtk3-dev installed and I'm trying to build using Ubuntu 12.04 amd64. Let me know if you need more logs or info. I had the same problem with gnect and iagno.

Jeremy
Comment 1 Jeremy Bicha 2012-01-17 06:30:47 UTC
I am able to build from the 3.3.4 release tarball just fine, but building from git doesn't work for me. I run autogen.sh then make.
Comment 2 Thomas Andersen 2012-01-17 15:56:29 UTC
I works fine here. Both in jhbuild and in a fresh clone + autogen.sh + make
Comment 3 Thomas Andersen 2012-01-17 15:57:44 UTC
on 32bit
Comment 4 Robert Ancell 2012-01-21 07:14:50 UTC
It looks like a problem with the way libcanberra is linked - it's looking for the XFree and XGetWindowProperty symbols which we don't use anywhere in GNOME Games.  Does ldd /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libcanberra-gtk3.so show it correctly linking to libX11?
Comment 5 Jeremy Bicha 2012-01-29 22:26:25 UTC
Created attachment 206385 [details]
ldd-output

Yes, it look likes libcanberra-gtk3 is linked against libX11

Robert, are you running Precise or something else?
Comment 6 Robert Ancell 2012-01-30 06:18:02 UTC
I'm running Precise.
Comment 7 Robert Ancell 2012-11-14 01:22:33 UTC
Guessing you don't have this problem anymore Jeremy? Closing as we no longer have a GNOME Games module.