2011-12-07 34 views
1

我想在ARM系统上嵌入tslib;我交叉编译了这个库,除非是测试脚本,否则它似乎没问题。事实上,他们根本不能在我的手臂平台上工作,因为他们试图将库与编译平台的路径联系起来。tslib:交叉编译测试脚本

这里是我的例子:我从/ home/jdl/tslib编译;手臂系统上的错误:

/home/ts_calibrate: cd: line 1: can't cd to /home/jdl/tslib-1.0/tests 
/home/ts_calibrate: eval: line 1: /usr/local/lib/star81xx-lsdk/tools/usr/bin/arm-linux-uclibc-gcc: not found 

第二行是我的工具链;不明白为什么脚本正在寻找工具链,因为它应该被编译?

我看到有在编译期间一些相关链接:

/bin/sh ../libtool --tag=CC --mode=link /usr/local/lib/star81xx-lsdk/tools/usr/bin/arm-linux-uclibc-gcc -DGCC_HASCLASSVISIBILITY --sysroot=/usr/local/lib/star81xx-lsdk/tools --sysroot=/usr/local/lib/star81xx-lsdk/tools -o ts_harvest ts_harvest.o fbutils.o testutils.o font_8x8.o font_8x16.o ../src/libts.la -ldl 
libtool: link: /usr/local/lib/star81xx-lsdk/tools/usr/bin/arm-linux-uclibc-gcc -DGCC_HASCLASSVISIBILITY --sysroot=/usr/local/lib/star81xx-lsdk/tools --sysroot=/usr/local/lib/star81xx-lsdk/tools -o .libs/ts_harvest ts_harvest.o fbutils.o testutils.o font_8x8.o font_8x16.o ../src/.libs/libts.so -ldl 

你有什么不顺心的想法?

感谢

回答

0

对不起,浪费时间,我发现我的答案只是发布后> <有一个的.libs目录到包含测试软胎的好版本的测试目录。 ;)