I gather these Forums are preferred over the mailing list, so this is a duplicate of a list post.
Building svn 4677 on Fedora 13:
/usr/bin/ld: CMakeFiles/kdenlive.dir/colorpickerwidget.o: undefined
reference to symbol 'XQueryColor'
/usr/bin/ld: note: 'XQueryColor' is defined in DSO
/usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
No clue how to add libs in CMake.