[转]gcc链接静态库成功,g++链接静态库不成功

原文连接:http://xiaomage.blog.51cto.com/293990/72755 linux下用g++编译代码,在链接一个c的静态库的时候,老是提示: undefined reference to`错误,找不到库函数。   main.c:(.text+0x15): undefined reference to `MemoryContextInit()' main.c:(.text+
相关文章
相关标签/搜索