当前位置: 技术问答>linux和unix
运行gcc -g tdetail.cpp -o bugged 有如下错误是何原因?
来源: 互联网 发布时间:2015-11-26
本文导语: 运行gcc -g tdetail.cpp -o bugged 有如下错误是何原因?{ [jnet] gcc -g tdetail.cpp -o bugged ld: 0711-317 ERROR: Undefined symbol: std::cout ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream& std::operator
运行gcc -g tdetail.cpp -o bugged 有如下错误是何原因?{
[jnet] gcc -g tdetail.cpp -o bugged
ld: 0711-317 ERROR: Undefined symbol: std::cout
ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream& std::operator
[jnet] gcc -g tdetail.cpp -o bugged
ld: 0711-317 ERROR: Undefined symbol: std::cout
ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream& std::operator