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即可

原文地址:https://www.cnblogs.com/oceanking/p/2697519.html