Hi Dex,
You probably missed the actual error line somewhere. They can be quite tricky to locate, I usually end up searching the terminal output for the phrase "error:". GCC will not terminate that way for warnings.
Likely that is a baghira error, not a KDE one. Look at the gcc4 porting guide, gcc4.x is much stricter about certain things than gcc3.x was. It should tell you exactly what it choked on, though.
If you get it to compile, do you want to try packaging it? I'd be happy to accept it into the kde3-maintainers PPA...
Tim
Been trying to make sense of the debian package maintainer guide on several occasions and even built a deb once but only by following instructions. Most of the time I had a good idea what I was doing but I learned Linux on Slackware where creating a package wasn't much more complicated than changing the desktop background...
If you happen to have a guide "how to create debs without taking a high school semester" I'm all in.
Dex