Ok what that _ZSt4cerr means is that std::cerr is undefined, so any other standard function should screw up like this too, (cout, cin, etc.) I think it has something to do with two stdc++ libraries being used or something, I really don't know though.