Le jeudi 24 février 2011 à 13:09 +0000, Hazel Russman a écrit : > When compiling a gtk program using pkg-config, I received the following error: > /usr/bin/ld: /usr/lib/gcc/i486-linux- > gnu/4.4.5/../../../../lib/libgdk-x11-2.0.so: undefined reference to symbol > 'XSetWMHints' > /usr/bin/ld: note: 'XSetWMHints' is defined in DSO /usr/lib/libX11.so.6 so try > adding it to the linker command line
It seems to me that libgdk-x11-2.0.so already links explicitly to libX11, so it is correct. The bug might be in your code, do you use XSetWMHints directly? -- .''`. : :' : “You would need to ask a lawyer if you don't know `. `' that a handshake of course makes a valid contract.” `- -- J???rg Schilling -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org