problem with missing link to libX11
Enrico Minack <[email protected]> Mon, 03 Jan 2011 19:14:22 +0100
| Newsgroups | gmane.comp.gnome.devel |
|---|---|
| Message-ID | <1294078462.16659.4.camel@l3s-mobile> |
Hi Gnome developers, I recently came across a strange compilation problem where multiple projects fail to compile with the same error? They compiled earlier, and I have a fresh installation. The error is: /usr/bin/ld: ...: undefined reference to symbol '...' /usr/bin/ld: note: '...' is defined in DSO .../libX11.so so try adding it to the linker command line .../libX11.so: could not read symbols: Invalid operation The problem can be fixed by adding $(X_LIBS) to the *_LDADD variable of Makefile.am, see bug #638510: https://bugzilla.gnome.org/show_bug.cgi?id=638510 Projects with this problem are (respective branch): gnome-applets (master) gnome-panel (gtk3) libwnck (gtk3) I am using Ubuntu 11.04 (development branch). Any idea? Cheers, Enrico