dyld: /usr/local/bin/TTOPOLOGY Undefined symbols:[snip]
__ZSt3cin
__ZSt4cout
__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
It looks like you're trying to link a C++ program with gcc instead of with g++. Could that be it?
Dave
PGP.sig
Description: This is a digitally signed message part