[轉]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+
相關文章
相關標籤/搜索