将tslib与埃g+;一起使用时出现Qt编译错误+;

将tslib与埃g+;一起使用时出现Qt编译错误+;,qt,embedded,touchscreen,angstrom-linux,Qt,Embedded,Touchscreen,Angstrom Linux,在上面的场景中,我得到了以下编译错误。有人能告诉我为什么吗?我使用以下文件作为我的指导方针 A找到了许多关于这个问题的参考资料,并提出了解决方案的建议。问题在于,由于某种原因,Autoconf配置脚本在查找malloc时遇到问题,并试图返回到rpl\u malloc。有几个建议可以解决这个问题: 1.)在运行configure之前,定义ac\u cv\u func\u malloc\u 0\u nonnull=yes环境变量,例如,通过运行configure(假设是bash shell),如下

在上面的场景中,我得到了以下编译错误。有人能告诉我为什么吗?我使用以下文件作为我的指导方针

A找到了许多关于这个问题的参考资料,并提出了解决方案的建议。问题在于,由于某种原因,Autoconf配置脚本在查找
malloc
时遇到问题,并试图返回到
rpl\u malloc
。有几个建议可以解决这个问题:

1.)在运行
configure
之前,定义
ac\u cv\u func\u malloc\u 0\u nonnull=yes
环境变量,例如,通过运行configure(假设是bash shell),如下所示:

ac\u cv\u func\u malloc\u 0\u nonnull=yes./configure

2.)手动更改配置脚本,以注释掉
rpl\u malloc problem AC\u FUNC\u malloc
行,方法是在该行前面加上

(参考资料:)

ts_test.o: In function `main':
ts_test.c:(.text+0x1d8): undefined reference to `rpl_malloc'
fbutils.o: In function `open_framebuffer':
fbutils.c:(.text+0xa7c): undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make[2]: *** [ts_test] Error 1
ts_harvest.o: In function `main':
ts_harvest.c:(.text+0x5d0): undefined reference to `rpl_malloc'
fbutils.o: In function `open_framebuffer':
fbutils.c:(.text+0xa7c): undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make[2]: *** [ts_harvest] Error 1
make[2]: Leaving directory `/home/thwijeth/Downloads/tslib-1.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thwijeth/Downloads/tslib-1.0'
make: *** [all] Error 2
ts_test.o: In function `main':
ts_test.c:(.text+0x1d8): undefined reference to `rpl_malloc'
fbutils.o: In function `open_framebuffer':
fbutils.c:(.text+0xa7c): undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make[2]: *** [ts_test] Error 1
ts_harvest.o: In function `main':
ts_harvest.c:(.text+0x5d0): undefined reference to `rpl_malloc'
fbutils.o: In function `open_framebuffer':
fbutils.c:(.text+0xa7c): undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make[2]: *** [ts_harvest] Error 1
make[2]: Leaving directory `/home/thwijeth/Downloads/tslib-1.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thwijeth/Downloads/tslib-1.0'
make: *** [all] Error 2
ac_cv_func_malloc_0_nonnull=yes ./configure <your configure options>