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

posted on 2012-09-21 21:36  oceanking  阅读(3647)  评论(0编辑  收藏  举报