解决办法:undefined reference to symbol 'shm_open@@GLIBC_2.2.5'

  这错误也够诡异的.怎么办?链接的时候加上:

-lrt

  祝大家工作顺利.

猜你喜欢

转载自blog.csdn.net/quantum7/article/details/85006697