This compiles and links fine for me. Something is wrong with your install, on whatever unspecified host you are using. Did you run 'make check-c++', and what results did you see? When you get testresults that indicate your build is ok, and still have problems, re-post. thanks, benjamin