A few days ago, I successfully compiled CB under FreeBSD 6.0. I know a bug that the compiling can be affected by the old library of the installed CB. So before compiling it, it is better deleting the library. I have a patch that hasn't been submitted. Sorry for that.
Hope this is helpful for you.