首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C语言 >

linux so compile problem解决思路

2013-07-01 
linux so compile problemhello everyone,i have a problem in linux shared library compile problem. i

linux so compile problem
hello everyone,
i have a problem in linux shared library compile problem. i have writen some functions which include mysql header file. now i want to compile these functions to a shared library, indeed it does. however, when i write a test function which includes the shared library i made it says undefine reference "mysql_init" , "mysql_real_connect".
could someone tell me why?
[解决办法]
You should link the relative lib file of mysql_init ... 

热点排行