使用gcc编译,产生错误如下:

/usr/bin/ld: gh_datacenter.o: undefined reference to symbol '_ZNSaIcED1Ev@@GLIBCXX_3.4'
//usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

  怎么办?换成g++即可.