The build took 00h 01m 18s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language |
|---|---|
7,135 |
ansic |
4,111 |
sh |
1,056 |
makefile |
143 |
asm |
12,445 |
total |
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
To avoid scrolling, you may jump to the last line of the
invocation of makepkg that was used to build this
package.
Removed vanilla repositories from pacman.conf and added:
Copied permanent toolchain into container-local sysroot
/toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi/toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB/toolchain_root/sysroot --> /sysroot/sysroot/toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME/toolchain_root/lib --> /sysroot/lib/toolchain_root/SOURCES --> /sysroot/SOURCES/toolchain_root/lib64 --> /sysroot/lib64/toolchain_root/share --> /sysroot/share/toolchain_root/bin --> /sysroot/bin/toolchain_root/COPYING --> /sysroot/COPYING/toolchain_root/COPYING3 --> /sysroot/COPYING3/toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB/toolchain_root/include --> /sysroot/include/toolchain_root/libexec --> /sysroot/libexecCMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
==> Making package: stlink 1.2.0-1 (Tue Apr 4 20:57:08 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> WARNING: Using existing $srcdir/ tree==> Starting build()...autoreconf: Entering directory `.'autoreconf: configure.ac: not using Gettextautoreconf: running: aclocal --force autoreconf: configure.ac: tracingautoreconf: configure.ac: not using Libtoolautoreconf: running: /usr/bin/autoconf --forceautoreconf: configure.ac: not using Autoheaderautoreconf: running: automake --add-missing --copy --force-missingUnescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/sbin/automake line 3936.configure.ac:12: installing './compile'configure.ac:14: installing './config.guess'configure.ac:14: installing './config.sub'configure.ac:8: installing './install-sh'configure.ac:8: installing './missing'Makefile.am: installing './INSTALL'Makefile.am: installing './depcomp'autoreconf: Leaving directory `.'checking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for arm-linux-androideabi-strip... arm-linux-androideabi-stripchecking for a thread-safe mkdir -p... /usr/sbin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether make supports nested variables... yeschecking for arm-linux-androideabi-gcc... arm-linux-androideabi-gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... yeschecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether arm-linux-androideabi-gcc accepts -g... yeschecking for arm-linux-androideabi-gcc option to accept ISO C89... none neededchecking whether arm-linux-androideabi-gcc understands -c and -o together... yeschecking for style of include used by make... GNUchecking dependency style of arm-linux-androideabi-gcc... gcc3checking build system type... x86_64-unknown-linux-gnuchecking host system type... arm-unknown-linux-androideabichecking for arm-linux-androideabi-ranlib... arm-linux-androideabi-ranlibchecking how to run the C preprocessor... arm-linux-androideabi-gcc -Echecking for grep that handles long lines and -e... /usr/sbin/grepchecking for egrep... /usr/sbin/grep -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking sys/mman.h usability... yeschecking sys/mman.h presence... yeschecking for sys/mman.h... yeschecking sys/poll.h usability... yeschecking sys/poll.h presence... yeschecking for sys/poll.h... yeschecking for mmap... yeschecking for arm-linux-androideabi-pkg-config... nochecking for pkg-config... /usr/sbin/pkg-configconfigure: WARNING: using cross tools not prefixed with host tripletchecking pkg-config is at least version 0.9.0... yeschecking for USB... yeschecking for usb_path2devnum in -lusbpath... nochecking that generated files are newer than configure... doneconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: executing depfiles commandsMaking all in .make[1]: Entering directory '/tmp/stlink/src/stlink-1.2.0'arm-linux-androideabi-gcc -DPACKAGE_NAME=\"stlink\" -DPACKAGE_TARNAME=\"stlink\" -DPACKAGE_VERSION=\"0.5.6\" -DPACKAGE_STRING=\"stlink\ 0.5.6\" -DPACKAGE_BUGREPORT=\"davem@devkitpro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"stlink\" -DVERSION=\"0.5.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_MMAP=1 -I. -std=gnu99 -Wall -Wextra -O2 -I./src -I./mingw -I/usr/include/libusb-1.0 -MT src/st_term-st-term.o -MD -MP -MF src/.deps/st_term-st-term.Tpo -c -o src/st_term-st-term.o `test -f 'src/st-term.c' || echo './'`src/st-term.carm-linux-androideabi-gcc -DPACKAGE_NAME=\"stlink\" -DPACKAGE_TARNAME=\"stlink\" -DPACKAGE_VERSION=\"0.5.6\" -DPACKAGE_STRING=\"stlink\ 0.5.6\" -DPACKAGE_BUGREPORT=\"davem@devkitpro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"stlink\" -DVERSION=\"0.5.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_MMAP=1 -I. -std=gnu99 -Wall -Wextra -O2 -I./src -I./mingw -I/usr/include/libusb-1.0 -MT src/st_info-st-info.o -MD -MP -MF src/.deps/st_info-st-info.Tpo -c -o src/st_info-st-info.o `test -f 'src/st-info.c' || echo './'`src/st-info.carm-linux-androideabi-gcc -DPACKAGE_NAME=\"stlink\" -DPACKAGE_TARNAME=\"stlink\" -DPACKAGE_VERSION=\"0.5.6\" -DPACKAGE_STRING=\"stlink\ 0.5.6\" -DPACKAGE_BUGREPORT=\"davem@devkitpro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"stlink\" -DVERSION=\"0.5.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_MMAP=1 -I. -std=gnu99 -Wall -Wextra -O2 -I/usr/include/libusb-1.0 -MT src/libstlink_a-stlink-common.o -MD -MP -MF src/.deps/libstlink_a-stlink-common.Tpo -c -o src/libstlink_a-stlink-common.o `test -f 'src/stlink-common.c' || echo './'`src/stlink-common.carm-linux-androideabi-gcc -DPACKAGE_NAME=\"stlink\" -DPACKAGE_TARNAME=\"stlink\" -DPACKAGE_VERSION=\"0.5.6\" -DPACKAGE_STRING=\"stlink\ 0.5.6\" -DPACKAGE_BUGREPORT=\"davem@devkitpro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"stlink\" -DVERSION=\"0.5.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_MMAP=1 -I. -std=gnu99 -Wall -Wextra -O2 -I/usr/include/libusb-1.0 -MT src/libstlink_a-stlink-usb.o -MD -MP -MF src/.deps/libstlink_a-stlink-usb.Tpo -c -o src/libstlink_a-stlink-usb.o `test -f 'src/stlink-usb.c' || echo './'`src/stlink-usb.csrc/stlink-usb.c: In function 'stlink_probe_usb_devs':src/stlink-usb.c:950:19: warning: assignment makes integer from pointer without a cast [enabled by default] *serial = NULL; ^mv -f src/.deps/st_info-st-info.Tpo src/.deps/st_info-st-info.Poarm-linux-androideabi-gcc -DPACKAGE_NAME=\"stlink\" -DPACKAGE_TARNAME=\"stlink\" -DPACKAGE_VERSION=\"0.5.6\" -DPACKAGE_STRING=\"stlink\ 0.5.6\" -DPACKAGE_BUGREPORT=\"davem@devkitpro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"stlink\" -DVERSION=\"0.5.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_MMAP=1 -I. -std=gnu99 -Wall -Wextra -O2 -I/usr/include/libusb-1.0 -MT src/libstlink_a-stlink-sg.o -MD -MP -MF src/.deps/libstlink_a-stlink-sg.Tpo -c -o src/libstlink_a-stlink-sg.o `test -f 'src/stlink-sg.c' || echo './'`src/stlink-sg.cmv -f src/.deps/st_term-st-term.Tpo src/.deps/st_term-st-term.Poarm-linux-androideabi-gcc -DPACKAGE_NAME=\"stlink\" -DPACKAGE_TARNAME=\"stlink\" -DPACKAGE_VERSION=\"0.5.6\" -DPACKAGE_STRING=\"stlink\ 0.5.6\" -DPACKAGE_BUGREPORT=\"davem@devkitpro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"stlink\" -DVERSION=\"0.5.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_MMAP=1 -I. -std=gnu99 -Wall -Wextra -O2 -I/usr/include/libusb-1.0 -MT src/libstlink_a-uglylogging.o -MD -MP -MF src/.deps/libstlink_a-uglylogging.Tpo -c -o src/libstlink_a-uglylogging.o `test -f 'src/uglylogging.c' || echo './'`src/uglylogging.cmv -f src/.deps/libstlink_a-uglylogging.Tpo src/.deps/libstlink_a-uglylogging.Poarm-linux-androideabi-gcc -DPACKAGE_NAME=\"stlink\" -DPACKAGE_TARNAME=\"stlink\" -DPACKAGE_VERSION=\"0.5.6\" -DPACKAGE_STRING=\"stlink\ 0.5.6\" -DPACKAGE_BUGREPORT=\"davem@devkitpro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"stlink\" -DVERSION=\"0.5.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_MMAP=1 -I. -std=gnu99 -Wall -Wextra -O2 -I/usr/include/libusb-1.0 -MT src/libstlink_a-st-term.o -MD -MP -MF src/.deps/libstlink_a-st-term.Tpo -c -o src/libstlink_a-st-term.o `test -f 'src/st-term.c' || echo './'`src/st-term.cmv -f src/.deps/libstlink_a-st-term.Tpo src/.deps/libstlink_a-st-term.Poarm-linux-androideabi-gcc -DPACKAGE_NAME=\"stlink\" -DPACKAGE_TARNAME=\"stlink\" -DPACKAGE_VERSION=\"0.5.6\" -DPACKAGE_STRING=\"stlink\ 0.5.6\" -DPACKAGE_BUGREPORT=\"davem@devkitpro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"stlink\" -DVERSION=\"0.5.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_MMAP=1 -I. -std=gnu99 -Wall -Wextra -O2 -I./src -I./mingw -I/usr/include/libusb-1.0 -MT flash/st_flash-main.o -MD -MP -MF flash/.deps/st_flash-main.Tpo -c -o flash/st_flash-main.o `test -f 'flash/main.c' || echo './'`flash/main.cmv -f src/.deps/libstlink_a-stlink-usb.Tpo src/.deps/libstlink_a-stlink-usb.Poarm-linux-androideabi-gcc -DPACKAGE_NAME=\"stlink\" -DPACKAGE_TARNAME=\"stlink\" -DPACKAGE_VERSION=\"0.5.6\" -DPACKAGE_STRING=\"stlink\ 0.5.6\" -DPACKAGE_BUGREPORT=\"davem@devkitpro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"stlink\" -DVERSION=\"0.5.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_MMAP=1 -I. -std=gnu99 -Wall -Wextra -O2 -I./src -I./mingw -I/usr/include/libusb-1.0 -MT gdbserver/st_util-gdb-remote.o -MD -MP -MF gdbserver/.deps/st_util-gdb-remote.Tpo -c -o gdbserver/st_util-gdb-remote.o `test -f 'gdbserver/gdb-remote.c' || echo './'`gdbserver/gdb-remote.cmv -f flash/.deps/st_flash-main.Tpo flash/.deps/st_flash-main.Poarm-linux-androideabi-gcc -DPACKAGE_NAME=\"stlink\" -DPACKAGE_TARNAME=\"stlink\" -DPACKAGE_VERSION=\"0.5.6\" -DPACKAGE_STRING=\"stlink\ 0.5.6\" -DPACKAGE_BUGREPORT=\"davem@devkitpro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"stlink\" -DVERSION=\"0.5.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_MMAP=1 -I. -std=gnu99 -Wall -Wextra -O2 -I./src -I./mingw -I/usr/include/libusb-1.0 -MT gdbserver/st_util-gdb-server.o -MD -MP -MF gdbserver/.deps/st_util-gdb-server.Tpo -c -o gdbserver/st_util-gdb-server.o `test -f 'gdbserver/gdb-server.c' || echo './'`gdbserver/gdb-server.cmv -f gdbserver/.deps/st_util-gdb-remote.Tpo gdbserver/.deps/st_util-gdb-remote.Poarm-linux-androideabi-gcc -DPACKAGE_NAME=\"stlink\" -DPACKAGE_TARNAME=\"stlink\" -DPACKAGE_VERSION=\"0.5.6\" -DPACKAGE_STRING=\"stlink\ 0.5.6\" -DPACKAGE_BUGREPORT=\"davem@devkitpro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"stlink\" -DVERSION=\"0.5.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_MMAP=1 -I. -std=gnu99 -Wall -Wextra -O2 -I./src -I./mingw -I/usr/include/libusb-1.0 -MT mingw/st_util-mingw.o -MD -MP -MF mingw/.deps/st_util-mingw.Tpo -c -o mingw/st_util-mingw.o `test -f 'mingw/mingw.c' || echo './'`mingw/mingw.cmv -f src/.deps/libstlink_a-stlink-sg.Tpo src/.deps/libstlink_a-stlink-sg.Pomv -f mingw/.deps/st_util-mingw.Tpo mingw/.deps/st_util-mingw.Pomv -f src/.deps/libstlink_a-stlink-common.Tpo src/.deps/libstlink_a-stlink-common.Porm -f libstlink.aar cru libstlink.a src/libstlink_a-stlink-common.o src/libstlink_a-stlink-usb.o src/libstlink_a-stlink-sg.o src/libstlink_a-uglylogging.o src/libstlink_a-st-term.o arm-linux-androideabi-ranlib libstlink.aarm-linux-androideabi-gcc -I/usr/include/libusb-1.0 -o st-flash flash/st_flash-main.o libstlink.a -lusb-1.0arm-linux-androideabi-gcc -I/usr/include/libusb-1.0 -o st-term src/st_term-st-term.o libstlink.a -lusb-1.0arm-linux-androideabi-gcc -I/usr/include/libusb-1.0 -o st-info src/st_info-st-info.o libstlink.a -lusb-1.0/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lusb-1.0libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function _stlink_usb_close: error: undefined reference to 'libusb_close'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function _stlink_usb_close: error: undefined reference to 'libusb_exit'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function send_recv: error: undefined reference to 'libusb_bulk_transfer'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function send_recv: error: undefined reference to 'libusb_bulk_transfer'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function send_recv: error: undefined reference to 'libusb_bulk_transfer'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_init'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_device_list'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_device_descriptor'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_exit'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_bus_number'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_device_address'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_open'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_string_descriptor_ascii'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_close'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_open'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_bus_number'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_device_address'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_free_device_list'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_kernel_driver_active'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_configuration'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_set_configuration'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_claim_interface'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_detach_kernel_driver'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_init'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_get_device_list'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_get_device_descriptor'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_get_device_descriptor'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_open'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_get_string_descriptor_ascii'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_close'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_free_device_list'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_exit'collect2: error: ld returned 1 exit statusmake[1]: *** [Makefile:533: st-term] Error 1make[1]: *** Waiting for unfinished jobs..../sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lusb-1.0libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function _stlink_usb_close: error: undefined reference to 'libusb_close'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function _stlink_usb_close: error: undefined reference to 'libusb_exit'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function send_recv: error: undefined reference to 'libusb_bulk_transfer'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function send_recv: error: undefined reference to 'libusb_bulk_transfer'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function send_recv: error: undefined reference to 'libusb_bulk_transfer'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_init'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_device_list'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_device_descriptor'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_exit'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_bus_number'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_device_address'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_open'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_string_descriptor_ascii'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_close'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_open'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_bus_number'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_device_address'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_free_device_list'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_kernel_driver_active'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_configuration'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_set_configuration'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_claim_interface'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_detach_kernel_driver'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_init'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_get_device_list'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_get_device_descriptor'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_get_device_descriptor'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_open'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_get_string_descriptor_ascii'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_close'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_free_device_list'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_exit'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function _stlink_sg_close: error: undefined reference to 'libusb_close'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function _stlink_sg_close: error: undefined reference to 'libusb_exit'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function get_usb_mass_storage_status: error: undefined reference to 'libusb_bulk_transfer'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function get_usb_mass_storage_status: error: undefined reference to 'libusb_clear_halt'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function send_usb_mass_storage_command: error: undefined reference to 'libusb_clear_halt'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function get_sense: error: undefined reference to 'libusb_clear_halt'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function send_usb_data_only: error: undefined reference to 'libusb_clear_halt'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_init'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_set_debug'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_open_device_with_vid_pid'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_kernel_driver_active'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_get_configuration'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_set_configuration'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_claim_interface'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_detach_kernel_driver'collect2: error: ld returned 1 exit statusmake[1]: *** [Makefile:521: st-flash] Error 1/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lusb-1.0libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function _stlink_usb_close: error: undefined reference to 'libusb_close'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function _stlink_usb_close: error: undefined reference to 'libusb_exit'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function send_recv: error: undefined reference to 'libusb_bulk_transfer'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function send_recv: error: undefined reference to 'libusb_bulk_transfer'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function send_recv: error: undefined reference to 'libusb_bulk_transfer'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_init'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_device_list'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_device_descriptor'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_exit'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_bus_number'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_device_address'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_open'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_string_descriptor_ascii'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_close'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_open'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_bus_number'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_device_address'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_free_device_list'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_kernel_driver_active'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_get_configuration'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_set_configuration'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_claim_interface'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_open_usb: error: undefined reference to 'libusb_detach_kernel_driver'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_init'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_get_device_list'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_get_device_descriptor'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_get_device_descriptor'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_open'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_get_string_descriptor_ascii'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_close'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_free_device_list'libstlink.a(libstlink_a-stlink-usb.o):stlink-usb.c:function stlink_probe_usb: error: undefined reference to 'libusb_exit'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function _stlink_sg_close: error: undefined reference to 'libusb_close'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function _stlink_sg_close: error: undefined reference to 'libusb_exit'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function get_usb_mass_storage_status: error: undefined reference to 'libusb_bulk_transfer'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function get_usb_mass_storage_status: error: undefined reference to 'libusb_clear_halt'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function send_usb_mass_storage_command: error: undefined reference to 'libusb_clear_halt'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function get_sense: error: undefined reference to 'libusb_clear_halt'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function send_usb_data_only: error: undefined reference to 'libusb_clear_halt'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_init'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_set_debug'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_open_device_with_vid_pid'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_kernel_driver_active'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_get_configuration'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_set_configuration'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_claim_interface'libstlink.a(libstlink_a-stlink-sg.o):stlink-sg.c:function stlink_v1_open_inner: error: undefined reference to 'libusb_detach_kernel_driver'collect2: error: ld returned 1 exit statusmake[1]: *** [Makefile:527: st-info] Error 1mv -f gdbserver/.deps/st_util-gdb-server.Tpo gdbserver/.deps/st_util-gdb-server.Pomake[1]: Leaving directory '/tmp/stlink/src/stlink-1.2.0'make: *** [Makefile:757: all-recursive] Error 1==> ERROR: A failure occurred in build(). Aborting...Printing config logfiles
CMD: config logfiles '/tmp/stlink/src/stlink-1.2.0/config.log'
This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by stlink configure 0.5.6, which wasgenerated by GNU Autoconf 2.69. Invocation command line was$ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr## --------- #### Platform. #### --------- ##hostname = 0590adb9ee84uname -m = x86_64uname -r = 4.10.6-1-ARCHuname -s = Linuxuname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017/usr/bin/uname -p = unknown/bin/uname -X = unknown/bin/arch = unknown/usr/bin/arch -k = unknown/usr/convex/getsysinfo = unknown/usr/bin/hostinfo = unknown/bin/machine = unknown/usr/bin/oslevel = unknown/bin/universe = unknownPATH: /sysroot/binPATH: /sysroot/libexec/gcc/arm-linux-androideabi/4.8PATH: /usr/local/sbinPATH: /usr/local/binPATH: /usr/sbinPATH: /usr/binPATH: /sbinPATH: /bin## ----------- #### Core tests. #### ----------- ##configure:2242: checking for a BSD-compatible installconfigure:2310: result: /usr/bin/install -cconfigure:2321: checking whether build environment is saneconfigure:2376: result: yesconfigure:2435: checking for arm-linux-androideabi-stripconfigure:2451: found /sysroot/bin/arm-linux-androideabi-stripconfigure:2462: result: arm-linux-androideabi-stripconfigure:2527: checking for a thread-safe mkdir -pconfigure:2566: result: /usr/sbin/mkdir -pconfigure:2573: checking for gawkconfigure:2589: found /usr/sbin/gawkconfigure:2600: result: gawkconfigure:2611: checking whether make sets $(MAKE)configure:2633: result: yesconfigure:2662: checking whether make supports nested variablesconfigure:2679: result: yesconfigure:2816: checking for arm-linux-androideabi-gccconfigure:2843: result: arm-linux-androideabi-gccconfigure:3112: checking for C compiler versionconfigure:3121: arm-linux-androideabi-gcc --version >&5arm-linux-androideabi-gcc (GCC) 4.8Copyright (C) 2013 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.configure:3132: $? = 0configure:3121: arm-linux-androideabi-gcc -v >&5Using built-in specs.COLLECT_GCC=arm-linux-androideabi-gccCOLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapperTarget: arm-linux-androideabiConfigured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.8/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.8 --with-gdb-version=7.7 --with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86_64/bin/python-config.sh --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.8 --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-threads --enable-graphite=yes --with-cloog-version=0.18.0 --with-isl-version=0.11.1 --enable-eh-frame-hdr-for-static --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=defaultThread model: posixgcc version 4.8 (GCC)configure:3132: $? = 0configure:3121: arm-linux-androideabi-gcc -V >&5arm-linux-androideabi-gcc: error: unrecognized command line option '-V'arm-linux-androideabi-gcc: fatal error: no input filescompilation terminated.configure:3132: $? = 1configure:3121: arm-linux-androideabi-gcc -qversion >&5arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion'arm-linux-androideabi-gcc: fatal error: no input filescompilation terminated.configure:3132: $? = 1configure:3152: checking whether the C compiler worksconfigure:3174: arm-linux-androideabi-gcc conftest.c >&5configure:3178: $? = 0configure:3226: result: yesconfigure:3229: checking for C compiler default output file nameconfigure:3231: result: a.outconfigure:3237: checking for suffix of executablesconfigure:3244: arm-linux-androideabi-gcc -o conftest conftest.c >&5configure:3248: $? = 0configure:3270: result:configure:3292: checking whether we are cross compilingconfigure:3330: result: yesconfigure:3335: checking for suffix of object filesconfigure:3357: arm-linux-androideabi-gcc -c conftest.c >&5configure:3361: $? = 0configure:3382: result: oconfigure:3386: checking whether we are using the GNU C compilerconfigure:3405: arm-linux-androideabi-gcc -c conftest.c >&5configure:3405: $? = 0configure:3414: result: yesconfigure:3423: checking whether arm-linux-androideabi-gcc accepts -gconfigure:3443: arm-linux-androideabi-gcc -c -g conftest.c >&5configure:3443: $? = 0configure:3484: result: yesconfigure:3501: checking for arm-linux-androideabi-gcc option to accept ISO C89configure:3564: arm-linux-androideabi-gcc -c conftest.c >&5configure:3564: $? = 0configure:3577: result: none neededconfigure:3602: checking whether arm-linux-androideabi-gcc understands -c and -o togetherconfigure:3624: arm-linux-androideabi-gcc -c conftest.c -o conftest2.oconfigure:3627: $? = 0configure:3624: arm-linux-androideabi-gcc -c conftest.c -o conftest2.oconfigure:3627: $? = 0configure:3639: result: yesconfigure:3667: checking for style of include used by makeconfigure:3695: result: GNUconfigure:3721: checking dependency style of arm-linux-androideabi-gccconfigure:3832: result: gcc3configure:3852: checking build system typeconfigure:3866: result: x86_64-unknown-linux-gnuconfigure:3886: checking host system typeconfigure:3899: result: arm-unknown-linux-androideabiconfigure:3923: checking for arm-linux-androideabi-ranlibconfigure:3939: found /sysroot/bin/arm-linux-androideabi-ranlibconfigure:3950: result: arm-linux-androideabi-ranlibconfigure:4020: checking how to run the C preprocessorconfigure:4051: arm-linux-androideabi-gcc -E conftest.cconfigure:4051: $? = 0configure:4065: arm-linux-androideabi-gcc -E conftest.cconftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory#include ^compilation terminated.configure:4065: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "stlink"| #define PACKAGE_TARNAME "stlink"| #define PACKAGE_VERSION "0.5.6"| #define PACKAGE_STRING "stlink 0.5.6"| #define PACKAGE_BUGREPORT "davem@devkitpro.org"| #define PACKAGE_URL ""| #define PACKAGE "stlink"| #define VERSION "0.5.6"| /* end confdefs.h. */| #include configure:4090: result: arm-linux-androideabi-gcc -Econfigure:4110: arm-linux-androideabi-gcc -E conftest.cconfigure:4110: $? = 0configure:4124: arm-linux-androideabi-gcc -E conftest.cconftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory#include ^compilation terminated.configure:4124: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "stlink"| #define PACKAGE_TARNAME "stlink"| #define PACKAGE_VERSION "0.5.6"| #define PACKAGE_STRING "stlink 0.5.6"| #define PACKAGE_BUGREPORT "davem@devkitpro.org"| #define PACKAGE_URL ""| #define PACKAGE "stlink"| #define VERSION "0.5.6"| /* end confdefs.h. */| #include configure:4153: checking for grep that handles long lines and -econfigure:4211: result: /usr/sbin/grepconfigure:4216: checking for egrepconfigure:4278: result: /usr/sbin/grep -Econfigure:4283: checking for ANSI C header filesconfigure:4303: arm-linux-androideabi-gcc -c conftest.c >&5configure:4303: $? = 0configure:4387: result: yesconfigure:4400: checking for sys/types.hconfigure:4400: arm-linux-androideabi-gcc -c conftest.c >&5configure:4400: $? = 0configure:4400: result: yesconfigure:4400: checking for sys/stat.hconfigure:4400: arm-linux-androideabi-gcc -c conftest.c >&5configure:4400: $? = 0configure:4400: result: yesconfigure:4400: checking for stdlib.hconfigure:4400: arm-linux-androideabi-gcc -c conftest.c >&5configure:4400: $? = 0configure:4400: result: yesconfigure:4400: checking for string.hconfigure:4400: arm-linux-androideabi-gcc -c conftest.c >&5configure:4400: $? = 0configure:4400: result: yesconfigure:4400: checking for memory.hconfigure:4400: arm-linux-androideabi-gcc -c conftest.c >&5configure:4400: $? = 0configure:4400: result: yesconfigure:4400: checking for strings.hconfigure:4400: arm-linux-androideabi-gcc -c conftest.c >&5configure:4400: $? = 0configure:4400: result: yesconfigure:4400: checking for inttypes.hconfigure:4400: arm-linux-androideabi-gcc -c conftest.c >&5configure:4400: $? = 0configure:4400: result: yesconfigure:4400: checking for stdint.hconfigure:4400: arm-linux-androideabi-gcc -c conftest.c >&5configure:4400: $? = 0configure:4400: result: yesconfigure:4400: checking for unistd.hconfigure:4400: arm-linux-androideabi-gcc -c conftest.c >&5configure:4400: $? = 0configure:4400: result: yesconfigure:4414: checking sys/mman.h usabilityconfigure:4414: arm-linux-androideabi-gcc -c conftest.c >&5configure:4414: $? = 0configure:4414: result: yesconfigure:4414: checking sys/mman.h presenceconfigure:4414: arm-linux-androideabi-gcc -E conftest.cconfigure:4414: $? = 0configure:4414: result: yesconfigure:4414: checking for sys/mman.hconfigure:4414: result: yesconfigure:4426: checking sys/poll.h usabilityconfigure:4426: arm-linux-androideabi-gcc -c conftest.c >&5configure:4426: $? = 0configure:4426: result: yesconfigure:4426: checking sys/poll.h presenceconfigure:4426: arm-linux-androideabi-gcc -E conftest.cconfigure:4426: $? = 0configure:4426: result: yesconfigure:4426: checking for sys/poll.hconfigure:4426: result: yesconfigure:4436: checking for mmapconfigure:4436: arm-linux-androideabi-gcc -o conftest conftest.c >&5configure:4436: $? = 0configure:4436: result: yesconfigure:4468: checking for arm-linux-androideabi-pkg-configconfigure:4501: result: noconfigure:4511: checking for pkg-configconfigure:4529: found /usr/sbin/pkg-configconfigure:4541: result: /usr/sbin/pkg-configconfigure:4553: WARNING: using cross tools not prefixed with host tripletconfigure:4566: checking pkg-config is at least version 0.9.0configure:4569: result: yesconfigure:4579: checking for USBconfigure:4586: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.0"configure:4589: $? = 0configure:4603: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.0"configure:4606: $? = 0configure:4644: result: yesconfigure:4648: checking for usb_path2devnum in -lusbpathconfigure:4673: arm-linux-androideabi-gcc -o conftest conftest.c -lusbpath -lusb >&5/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lusbpath/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lusb/tmp/ccEMWwv7.o:conftest.c:function main: error: undefined reference to 'usb_path2devnum'collect2: error: ld returned 1 exit statusconfigure:4673: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "stlink"| #define PACKAGE_TARNAME "stlink"| #define PACKAGE_VERSION "0.5.6"| #define PACKAGE_STRING "stlink 0.5.6"| #define PACKAGE_BUGREPORT "davem@devkitpro.org"| #define PACKAGE_URL ""| #define PACKAGE "stlink"| #define VERSION "0.5.6"| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define HAVE_SYS_MMAN_H 1| #define HAVE_SYS_POLL_H 1| #define HAVE_MMAP 1| /* end confdefs.h. */|| /* Override any GCC internal prototype to avoid an error.| Use char because int might match the return type of a GCC| builtin and then its argument prototype would still apply. */| #ifdef __cplusplus| extern "C"| #endif| char usb_path2devnum ();| int| main ()| {| return usb_path2devnum ();| ;| return 0;| }configure:4682: result: noconfigure:5069: checking that generated files are newer than configureconfigure:5075: result: doneconfigure:5106: creating ./config.status## ---------------------- #### Running config.status. #### ---------------------- ##This file was extended by stlink config.status 0.5.6, which wasgenerated by GNU Autoconf 2.69. Invocation command line wasCONFIG_FILES =CONFIG_HEADERS =CONFIG_LINKS =CONFIG_COMMANDS =$ ./config.statuson 0590adb9ee84config.status:799: creating Makefileconfig.status:971: executing depfiles commands## ---------------- #### Cache variables. #### ---------------- ##ac_cv_build=x86_64-unknown-linux-gnuac_cv_c_compiler_gnu=yesac_cv_env_CC_set=setac_cv_env_CC_value=arm-linux-androideabi-gccac_cv_env_CFLAGS_set=setac_cv_env_CFLAGS_value=ac_cv_env_CPPFLAGS_set=setac_cv_env_CPPFLAGS_value=ac_cv_env_CPP_set=ac_cv_env_CPP_value=ac_cv_env_GLIB_CFLAGS_set=ac_cv_env_GLIB_CFLAGS_value=ac_cv_env_GLIB_LIBS_set=ac_cv_env_GLIB_LIBS_value=ac_cv_env_GTK_CFLAGS_set=ac_cv_env_GTK_CFLAGS_value=ac_cv_env_GTK_LIBS_set=ac_cv_env_GTK_LIBS_value=ac_cv_env_LDFLAGS_set=setac_cv_env_LDFLAGS_value=ac_cv_env_LIBS_set=ac_cv_env_LIBS_value=ac_cv_env_PKG_CONFIG_LIBDIR_set=ac_cv_env_PKG_CONFIG_LIBDIR_value=ac_cv_env_PKG_CONFIG_PATH_set=ac_cv_env_PKG_CONFIG_PATH_value=ac_cv_env_PKG_CONFIG_set=ac_cv_env_PKG_CONFIG_value=ac_cv_env_USB_CFLAGS_set=ac_cv_env_USB_CFLAGS_value=ac_cv_env_USB_LIBS_set=ac_cv_env_USB_LIBS_value=ac_cv_env_build_alias_set=setac_cv_env_build_alias_value=x86_64-unknown-linuxac_cv_env_host_alias_set=setac_cv_env_host_alias_value=arm-linux-androideabiac_cv_env_target_alias_set=ac_cv_env_target_alias_value=ac_cv_func_mmap=yesac_cv_header_inttypes_h=yesac_cv_header_memory_h=yesac_cv_header_stdc=yesac_cv_header_stdint_h=yesac_cv_header_stdlib_h=yesac_cv_header_string_h=yesac_cv_header_strings_h=yesac_cv_header_sys_mman_h=yesac_cv_header_sys_poll_h=yesac_cv_header_sys_stat_h=yesac_cv_header_sys_types_h=yesac_cv_header_unistd_h=yesac_cv_host=arm-unknown-linux-androideabiac_cv_lib_usbpath_usb_path2devnum=noac_cv_objext=oac_cv_path_EGREP='/usr/sbin/grep -E'ac_cv_path_GREP=/usr/sbin/grepac_cv_path_ac_pt_PKG_CONFIG=/usr/sbin/pkg-configac_cv_path_install='/usr/bin/install -c'ac_cv_path_mkdir=/usr/sbin/mkdirac_cv_prog_AWK=gawkac_cv_prog_CC=arm-linux-androideabi-gccac_cv_prog_CPP='arm-linux-androideabi-gcc -E'ac_cv_prog_RANLIB=arm-linux-androideabi-ranlibac_cv_prog_STRIP=arm-linux-androideabi-stripac_cv_prog_cc_c89=ac_cv_prog_cc_g=yesac_cv_prog_make_make_set=yesam_cv_CC_dependencies_compiler_type=gcc3am_cv_make_support_nested_variables=yesam_cv_prog_cc_c_o=yespkg_cv_USB_CFLAGS=-I/usr/include/libusb-1.0pkg_cv_USB_LIBS=-lusb-1.0## ----------------- #### Output variables. #### ----------------- ##ACLOCAL='${SHELL} /tmp/stlink/src/stlink-1.2.0/missing aclocal-1.15'AMDEPBACKSLASH='\'AMDEP_FALSE='#'AMDEP_TRUE=''AMTAR='$${TAR-tar}'AM_BACKSLASH='\'AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'AM_DEFAULT_VERBOSITY='1'AM_V='$(V)'AUTOCONF='${SHELL} /tmp/stlink/src/stlink-1.2.0/missing autoconf'AUTOHEADER='${SHELL} /tmp/stlink/src/stlink-1.2.0/missing autoheader'AUTOMAKE='${SHELL} /tmp/stlink/src/stlink-1.2.0/missing automake-1.15'AWK='gawk'CC='arm-linux-androideabi-gcc'CCDEPMODE='depmode=gcc3'CFLAGS=' -I/usr/include/libusb-1.0'CPP='arm-linux-androideabi-gcc -E'CPPFLAGS=''CYGPATH_W='echo'DEFS='-DPACKAGE_NAME=\"stlink\" -DPACKAGE_TARNAME=\"stlink\" -DPACKAGE_VERSION=\"0.5.6\" -DPACKAGE_STRING=\"stlink\ 0.5.6\" -DPACKAGE_BUGREPORT=\"davem@devkitpro.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"stlink\" -DVERSION=\"0.5.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_MMAP=1'DEPDIR='.deps'ECHO_C=''ECHO_N='-n'ECHO_T=''EGREP='/usr/sbin/grep -E'EXEEXT=''GLIB_CFLAGS=''GLIB_LIBS=''GREP='/usr/sbin/grep'GTK_CFLAGS=''GTK_LIBS=''INSTALL_DATA='${INSTALL} -m 644'INSTALL_PROGRAM='${INSTALL}'INSTALL_SCRIPT='${INSTALL}'INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'LDFLAGS=''LIBOBJS=''LIBS=' -lusb-1.0'LTLIBOBJS=''MAKEINFO='${SHELL} /tmp/stlink/src/stlink-1.2.0/missing makeinfo'MAYBE_GUI=''MINGW_FALSE=''MINGW_TRUE='#'MKDIR_P='/usr/sbin/mkdir -p'OBJEXT='o'PACKAGE='stlink'PACKAGE_BUGREPORT='davem@devkitpro.org'PACKAGE_NAME='stlink'PACKAGE_STRING='stlink 0.5.6'PACKAGE_TARNAME='stlink'PACKAGE_URL=''PACKAGE_VERSION='0.5.6'PATH_SEPARATOR=':'PKG_CONFIG='/usr/sbin/pkg-config'PKG_CONFIG_LIBDIR=''PKG_CONFIG_PATH=''RANLIB='arm-linux-androideabi-ranlib'SET_MAKE=''SHELL='/bin/sh'STRIP='arm-linux-androideabi-strip'USB_CFLAGS='-I/usr/include/libusb-1.0'USB_LIBS='-lusb-1.0'VERSION='0.5.6'ac_ct_CC=''am__EXEEXT_FALSE=''am__EXEEXT_TRUE='#'am__fastdepCC_FALSE='#'am__fastdepCC_TRUE=''am__include='include'am__isrc=''am__leading_dot='.'am__nodep='_no'am__quote=''am__tar='$${TAR-tar} chof - "$$tardir"'am__untar='$${TAR-tar} xf -'bindir='${exec_prefix}/bin'build='x86_64-unknown-linux-gnu'build_alias='x86_64-unknown-linux'build_cpu='x86_64'build_os='linux-gnu'build_vendor='unknown'datadir='${datarootdir}'datarootdir='${prefix}/share'docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'dvidir='${docdir}'exec_prefix='${prefix}'host='arm-unknown-linux-androideabi'host_alias='arm-linux-androideabi'host_cpu='arm'host_os='linux-androideabi'host_vendor='unknown'htmldir='${docdir}'includedir='${prefix}/include'infodir='${datarootdir}/info'install_sh='${SHELL} /tmp/stlink/src/stlink-1.2.0/install-sh'libdir='${exec_prefix}/lib'libexecdir='${exec_prefix}/libexec'localedir='${datarootdir}/locale'localstatedir='${prefix}/var'mandir='${datarootdir}/man'mkdir_p='$(MKDIR_P)'oldincludedir='/usr/include'pdfdir='${docdir}'prefix='/usr'program_transform_name='s,x,x,'psdir='${docdir}'sbindir='${exec_prefix}/sbin'sharedstatedir='${prefix}/com'sysconfdir='${prefix}/etc'target_alias=''## ----------- #### confdefs.h. #### ----------- ##/* confdefs.h */#define PACKAGE_NAME "stlink"#define PACKAGE_TARNAME "stlink"#define PACKAGE_VERSION "0.5.6"#define PACKAGE_STRING "stlink 0.5.6"#define PACKAGE_BUGREPORT "davem@devkitpro.org"#define PACKAGE_URL ""#define PACKAGE "stlink"#define VERSION "0.5.6"#define STDC_HEADERS 1#define HAVE_SYS_TYPES_H 1#define HAVE_SYS_STAT_H 1#define HAVE_STDLIB_H 1#define HAVE_STRING_H 1#define HAVE_MEMORY_H 1#define HAVE_STRINGS_H 1#define HAVE_INTTYPES_H 1#define HAVE_STDINT_H 1#define HAVE_UNISTD_H 1#define HAVE_SYS_MMAN_H 1#define HAVE_SYS_POLL_H 1#define HAVE_MMAP 1configure: exit 0