undefined reference to `rpl_malloc'

编译tslib,执行make时提示undefined reference to `rpl_malloc'

是因为config.h.in文件中有

/* Define to rpl_malloc if the replacement function should be used. */
#undef malloc

 

把#undef malloc注释掉重新make即可

请使用浏览器的分享功能分享到微信等