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

你可能感兴趣的:(undefined reference to `rpl_malloc')