problem with missing link to libX11

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 .../ so try adding
it to the linker command line
  .../ could not read symbols: Invalid operation

The problem can be fixed by adding $(X_LIBS) to the *_LDADD variable of, see bug #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?


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