本文主要是介绍tslib-1.21 的配置编译安装,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1.解压后目录如下:
2.配置
执行命令:./configure --host=arm-linux-gnueabihf --prefix=/
book@100ask:~/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21$ ./configure --host=arm-linux-gnueabihf --prefix=/ checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-gnueabihf-strip... arm-linux-gnueabihf-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-gnueabihf
checking for arm-linux-gnueabihf-gcc... arm-linux-gnueabihf-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gnueabihf-gcc accepts -g... yes
checking for arm-linux-gnueabihf-gcc option to accept ISO C89... none needed
checking whether arm-linux-gnueabihf-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of arm-linux-gnueabihf-gcc... none
checking how to run the C preprocessor... arm-linux-gnueabihf-gcc -E
checking whether the C compiler supports -fvisibility=hidden... yes
checking whether to use -fvisibility=hidden... yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-linux-gnueabihf-gcc... /home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/bin/ld
checking if the linker (/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-nm -B
checking the name lister (/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to arm-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/bin/ld option to reload object files... -r
checking for arm-linux-gnueabihf-objdump... arm-linux-gnueabihf-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-gnueabihf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-gnueabihf-ar... arm-linux-gnueabihf-ar
checking for archiver @FILE support... @
checking for arm-linux-gnueabihf-strip... (cached) arm-linux-gnueabihf-strip
checking for arm-linux-gnueabihf-ranlib... arm-linux-gnueabihf-ranlib
checking command to parse /home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-nm -B output from arm-linux-gnueabihf-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for arm-linux-gnueabihf-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-linux-gnueabihf-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-linux-gnueabihf-gcc option to produce PIC... -fPIC -DPIC
checking if arm-linux-gnueabihf-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-linux-gnueabihf-gcc static flag -static works... yes
checking if arm-linux-gnueabihf-gcc supports -c -o file.o... yes
checking if arm-linux-gnueabihf-gcc supports -c -o file.o... (cached) yes
checking whether the arm-linux-gnueabihf-gcc linker (/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... cross
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dlopen in -ldl... (cached) yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking for sys/types.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking linux/spi/cy8mrln.h usability... no
checking linux/spi/cy8mrln.h presence... no
checking for linux/spi/cy8mrln.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... (cached) yes
checking for uint16_t... yes
checking for uint8_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether arm-linux-gnueabihf-gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for munmap... yes
checking for select... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strtoul... yes
checking for strtol... yes
checking for strsep... yes
checking for arm-linux-gnueabihf-pkg-config... no
checking for pkg-config... /home/book/100ask_imx6ull-sdk/ToolChain/arm-buildroot-linux-gnueabihf_sdk-buildroot/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether debounce module is requested... yes
checking whether dejitter module is requested... yes
checking whether evthres module is requested... yes
checking whether iir module is requested... yes
checking whether linear module is requested... yes
checking whether median module is requested... yes
checking whether pthres module is requested... yes
checking whether skip module is requested... yes
checking whether lowpass module is requested... yes
checking whether invert module is requested... yes
checking whether variance module is requested... yes
checking whether input module is requested... yes
checking whether touchkit module is requested... yes
checking whether waveshare module is requested... yes
checking whether input-evdev module is requested... no
checking whether tatung module is requested... no
checking whether ucb1x00 module is requested... no
checking whether mk712 module is requested... no
checking whether h3600 module is requested... no
checking whether dmc module is requested... no
checking whether linear-h2200 module is requested... no
checking whether corgi module is requested... no
checking whether collie module is requested... no
checking whether arctic2 module is requested... no
checking whether dmc_dus3000 module is requested... no
checking whether cy8mrln-palmpre module is requested... no
checking whether galax module is requested... no
checking whether one-wire-ts-input module is requested... no
checking where to place modules... ${libdir}/ts
checking whether to enable debugging... no
checking whether to enable tools... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating etc/Makefile
config.status: creating plugins/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating tools/Makefile
config.status: creating doc/Makefile
config.status: creating tslib.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
book@100ask:~/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21$
3.编译 ,执行命令:make
book@100ask:~/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21$ make
make all-recursive
make[1]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21'
Making all in etc
make[2]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/etc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/etc'
Making all in src
make[2]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/src'CC ts_attach.loCC ts_close.loCC ts_config.loCC ts_error.loCC ts_fd.loCC ts_load_module.loCC ts_open.loCC ts_parse_vars.loCC ts_read.loCC ts_read_raw.loCC ts_option.loCC ts_setup.loCC ts_version.loCC ts_config_filter.loCC ts_get_eventpath.loCC ts_strsep.loCCLD libts.la
make[2]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/src'
Making all in plugins
make[2]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins'CC linear.loCCLD linear.laCC dejitter.loCCLD dejitter.laCC variance.loCCLD variance.laCC median.loCCLD median.laCC pthres.loCCLD pthres.laCC debounce.lo
debounce.c: In function 'debounce_read':
debounce.c:84:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]if (dt < p->drop_threshold)^
debounce.c: In function 'debounce_read_mt':
debounce.c:181:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]if (dt < p->drop_threshold)^CCLD debounce.laCC skip.loCCLD skip.laCC invert.loCCLD invert.laCC iir.loCCLD iir.laCC evthres.loCCLD evthres.laCC lowpass.loCCLD lowpass.laCC input-raw.loCCLD input.laCC touchkit-raw.loCCLD touchkit.laCC waveshare-raw.loCCLD waveshare.la
make[2]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins'
Making all in tests
make[2]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tests'CC ts_test.oCC testutils.oCC font_8x8.oCC font_8x16.oCC fbutils-linux.oCCLD ts_testCC ts_test_mt.oCCLD ts_test_mtCC ts_calibrate.oCC ts_calibrate_common.oCCLD ts_calibrateCC ts_conf.oCCLD ts_confCC ts_print.oCCLD ts_printCC ts_print_mt.oCCLD ts_print_mtCC ts_print_raw.oCCLD ts_print_rawCC ts_harvest.oCCLD ts_harvestCC ts_finddev.oCCLD ts_finddevCC ts_verify.oCCLD ts_verify
make[2]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tests'
Making all in tools
make[2]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tools'CC ts_uinput.oCCLD ts_uinput
make[2]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tools'
Making all in doc
make[2]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/doc'
make[2]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21'
make[2]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21'
make[1]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21'
book@100ask:~/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21$
4.安装,执行命令:make install DESTDIR=$PWD/tmp
book@100ask:~/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21$ make install DESTDIR=$PWD/tmp
Making install in etc
make[1]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/etc'
make[2]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/etc'/bin/mkdir -p '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//etc'/usr/bin/install -c -m 644 ts.conf '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//etc'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/etc'
make[1]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/etc'
Making install in src
make[1]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/src'
make[2]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/src'/bin/mkdir -p '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib'/bin/bash ../libtool --mode=install /usr/bin/install -c libts.la '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib'
libtool: install: /usr/bin/install -c .libs/libts.so.0.10.3 /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/libts.so.0.10.3
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib && { ln -s -f libts.so.0.10.3 libts.so.0 || { rm -f libts.so.0 && ln -s libts.so.0.10.3 libts.so.0; }; })
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib && { ln -s -f libts.so.0.10.3 libts.so || { rm -f libts.so && ln -s libts.so.0.10.3 libts.so; }; })
libtool: install: /usr/bin/install -c .libs/libts.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/libts.la
libtool: warning: remember to run 'libtool --finish //lib'/bin/mkdir -p '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//include'/usr/bin/install -c -m 644 tslib.h '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//include'
make[2]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/src'
make[1]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/src'
Making install in plugins
make[1]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins'
make[2]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins'/bin/mkdir -p '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts'/bin/bash ../libtool --mode=install /usr/bin/install -c linear.la dejitter.la variance.la median.la pthres.la debounce.la skip.la invert.la iir.la evthres.la lowpass.la input.la touchkit.la waveshare.la '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts'
libtool: warning: relinking 'linear.la'
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins; /bin/bash "/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/libtool" --silent --tag CC --mode=relink arm-linux-gnueabihf-gcc -DTS_POINTERCAL=\"//etc/pointercal\" -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -fPIC -module -avoid-version -o linear.la -rpath //lib/ts linear.lo ../src/libts.la -ldl -inst-prefix-dir /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp)
libtool: install: /usr/bin/install -c .libs/linear.soT /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/linear.so
libtool: install: /usr/bin/install -c .libs/linear.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/linear.la
libtool: warning: relinking 'dejitter.la'
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins; /bin/bash "/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/libtool" --silent --tag CC --mode=relink arm-linux-gnueabihf-gcc -DTS_POINTERCAL=\"//etc/pointercal\" -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -fPIC -module -avoid-version -o dejitter.la -rpath //lib/ts dejitter.lo ../src/libts.la -ldl -inst-prefix-dir /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp)
libtool: install: /usr/bin/install -c .libs/dejitter.soT /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/dejitter.so
libtool: install: /usr/bin/install -c .libs/dejitter.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/dejitter.la
libtool: warning: relinking 'variance.la'
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins; /bin/bash "/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/libtool" --silent --tag CC --mode=relink arm-linux-gnueabihf-gcc -DTS_POINTERCAL=\"//etc/pointercal\" -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -fPIC -module -avoid-version -o variance.la -rpath //lib/ts variance.lo ../src/libts.la -ldl -inst-prefix-dir /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp)
libtool: install: /usr/bin/install -c .libs/variance.soT /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/variance.so
libtool: install: /usr/bin/install -c .libs/variance.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/variance.la
libtool: warning: relinking 'median.la'
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins; /bin/bash "/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/libtool" --silent --tag CC --mode=relink arm-linux-gnueabihf-gcc -DTS_POINTERCAL=\"//etc/pointercal\" -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -fPIC -module -avoid-version -o median.la -rpath //lib/ts median.lo ../src/libts.la -ldl -inst-prefix-dir /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp)
libtool: install: /usr/bin/install -c .libs/median.soT /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/median.so
libtool: install: /usr/bin/install -c .libs/median.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/median.la
libtool: warning: relinking 'pthres.la'
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins; /bin/bash "/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/libtool" --silent --tag CC --mode=relink arm-linux-gnueabihf-gcc -DTS_POINTERCAL=\"//etc/pointercal\" -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -fPIC -module -avoid-version -o pthres.la -rpath //lib/ts pthres.lo ../src/libts.la -ldl -inst-prefix-dir /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp)
libtool: install: /usr/bin/install -c .libs/pthres.soT /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/pthres.so
libtool: install: /usr/bin/install -c .libs/pthres.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/pthres.la
libtool: warning: relinking 'debounce.la'
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins; /bin/bash "/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/libtool" --silent --tag CC --mode=relink arm-linux-gnueabihf-gcc -DTS_POINTERCAL=\"//etc/pointercal\" -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -fPIC -module -avoid-version -o debounce.la -rpath //lib/ts debounce.lo ../src/libts.la -ldl -inst-prefix-dir /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp)
libtool: install: /usr/bin/install -c .libs/debounce.soT /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/debounce.so
libtool: install: /usr/bin/install -c .libs/debounce.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/debounce.la
libtool: warning: relinking 'skip.la'
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins; /bin/bash "/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/libtool" --silent --tag CC --mode=relink arm-linux-gnueabihf-gcc -DTS_POINTERCAL=\"//etc/pointercal\" -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -fPIC -module -avoid-version -o skip.la -rpath //lib/ts skip.lo ../src/libts.la -ldl -inst-prefix-dir /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp)
libtool: install: /usr/bin/install -c .libs/skip.soT /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/skip.so
libtool: install: /usr/bin/install -c .libs/skip.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/skip.la
libtool: warning: relinking 'invert.la'
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins; /bin/bash "/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/libtool" --silent --tag CC --mode=relink arm-linux-gnueabihf-gcc -DTS_POINTERCAL=\"//etc/pointercal\" -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -fPIC -module -avoid-version -o invert.la -rpath //lib/ts invert.lo ../src/libts.la -ldl -inst-prefix-dir /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp)
libtool: install: /usr/bin/install -c .libs/invert.soT /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/invert.so
libtool: install: /usr/bin/install -c .libs/invert.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/invert.la
libtool: warning: relinking 'iir.la'
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins; /bin/bash "/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/libtool" --silent --tag CC --mode=relink arm-linux-gnueabihf-gcc -DTS_POINTERCAL=\"//etc/pointercal\" -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -fPIC -module -avoid-version -o iir.la -rpath //lib/ts iir.lo ../src/libts.la -ldl -inst-prefix-dir /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp)
libtool: install: /usr/bin/install -c .libs/iir.soT /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/iir.so
libtool: install: /usr/bin/install -c .libs/iir.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/iir.la
libtool: warning: relinking 'evthres.la'
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins; /bin/bash "/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/libtool" --silent --tag CC --mode=relink arm-linux-gnueabihf-gcc -DTS_POINTERCAL=\"//etc/pointercal\" -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -fPIC -module -avoid-version -o evthres.la -rpath //lib/ts evthres.lo ../src/libts.la -ldl -inst-prefix-dir /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp)
libtool: install: /usr/bin/install -c .libs/evthres.soT /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/evthres.so
libtool: install: /usr/bin/install -c .libs/evthres.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/evthres.la
libtool: warning: relinking 'lowpass.la'
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins; /bin/bash "/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/libtool" --silent --tag CC --mode=relink arm-linux-gnueabihf-gcc -DTS_POINTERCAL=\"//etc/pointercal\" -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -fPIC -module -avoid-version -o lowpass.la -rpath //lib/ts lowpass.lo ../src/libts.la -ldl -inst-prefix-dir /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp)
libtool: install: /usr/bin/install -c .libs/lowpass.soT /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/lowpass.so
libtool: install: /usr/bin/install -c .libs/lowpass.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/lowpass.la
libtool: warning: relinking 'input.la'
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins; /bin/bash "/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/libtool" --silent --tag CC --mode=relink arm-linux-gnueabihf-gcc -DTS_POINTERCAL=\"//etc/pointercal\" -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -fPIC -module -avoid-version -o input.la -rpath //lib/ts input-raw.lo ../src/libts.la -ldl -inst-prefix-dir /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp)
libtool: install: /usr/bin/install -c .libs/input.soT /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/input.so
libtool: install: /usr/bin/install -c .libs/input.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/input.la
libtool: install: /usr/bin/install -c .libs/touchkit.so /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/touchkit.so
libtool: install: /usr/bin/install -c .libs/touchkit.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/touchkit.la
libtool: warning: relinking 'waveshare.la'
libtool: install: (cd /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins; /bin/bash "/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/libtool" --silent --tag CC --mode=relink arm-linux-gnueabihf-gcc -DTS_POINTERCAL=\"//etc/pointercal\" -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -fPIC -module -avoid-version -o waveshare.la -rpath //lib/ts waveshare-raw.lo ../src/libts.la -ldl -inst-prefix-dir /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp)
libtool: install: /usr/bin/install -c .libs/waveshare.soT /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/waveshare.so
libtool: install: /usr/bin/install -c .libs/waveshare.lai /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/ts/waveshare.la
libtool: warning: remember to run 'libtool --finish //lib/ts'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins'
make[1]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/plugins'
Making install in tests
make[1]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tests'
make[2]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tests'/bin/mkdir -p '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin'/bin/bash ../libtool --mode=install /usr/bin/install -c ts_test ts_test_mt ts_calibrate ts_conf ts_print ts_print_mt ts_print_raw ts_harvest ts_finddev ts_verify '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin'
libtool: warning: '../src/libts.la' has not been installed in '//lib'
libtool: install: /usr/bin/install -c .libs/ts_test /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin/ts_test
libtool: warning: '../src/libts.la' has not been installed in '//lib'
libtool: install: /usr/bin/install -c .libs/ts_test_mt /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin/ts_test_mt
libtool: warning: '../src/libts.la' has not been installed in '//lib'
libtool: install: /usr/bin/install -c .libs/ts_calibrate /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin/ts_calibrate
libtool: warning: '../src/libts.la' has not been installed in '//lib'
libtool: install: /usr/bin/install -c .libs/ts_conf /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin/ts_conf
libtool: warning: '../src/libts.la' has not been installed in '//lib'
libtool: install: /usr/bin/install -c .libs/ts_print /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin/ts_print
libtool: warning: '../src/libts.la' has not been installed in '//lib'
libtool: install: /usr/bin/install -c .libs/ts_print_mt /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin/ts_print_mt
libtool: warning: '../src/libts.la' has not been installed in '//lib'
libtool: install: /usr/bin/install -c .libs/ts_print_raw /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin/ts_print_raw
libtool: warning: '../src/libts.la' has not been installed in '//lib'
libtool: install: /usr/bin/install -c .libs/ts_harvest /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin/ts_harvest
libtool: warning: '../src/libts.la' has not been installed in '//lib'
libtool: install: /usr/bin/install -c .libs/ts_finddev /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin/ts_finddev
libtool: warning: '../src/libts.la' has not been installed in '//lib'
libtool: install: /usr/bin/install -c .libs/ts_verify /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin/ts_verify
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tests'
make[1]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tests'
Making install in tools
make[1]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tools'
make[2]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tools'/bin/mkdir -p '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin'/bin/bash ../libtool --mode=install /usr/bin/install -c ts_uinput '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin'
libtool: warning: '../src/libts.la' has not been installed in '//lib'
libtool: install: /usr/bin/install -c .libs/ts_uinput /home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//bin/ts_uinput
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tools'
make[1]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tools'
Making install in doc
make[1]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/doc'
make[2]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/doc'
make[2]: Nothing to be done for 'install-exec-am'./bin/mkdir -p '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//share/man/man1'/usr/bin/install -c -m 644 ts_calibrate.1 ts_conf.1 ts_finddev.1 ts_harvest.1 ts_print.1 ts_print_mt.1 ts_print_raw.1 ts_test.1 ts_test_mt.1 ts_uinput.1 ts_verify.1 '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//share/man/man1'/bin/mkdir -p '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//share/man/man3'/usr/bin/install -c -m 644 ts_close.3 ts_close_restricted.3 ts_conf_get.3 ts_config.3 ts_conf_set.3 ts_error_fn.3 ts_fd.3 ts_get_eventpath.3 ts_libversion.3 tslib_version.3 ts_open.3 ts_open_restricted.3 ts_print_ascii_logo.3 ts_read.3 ts_read_mt.3 ts_read_raw.3 ts_read_raw_mt.3 ts_setup.3 '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//share/man/man3'/bin/mkdir -p '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//share/man/man5'/usr/bin/install -c -m 644 ts.conf.5 '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//share/man/man5'
make[2]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/doc'
make[1]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/doc'
make[1]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21'
make[2]: Entering directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21'
make[2]: Nothing to be done for 'install-exec-am'./bin/mkdir -p '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/pkgconfig'/usr/bin/install -c -m 644 tslib.pc '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp//lib/pkgconfig'
make[2]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21'
make[1]: Leaving directory '/home/book/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21'
book@100ask:~/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21$
5.查看安装在当前目录的tmp目录下的内容
6.确定当前环境工具链中头文件、库文件目录 ,执行命令:echo 'main(){}'| arm-linux-gnueabihf-gcc -E -v -
book@100ask:~/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp$ echo 'main(){}'| arm-linux-gnueabihf-gcc -E -v -Using built-in specs.
COLLECT_GCC=arm-linux-gnueabihf-gcc
Target: arm-linux-gnueabihf
Configured with: /home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/snapshots/gcc-linaro-6.2-2016.11/configure SHELL=/bin/bash --with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gnu-as --with-gnu-ld --disable-libstdcxx-pch --disable-libmudflap --with-cloog=no --with-ppl=no --with-isl=no --disable-nls --enable-c99 --enable-gnu-indirect-function --disable-multilib --with-tune=cortex-a9 --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --enable-multiarch --with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/sysroots/arm-linux-gnueabihf --enable-lto --enable-linker-build-id --enable-long-long --enable-shared --with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu/arm-linux-gnueabihf/libc --enable-languages=c,c++,fortran,lto --enable-checking=release --disable-bootstrap --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=arm-linux-gnueabihf --prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
Thread model: posix
gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11)
COLLECT_GCC_OPTIONS='-E' '-v' '-march=armv7-a' '-mtune=cortex-a9' '-mfloat-abi=hard' '-mfpu=vfpv3-d16' '-mthumb' '-mtls-dialect=gnu'/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../libexec/gcc/arm-linux-gnueabihf/6.2.1/cc1 -E -quiet -v -imultilib . -imultiarch arm-linux-gnueabihf -iprefix /home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/ -isysroot /home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../arm-linux-gnueabihf/libc - -march=armv7-a -mtune=cortex-a9 -mfloat-abi=hard -mfpu=vfpv3-d16 -mthumb -mtls-dialect=gnu
ignoring duplicate directory "/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/../../lib/gcc/arm-linux-gnueabihf/6.2.1/include"
ignoring nonexistent directory "/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../arm-linux-gnueabihf/libc/usr/local/include/arm-linux-gnueabihf"
ignoring nonexistent directory "/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../arm-linux-gnueabihf/libc/usr/local/include"
ignoring duplicate directory "/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/../../lib/gcc/arm-linux-gnueabihf/6.2.1/include-fixed"
ignoring duplicate directory "/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/../../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/include"
ignoring nonexistent directory "/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../arm-linux-gnueabihf/libc/usr/include/arm-linux-gnueabihf"
#include "..." search starts here:
#include <...> search starts here:/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/include/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/include-fixed/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/include/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../arm-linux-gnueabihf/libc/usr/include
End of search list.
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command-line>"
# 31 "<command-line>"
# 1 "/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/libc/usr/include/stdc-predef.h" 1 3 4
# 32 "<command-line>" 2
# 1 "<stdin>"
main(){}
COMPILER_PATH=/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../libexec/gcc/arm-linux-gnueabihf/6.2.1/:/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../libexec/gcc/arm-linux-gnueabihf/:/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../libexec/gcc/:/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/
LIBRARY_PATH=/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/:/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/:/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/:/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/lib/:/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../arm-linux-gnueabihf/libc/lib/:/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../arm-linux-gnueabihf/libc/usr/lib/
COLLECT_GCC_OPTIONS='-E' '-v' '-march=armv7-a' '-mtune=cortex-a9' '-mfloat-abi=hard' '-mfpu=vfpv3-d16' '-mthumb' '-mtls-dialect=gnu'
book@100ask:~/01_all_series_quickstart/04_嵌入式Linux应用开发基础知识/source/11_input/02_tslib/tslib-1.21/tmp$
7.把当前目录下tmp目录下的头文件、库文件放到工具链目录下 ,目的是有以后使用到tslib时不用再指定安装路径,执行命令如下:
cp include/* /home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../arm-linux-gnueabihf/libc/usr/include
cp -d lib/*so* /home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../arm-linux-gnueabihf/libc/usr/lib/
8。把库文件放到单板上
运行程序要用。先在开发板上使用NFS挂载Ubuntu的目录,再把前面编译出来的tslib-1.21/tmp/部分文件复制到板子上,示例命令如下:
[root@imx6ull:/mnt/tmp]# ls
bin etc fontconfig include lib share ts.conf
[root@imx6ull:/mnt/tmp]# cp lib/*so* -d /lib
[root@imx6ull:/mnt/tmp]# cp bin/* /bin
[root@imx6ull:/mnt/tmp]# cp etc/ts.conf -d /etc
[root@imx6ull:/mnt/tmp]# cp lib/ts/ -d /lib
[root@imx6ull:/mnt/tmp]#
8.测试tslib
在单板上执行测试程序:ts_test_mt,结果如下
这篇关于tslib-1.21 的配置编译安装的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!