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/libexec
CMD: 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 Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
Unescaped 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 -c
checking whether build environment is sane... yes
checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for arm-linux-androideabi-gcc... arm-linux-androideabi-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-androideabi-gcc accepts -g... yes
checking for arm-linux-androideabi-gcc option to accept ISO C89... none needed
checking whether arm-linux-androideabi-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of arm-linux-androideabi-gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking for arm-linux-androideabi-ranlib... arm-linux-androideabi-ranlib
checking how to run the C preprocessor... arm-linux-androideabi-gcc -E
checking for grep that handles long lines and -e... /usr/sbin/grep
checking for egrep... /usr/sbin/grep -E
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 sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for mmap... yes
checking for arm-linux-androideabi-pkg-config... no
checking for pkg-config... /usr/sbin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking for USB... yes
checking for usb_path2devnum in -lusbpath... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
Making 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.c
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_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.c
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/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.c
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/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.c
src/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.Po
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/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.c
mv -f src/.deps/st_term-st-term.Tpo src/.deps/st_term-st-term.Po
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/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.c
mv -f src/.deps/libstlink_a-uglylogging.Tpo src/.deps/libstlink_a-uglylogging.Po
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/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.c
mv -f src/.deps/libstlink_a-st-term.Tpo src/.deps/libstlink_a-st-term.Po
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 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.c
mv -f src/.deps/libstlink_a-stlink-usb.Tpo src/.deps/libstlink_a-stlink-usb.Po
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 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.c
mv -f flash/.deps/st_flash-main.Tpo flash/.deps/st_flash-main.Po
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 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.c
mv -f gdbserver/.deps/st_util-gdb-remote.Tpo gdbserver/.deps/st_util-gdb-remote.Po
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 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.c
mv -f src/.deps/libstlink_a-stlink-sg.Tpo src/.deps/libstlink_a-stlink-sg.Po
mv -f mingw/.deps/st_util-mingw.Tpo mingw/.deps/st_util-mingw.Po
mv -f src/.deps/libstlink_a-stlink-common.Tpo src/.deps/libstlink_a-stlink-common.Po
rm -f libstlink.a
ar 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.a
arm-linux-androideabi-gcc -I/usr/include/libusb-1.0 -o st-flash flash/st_flash-main.o libstlink.a -lusb-1.0
arm-linux-androideabi-gcc -I/usr/include/libusb-1.0 -o st-term src/st_term-st-term.o libstlink.a -lusb-1.0
arm-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.0
libstlink.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 status
make[1]: *** [Makefile:533: st-term] Error 1
make[1]: *** Waiting for unfinished jobs....
/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lusb-1.0
libstlink.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 status
make[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.0
libstlink.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 status
make[1]: *** [Makefile:527: st-info] Error 1
mv -f gdbserver/.deps/st_util-gdb-server.Tpo gdbserver/.deps/st_util-gdb-server.Po
make[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 while
running configure, to aid debugging if configure makes a mistake.
It was created by stlink configure 0.5.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr
## --------- ##
## Platform. ##
## --------- ##
hostname = 0590adb9ee84
uname -m = x86_64
uname -r = 4.10.6-1-ARCH
uname -s = Linux
uname -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 = unknown
PATH: /sysroot/bin
PATH: /sysroot/libexec/gcc/arm-linux-androideabi/4.8
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2242: checking for a BSD-compatible install
configure:2310: result: /usr/bin/install -c
configure:2321: checking whether build environment is sane
configure:2376: result: yes
configure:2435: checking for arm-linux-androideabi-strip
configure:2451: found /sysroot/bin/arm-linux-androideabi-strip
configure:2462: result: arm-linux-androideabi-strip
configure:2527: checking for a thread-safe mkdir -p
configure:2566: result: /usr/sbin/mkdir -p
configure:2573: checking for gawk
configure:2589: found /usr/sbin/gawk
configure:2600: result: gawk
configure:2611: checking whether make sets $(MAKE)
configure:2633: result: yes
configure:2662: checking whether make supports nested variables
configure:2679: result: yes
configure:2816: checking for arm-linux-androideabi-gcc
configure:2843: result: arm-linux-androideabi-gcc
configure:3112: checking for C compiler version
configure:3121: arm-linux-androideabi-gcc --version >&5
arm-linux-androideabi-gcc (GCC) 4.8
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3132: $? = 0
configure:3121: arm-linux-androideabi-gcc -v >&5
Using built-in specs.
COLLECT_GCC=arm-linux-androideabi-gcc
COLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper
Target: arm-linux-androideabi
Configured 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=default
Thread model: posix
gcc version 4.8 (GCC)
configure:3132: $? = 0
configure:3121: arm-linux-androideabi-gcc -V >&5
arm-linux-androideabi-gcc: error: unrecognized command line option '-V'
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
configure:3132: $? = 1
configure:3121: arm-linux-androideabi-gcc -qversion >&5
arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion'
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
configure:3132: $? = 1
configure:3152: checking whether the C compiler works
configure:3174: arm-linux-androideabi-gcc conftest.c >&5
configure:3178: $? = 0
configure:3226: result: yes
configure:3229: checking for C compiler default output file name
configure:3231: result: a.out
configure:3237: checking for suffix of executables
configure:3244: arm-linux-androideabi-gcc -o conftest conftest.c >&5
configure:3248: $? = 0
configure:3270: result:
configure:3292: checking whether we are cross compiling
configure:3330: result: yes
configure:3335: checking for suffix of object files
configure:3357: arm-linux-androideabi-gcc -c conftest.c >&5
configure:3361: $? = 0
configure:3382: result: o
configure:3386: checking whether we are using the GNU C compiler
configure:3405: arm-linux-androideabi-gcc -c conftest.c >&5
configure:3405: $? = 0
configure:3414: result: yes
configure:3423: checking whether arm-linux-androideabi-gcc accepts -g
configure:3443: arm-linux-androideabi-gcc -c -g conftest.c >&5
configure:3443: $? = 0
configure:3484: result: yes
configure:3501: checking for arm-linux-androideabi-gcc option to accept ISO C89
configure:3564: arm-linux-androideabi-gcc -c conftest.c >&5
configure:3564: $? = 0
configure:3577: result: none needed
configure:3602: checking whether arm-linux-androideabi-gcc understands -c and -o together
configure:3624: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
configure:3627: $? = 0
configure:3624: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
configure:3627: $? = 0
configure:3639: result: yes
configure:3667: checking for style of include used by make
configure:3695: result: GNU
configure:3721: checking dependency style of arm-linux-androideabi-gcc
configure:3832: result: gcc3
configure:3852: checking build system type
configure:3866: result: x86_64-unknown-linux-gnu
configure:3886: checking host system type
configure:3899: result: arm-unknown-linux-androideabi
configure:3923: checking for arm-linux-androideabi-ranlib
configure:3939: found /sysroot/bin/arm-linux-androideabi-ranlib
configure:3950: result: arm-linux-androideabi-ranlib
configure:4020: checking how to run the C preprocessor
configure:4051: arm-linux-androideabi-gcc -E conftest.c
configure:4051: $? = 0
configure:4065: arm-linux-androideabi-gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
#include
^
compilation terminated.
configure:4065: $? = 1
configure: 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 -E
configure:4110: arm-linux-androideabi-gcc -E conftest.c
configure:4110: $? = 0
configure:4124: arm-linux-androideabi-gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
#include
^
compilation terminated.
configure:4124: $? = 1
configure: 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 -e
configure:4211: result: /usr/sbin/grep
configure:4216: checking for egrep
configure:4278: result: /usr/sbin/grep -E
configure:4283: checking for ANSI C header files
configure:4303: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4303: $? = 0
configure:4387: result: yes
configure:4400: checking for sys/types.h
configure:4400: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4400: $? = 0
configure:4400: result: yes
configure:4400: checking for sys/stat.h
configure:4400: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4400: $? = 0
configure:4400: result: yes
configure:4400: checking for stdlib.h
configure:4400: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4400: $? = 0
configure:4400: result: yes
configure:4400: checking for string.h
configure:4400: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4400: $? = 0
configure:4400: result: yes
configure:4400: checking for memory.h
configure:4400: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4400: $? = 0
configure:4400: result: yes
configure:4400: checking for strings.h
configure:4400: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4400: $? = 0
configure:4400: result: yes
configure:4400: checking for inttypes.h
configure:4400: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4400: $? = 0
configure:4400: result: yes
configure:4400: checking for stdint.h
configure:4400: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4400: $? = 0
configure:4400: result: yes
configure:4400: checking for unistd.h
configure:4400: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4400: $? = 0
configure:4400: result: yes
configure:4414: checking sys/mman.h usability
configure:4414: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4414: $? = 0
configure:4414: result: yes
configure:4414: checking sys/mman.h presence
configure:4414: arm-linux-androideabi-gcc -E conftest.c
configure:4414: $? = 0
configure:4414: result: yes
configure:4414: checking for sys/mman.h
configure:4414: result: yes
configure:4426: checking sys/poll.h usability
configure:4426: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4426: $? = 0
configure:4426: result: yes
configure:4426: checking sys/poll.h presence
configure:4426: arm-linux-androideabi-gcc -E conftest.c
configure:4426: $? = 0
configure:4426: result: yes
configure:4426: checking for sys/poll.h
configure:4426: result: yes
configure:4436: checking for mmap
configure:4436: arm-linux-androideabi-gcc -o conftest conftest.c >&5
configure:4436: $? = 0
configure:4436: result: yes
configure:4468: checking for arm-linux-androideabi-pkg-config
configure:4501: result: no
configure:4511: checking for pkg-config
configure:4529: found /usr/sbin/pkg-config
configure:4541: result: /usr/sbin/pkg-config
configure:4553: WARNING: using cross tools not prefixed with host triplet
configure:4566: checking pkg-config is at least version 0.9.0
configure:4569: result: yes
configure:4579: checking for USB
configure:4586: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.0"
configure:4589: $? = 0
configure:4603: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.0"
configure:4606: $? = 0
configure:4644: result: yes
configure:4648: checking for usb_path2devnum in -lusbpath
configure: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 status
configure:4673: $? = 1
configure: 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: no
configure:5069: checking that generated files are newer than configure
configure:5075: result: done
configure:5106: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by stlink config.status 0.5.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on 0590adb9ee84
config.status:799: creating Makefile
config.status:971: executing depfiles commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=arm-linux-androideabi-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_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=set
ac_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=set
ac_cv_env_build_alias_value=x86_64-unknown-linux
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux-androideabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_mmap=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_mman_h=yes
ac_cv_header_sys_poll_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=arm-unknown-linux-androideabi
ac_cv_lib_usbpath_usb_path2devnum=no
ac_cv_objext=o
ac_cv_path_EGREP='/usr/sbin/grep -E'
ac_cv_path_GREP=/usr/sbin/grep
ac_cv_path_ac_pt_PKG_CONFIG=/usr/sbin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/sbin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=arm-linux-androideabi-gcc
ac_cv_prog_CPP='arm-linux-androideabi-gcc -E'
ac_cv_prog_RANLIB=arm-linux-androideabi-ranlib
ac_cv_prog_STRIP=arm-linux-androideabi-strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
pkg_cv_USB_CFLAGS=-I/usr/include/libusb-1.0
pkg_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 1
configure: exit 0