開(kāi)通VIP,暢享免費電子書(shū)等14項超值服
首頁(yè)
好書(shū)
留言交流
下載APP
聯(lián)系客服
2011.09.17
在編譯arm-linux程序時(shí),莫名的出現 undefined reference to rpl_malloc
google搜索得configure的時(shí)候加上--with-gnu-ld和config.h里加上#undefine rpl_malloc都不能解決問(wèn)題。
繼續搜索,有位大俠指出config.h.in里定義了
#undef malloc#undef realloc
查看config.h.in 果然如此。
屏蔽掉以上二句,OK
微信登錄中...請勿關(guān)閉此頁(yè)面