hi, thanks for the reply -- I can now build correclty using your makefile. However, I also found another bug: it doesn't compile correctly with g++ 4.5 (it compiles OK with g++ 4.4). I'll file that bug separately. Thanks, -Miles -- Cat is power. Cat is peace.