HELP!!! undefined reference operator <<

I’m trying to overload the << and >> operators for my objects, but i keep
getting undefined referernce operator << and >> linking errors.
i think i have to link with the iostream library, but when i add
‘-liostream’, it says it isn’t found…what’s going on??