Well may be is not the most constructive answer to your problem. But it would be wise to upgrade your ubuntu if you need bleeding edge packages like latest wxwidgets and codeblocks svn. I know dapper (6.06) is the LTS version but in few months the new LTS is coming (8.04) so it is becoming quite old. In case you upgrade to any version above 6.06 , here you can find repositories for latest wxwidgets and codeblocks nightly builds
http://lgp203.free.fr/spip/spip.php?article1 . That was an advice

On the other hand you can find previous svn versions of codeblocks .deb packages for ubuntu 6.06 (search in nightly builds forum, older revisions had .deb files attached for many ubuntu versions at their first post from killerbot)
For your actual problem with GLIBC don't know exactly how it is caused, but those glibc problems scary me. From what I have understand glibc is the gnu implementation of any ansi c + posix + unix interface towards the kernel. If latest codeblocks REALLY needs 2.4 and above then you can't do something more here because glibc is unupgradable (in case you try to upgrade you will probably break MANY packages in your linux). But if it is a wrong misconfiguration on codeblocks, saying that it needs 2.4 but it doesn't want something more than those provided by 2.3 then a developer can probably give you some info where to change this.