It just misses linking to X11. I'm fixing this in the upcoming Debian package (which is based on Ubuntu's package), patch attached here in any case.
** Patch added: "03-fix_libX11_linkage.patch" https://bugs.launchpad.net/ubuntu/+source/codeblocks/+bug/697023/+attachment/1799017/+files/03-fix_libX11_linkage.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/697023 Title: [FTBFS] Package codeblocks 10.05-0ubuntu1 in natty -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs