What is the status of the patch in bug report 902? I tried the patch with the latest GIT and gcc 4.7. The build still fails with the same error: collect2: error: ld returned 1 exit status /usr/lib/gcc/i486-slackware-linux/4.7.0/../../../../i486-slackware-linux/bin/ld: CMakeFiles/ksnapshot.dir/windowgrabber.cpp.o: undefined reference to symbol 'XShapeQueryExtension' Darrell