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
你有什麼不順心的想法?
感謝