Hallo an beide
hier ist zu bestaunen was daraus geworden ist.
:~$ cd ~/Downloads
:~/Downloads$ ls
libftd2xx-x86_64-1.4.6.tgz pk2cmdv1.20LinuxMacSource PK2DeviceFile.zip
libusb-0.1.12 pk2cmdv1.20LinuxMacSource.tar.gz
libusb-0.1.12.tar.gz PK2DeviceFile.dat
vater@vater-Aspire-6920:~/Downloads$ cd
vater@vater-Aspire-6920:~$ cd ~/Downloads/libusb-0.1.12
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for what USB OS support... Linux
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for memmove... yes
checking for pkg-config... /usr/bin/pkg-config
checking if we should build the documentation... auto
checking for jade... no
checking for openjade... no
checking for Doxygen tools... checking for dot... not found
checking for doxygen... not found
configure: WARNING: Documentation build components not installed. sgml docs will not be built
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating libusb.spec
config.status: creating libusb-config
config.status: creating libusb.pc
config.status: creating tests/Makefile
config.status: creating README
config.status: creating INSTALL.libusb
config.status: creating usb.h
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ make
make all-recursive
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
Making all in .
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF ".deps/usb.Tpo" -c -o usb.lo usb.c; \
then mv -f ".deps/usb.Tpo" ".deps/usb.Plo"; else rm -f ".deps/usb.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -fPIC -DPIC -o .libs/usb.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -o usb.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF ".deps/error.Tpo" -c -o error.lo error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Plo"; else rm -f ".deps/error.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF ".deps/descriptors.Tpo" -c -o descriptors.lo descriptors.c; \
then mv -f ".deps/descriptors.Tpo" ".deps/descriptors.Plo"; else rm -f ".deps/descriptors.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -fPIC -DPIC -o .libs/descriptors.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -o descriptors.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF ".deps/linux.Tpo" -c -o linux.lo linux.c; \
then mv -f ".deps/linux.Tpo" ".deps/linux.Plo"; else rm -f ".deps/linux.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -fPIC -DPIC -o .libs/linux.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -o linux.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link gcc -Werror -g -O2 -g -Wall -o libusb.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic usb.lo error.lo descriptors.lo linux.lo
gcc -shared .libs/usb.o .libs/error.o .libs/descriptors.o .libs/linux.o -Wl,-soname -Wl,libusb-0.1.so.4 -o .libs/libusb-0.1.so.4.4.4
(cd .libs && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd .libs && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
ar cru .libs/libusb.a usb.o error.o descriptors.o linux.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusb.a
creating libusb.la
(cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
if /bin/bash ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp; \
then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f ".deps/usbpp.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -fPIC -DPIC -o .libs/usbpp.o
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/home/vater/Downloads/libusb-0.1.12/.libs -Wl,--rpath -Wl,/usr/local/lib /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
(cd .libs && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd .libs && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
ar cru .libs/libusbpp.a usbpp.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusbpp.a
creating libusbpp.la
(cd .libs && rm -f libusbpp.la && ln -s ../libusbpp.la libusbpp.la)
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making all in tests
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
if gcc -DHAVE_CONFIG_H -I.. -I.. -g -O2 -g -Wall -MT testlibusb.o -MD -MP -MF ".deps/testlibusb.Tpo" -c -o testlibusb.o testlibusb.c; \
then mv -f ".deps/testlibusb.Tpo" ".deps/testlibusb.Po"; else rm -f ".deps/testlibusb.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link gcc -g -O2 -g -Wall -o testlibusb testlibusb.o ../libusb.la
mkdir .libs
gcc -g -O2 -g -Wall -o .libs/testlibusb testlibusb.o ../.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating testlibusb
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT descriptor_test.o -MD -MP -MF ".deps/descriptor_test.Tpo" -c -o descriptor_test.o descriptor_test.cpp; \
then mv -f ".deps/descriptor_test.Tpo" ".deps/descriptor_test.Po"; else rm -f ".deps/descriptor_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o descriptor_test descriptor_test.o ../libusbpp.la
g++ -g -O2 -o .libs/descriptor_test descriptor_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating descriptor_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT id_test.o -MD -MP -MF ".deps/id_test.Tpo" -c -o id_test.o id_test.cpp; \
then mv -f ".deps/id_test.Tpo" ".deps/id_test.Po"; else rm -f ".deps/id_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o id_test id_test.o ../libusbpp.la
g++ -g -O2 -o .libs/id_test id_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating id_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_hubs.o -MD -MP -MF ".deps/find_hubs.Tpo" -c -o find_hubs.o find_hubs.cpp; \
then mv -f ".deps/find_hubs.Tpo" ".deps/find_hubs.Po"; else rm -f ".deps/find_hubs.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_hubs find_hubs.o ../libusbpp.la
g++ -g -O2 -o .libs/find_hubs find_hubs.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_hubs
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_mice.o -MD -MP -MF ".deps/find_mice.Tpo" -c -o find_mice.o find_mice.cpp; \
then mv -f ".deps/find_mice.Tpo" ".deps/find_mice.Po"; else rm -f ".deps/find_mice.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_mice find_mice.o ../libusbpp.la
g++ -g -O2 -o .libs/find_mice find_mice.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_mice
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT get_resolution.o -MD -MP -MF ".deps/get_resolution.Tpo" -c -o get_resolution.o get_resolution.cpp; \
then mv -f ".deps/get_resolution.Tpo" ".deps/get_resolution.Po"; else rm -f ".deps/get_resolution.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o get_resolution get_resolution.o ../libusbpp.la
g++ -g -O2 -o .libs/get_resolution get_resolution.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating get_resolution
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT hub_strings.o -MD -MP -MF ".deps/hub_strings.Tpo" -c -o hub_strings.o hub_strings.cpp; \
then mv -f ".deps/hub_strings.Tpo" ".deps/hub_strings.Po"; else rm -f ".deps/hub_strings.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o hub_strings hub_strings.o ../libusbpp.la
g++ -g -O2 -o .libs/hub_strings hub_strings.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating hub_strings
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT driver_name.o -MD -MP -MF ".deps/driver_name.Tpo" -c -o driver_name.o driver_name.cpp; \
then mv -f ".deps/driver_name.Tpo" ".deps/driver_name.Po"; else rm -f ".deps/driver_name.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o driver_name driver_name.o ../libusbpp.la
g++ -g -O2 -o .libs/driver_name driver_name.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating driver_name
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making all in doc
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „all“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ sudo make install
[sudo] Passwort für vater:
Making install in .
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
/usr/bin/install -c 'libusb-config' '/usr/local/bin/libusb-config'
test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib"
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusb.la' '/usr/local/lib/libusb.la'
/usr/bin/install -c .libs/libusb-0.1.so.4.4.4 /usr/local/lib/libusb-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd /usr/local/lib && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
/usr/bin/install -c .libs/libusb.lai /usr/local/lib/libusb.la
/usr/bin/install -c .libs/libusb.a /usr/local/lib/libusb.a
ranlib /usr/local/lib/libusb.a
chmod 644 /usr/local/lib/libusb.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusbpp.la' '/usr/local/lib/libusbpp.la'
libtool: install: warning: relinking `libusbpp.la'
(cd /home/vater/Downloads/libusb-0.1.12; /bin/bash ./libtool --mode=relink g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo )
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -lusb -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
/usr/bin/install -c .libs/libusbpp-0.1.so.4.4.4T /usr/local/lib/libusbpp-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd /usr/local/lib && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
/usr/bin/install -c .libs/libusbpp.lai /usr/local/lib/libusbpp.la
/usr/bin/install -c .libs/libusbpp.a /usr/local/lib/libusbpp.a
ranlib /usr/local/lib/libusbpp.a
chmod 644 /usr/local/lib/libusbpp.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usbpp.h' '/usr/local/include/usbpp.h'
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usb.h' '/usr/local/include/usb.h'
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- . "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'libusb.pc' '/usr/local/lib/pkgconfig/libusb.pc'
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making install in tests
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ vater@vater-Aspire-6920:~$ cd ~/Downloads
vater@vater-Aspire-6920:~/Downloads$ ls
libftd2xx-x86_64-1.4.6.tgz pk2cmdv1.20LinuxMacSource PK2DeviceFile.zip
libusb-0.1.12 pk2cmdv1.20LinuxMacSource.tar.gz
libusb-0.1.12.tar.gz PK2DeviceFile.dat
vater@vater-Aspire-6920:~/Downloads$ cd
vater@vater-Aspire-6920:~$ cd ~/Downloads/libusb-0.1.12
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for what USB OS support... Linux
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for memmove... yes
checking for pkg-config... /usr/bin/pkg-config
checking if we should build the documentation... auto
checking for jade... no
checking for openjade... no
checking for Doxygen tools... checking for dot... not found
checking for doxygen... not found
configure: WARNING: Documentation build components not installed. sgml docs will not be built
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating libusb.spec
config.status: creating libusb-config
config.status: creating libusb.pc
config.status: creating tests/Makefile
config.status: creating README
config.status: creating INSTALL.libusb
config.status: creating usb.h
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ make
make all-recursive
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
Making all in .
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF ".deps/usb.Tpo" -c -o usb.lo usb.c; \
then mv -f ".deps/usb.Tpo" ".deps/usb.Plo"; else rm -f ".deps/usb.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -fPIC -DPIC -o .libs/usb.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -o usb.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF ".deps/error.Tpo" -c -o error.lo error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Plo"; else rm -f ".deps/error.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF ".deps/descriptors.Tpo" -c -o descriptors.lo descriptors.c; \
then mv -f ".deps/descriptors.Tpo" ".deps/descriptors.Plo"; else rm -f ".deps/descriptors.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -fPIC -DPIC -o .libs/descriptors.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -o descriptors.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF ".deps/linux.Tpo" -c -o linux.lo linux.c; \
then mv -f ".deps/linux.Tpo" ".deps/linux.Plo"; else rm -f ".deps/linux.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -fPIC -DPIC -o .libs/linux.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -o linux.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link gcc -Werror -g -O2 -g -Wall -o libusb.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic usb.lo error.lo descriptors.lo linux.lo
gcc -shared .libs/usb.o .libs/error.o .libs/descriptors.o .libs/linux.o -Wl,-soname -Wl,libusb-0.1.so.4 -o .libs/libusb-0.1.so.4.4.4
(cd .libs && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd .libs && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
ar cru .libs/libusb.a usb.o error.o descriptors.o linux.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusb.a
creating libusb.la
(cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
if /bin/bash ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp; \
then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f ".deps/usbpp.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -fPIC -DPIC -o .libs/usbpp.o
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/home/vater/Downloads/libusb-0.1.12/.libs -Wl,--rpath -Wl,/usr/local/lib /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
(cd .libs && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd .libs && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
ar cru .libs/libusbpp.a usbpp.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusbpp.a
creating libusbpp.la
(cd .libs && rm -f libusbpp.la && ln -s ../libusbpp.la libusbpp.la)
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making all in tests
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
if gcc -DHAVE_CONFIG_H -I.. -I.. -g -O2 -g -Wall -MT testlibusb.o -MD -MP -MF ".deps/testlibusb.Tpo" -c -o testlibusb.o testlibusb.c; \
then mv -f ".deps/testlibusb.Tpo" ".deps/testlibusb.Po"; else rm -f ".deps/testlibusb.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link gcc -g -O2 -g -Wall -o testlibusb testlibusb.o ../libusb.la
mkdir .libs
gcc -g -O2 -g -Wall -o .libs/testlibusb testlibusb.o ../.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating testlibusb
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT descriptor_test.o -MD -MP -MF ".deps/descriptor_test.Tpo" -c -o descriptor_test.o descriptor_test.cpp; \
then mv -f ".deps/descriptor_test.Tpo" ".deps/descriptor_test.Po"; else rm -f ".deps/descriptor_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o descriptor_test descriptor_test.o ../libusbpp.la
g++ -g -O2 -o .libs/descriptor_test descriptor_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating descriptor_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT id_test.o -MD -MP -MF ".deps/id_test.Tpo" -c -o id_test.o id_test.cpp; \
then mv -f ".deps/id_test.Tpo" ".deps/id_test.Po"; else rm -f ".deps/id_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o id_test id_test.o ../libusbpp.la
g++ -g -O2 -o .libs/id_test id_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating id_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_hubs.o -MD -MP -MF ".deps/find_hubs.Tpo" -c -o find_hubs.o find_hubs.cpp; \
then mv -f ".deps/find_hubs.Tpo" ".deps/find_hubs.Po"; else rm -f ".deps/find_hubs.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_hubs find_hubs.o ../libusbpp.la
g++ -g -O2 -o .libs/find_hubs find_hubs.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_hubs
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_mice.o -MD -MP -MF ".deps/find_mice.Tpo" -c -o find_mice.o find_mice.cpp; \
then mv -f ".deps/find_mice.Tpo" ".deps/find_mice.Po"; else rm -f ".deps/find_mice.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_mice find_mice.o ../libusbpp.la
g++ -g -O2 -o .libs/find_mice find_mice.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_mice
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT get_resolution.o -MD -MP -MF ".deps/get_resolution.Tpo" -c -o get_resolution.o get_resolution.cpp; \
then mv -f ".deps/get_resolution.Tpo" ".deps/get_resolution.Po"; else rm -f ".deps/get_resolution.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o get_resolution get_resolution.o ../libusbpp.la
g++ -g -O2 -o .libs/get_resolution get_resolution.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating get_resolution
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT hub_strings.o -MD -MP -MF ".deps/hub_strings.Tpo" -c -o hub_strings.o hub_strings.cpp; \
then mv -f ".deps/hub_strings.Tpo" ".deps/hub_strings.Po"; else rm -f ".deps/hub_strings.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o hub_strings hub_strings.o ../libusbpp.la
g++ -g -O2 -o .libs/hub_strings hub_strings.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating hub_strings
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT driver_name.o -MD -MP -MF ".deps/driver_name.Tpo" -c -o driver_name.o driver_name.cpp; \
then mv -f ".deps/driver_name.Tpo" ".deps/driver_name.Po"; else rm -f ".deps/driver_name.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o driver_name driver_name.o ../libusbpp.la
g++ -g -O2 -o .libs/driver_name driver_name.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating driver_name
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making all in doc
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „all“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ sudo make install
[sudo] Passwort für vater:
Making install in .
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
/usr/bin/install -c 'libusb-config' '/usr/local/bin/libusb-config'
test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib"
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusb.la' '/usr/local/lib/libusb.la'
/usr/bin/install -c .libs/libusb-0.1.so.4.4.4 /usr/local/lib/libusb-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd /usr/local/lib && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
/usr/bin/install -c .libs/libusb.lai /usr/local/lib/libusb.la
/usr/bin/install -c .libs/libusb.a /usr/local/lib/libusb.a
ranlib /usr/local/lib/libusb.a
chmod 644 /usr/local/lib/libusb.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusbpp.la' '/usr/local/lib/libusbpp.la'
libtool: install: warning: relinking `libusbpp.la'vater@vater-Aspire-6920:~$ cd ~/Downloads
vater@vater-Aspire-6920:~/Downloads$ ls
libftd2xx-x86_64-1.4.6.tgz pk2cmdv1.20LinuxMacSource PK2DeviceFile.zip
libusb-0.1.12 pk2cmdv1.20LinuxMacSource.tar.gz
libusb-0.1.12.tar.gz PK2DeviceFile.dat
vater@vater-Aspire-6920:~/Downloads$ cd
vater@vater-Aspire-6920:~$ cd ~/Downloads/libusb-0.1.12
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for what USB OS support... Linux
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for memmove... yes
checking for pkg-config... /usr/bin/pkg-config
checking if we should build the documentation... auto
checking for jade... no
checking for openjade... no
checking for Doxygen tools... checking for dot... not found
checking for doxygen... not found
configure: WARNING: Documentation build components not installed. sgml docs will not be built
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating libusb.spec
config.status: creating libusb-config
config.status: creating libusb.pc
config.status: creating tests/Makefile
config.status: creating README
config.status: creating INSTALL.libusb
config.status: creating usb.h
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ make
make all-recursive
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
Making all in .
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF ".deps/usb.Tpo" -c -o usb.lo usb.c; \
then mv -f ".deps/usb.Tpo" ".deps/usb.Plo"; else rm -f ".deps/usb.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -fPIC -DPIC -o .libs/usb.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -o usb.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF ".deps/error.Tpo" -c -o error.lo error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Plo"; else rm -f ".deps/error.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF ".deps/descriptors.Tpo" -c -o descriptors.lo descriptors.c; \
then mv -f ".deps/descriptors.Tpo" ".deps/descriptors.Plo"; else rm -f ".deps/descriptors.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -fPIC -DPIC -o .libs/descriptors.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -o descriptors.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF ".deps/linux.Tpo" -c -o linux.lo linux.c; \
then mv -f ".deps/linux.Tpo" ".deps/linux.Plo"; else rm -f ".deps/linux.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -fPIC -DPIC -o .libs/linux.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -o linux.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link gcc -Werror -g -O2 -g -Wall -o libusb.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic usb.lo error.lo descriptors.lo linux.lo
gcc -shared .libs/usb.o .libs/error.o .libs/descriptors.o .libs/linux.o -Wl,-soname -Wl,libusb-0.1.so.4 -o .libs/libusb-0.1.so.4.4.4
(cd .libs && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd .libs && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
ar cru .libs/libusb.a usb.o error.o descriptors.o linux.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusb.a
creating libusb.la
(cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
if /bin/bash ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp; \
then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f ".deps/usbpp.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -fPIC -DPIC -o .libs/usbpp.o
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/home/vater/Downloads/libusb-0.1.12/.libs -Wl,--rpath -Wl,/usr/local/lib /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
(cd .libs && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd .libs && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
ar cru .libs/libusbpp.a usbpp.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusbpp.a
creating libusbpp.la
(cd .libs && rm -f libusbpp.la && ln -s ../libusbpp.la libusbpp.la)
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making all in tests
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
if gcc -DHAVE_CONFIG_H -I.. -I.. -g -O2 -g -Wall -MT testlibusb.o -MD -MP -MF ".deps/testlibusb.Tpo" -c -o testlibusb.o testlibusb.c; \
then mv -f ".deps/testlibusb.Tpo" ".deps/testlibusb.Po"; else rm -f ".deps/testlibusb.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link gcc -g -O2 -g -Wall -o testlibusb testlibusb.o ../libusb.la
mkdir .libs
gcc -g -O2 -g -Wall -o .libs/testlibusb testlibusb.o ../.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating testlibusb
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT descriptor_test.o -MD -MP -MF ".deps/descriptor_test.Tpo" -c -o descriptor_test.o descriptor_test.cpp; \
then mv -f ".deps/descriptor_test.Tpo" ".deps/descriptor_test.Po"; else rm -f ".deps/descriptor_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o descriptor_test descriptor_test.o ../libusbpp.la
g++ -g -O2 -o .libs/descriptor_test descriptor_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating descriptor_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT id_test.o -MD -MP -MF ".deps/id_test.Tpo" -c -o id_test.o id_test.cpp; \
then mv -f ".deps/id_test.Tpo" ".deps/id_test.Po"; else rm -f ".deps/id_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o id_test id_test.o ../libusbpp.la
g++ -g -O2 -o .libs/id_test id_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating id_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_hubs.o -MD -MP -MF ".deps/find_hubs.Tpo" -c -o find_hubs.o find_hubs.cpp; \
then mv -f ".deps/find_hubs.Tpo" ".deps/find_hubs.Po"; else rm -f ".deps/find_hubs.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_hubs find_hubs.o ../libusbpp.la
g++ -g -O2 -o .libs/find_hubs find_hubs.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_hubs
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_mice.o -MD -MP -MF ".deps/find_mice.Tpo" -c -o find_mice.o find_mice.cpp; \
then mv -f ".deps/find_mice.Tpo" ".deps/find_mice.Po"; else rm -f ".deps/find_mice.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_mice find_mice.o ../libusbpp.la
g++ -g -O2 -o .libs/find_mice find_mice.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_mice
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT get_resolution.o -MD -MP -MF ".deps/get_resolution.Tpo" -c -o get_resolution.o get_resolution.cpp; \
then mv -f ".deps/get_resolution.Tpo" ".deps/get_resolution.Po"; else rm -f ".deps/get_resolution.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o get_resolution get_resolution.o ../libusbpp.la
g++ -g -O2 -o .libs/get_resolution get_resolution.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating get_resolution
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT hub_strings.o -MD -MP -MF ".deps/hub_strings.Tpo" -c -o hub_strings.o hub_strings.cpp; \
then mv -f ".deps/hub_strings.Tpo" ".deps/hub_strings.Po"; else rm -f ".deps/hub_strings.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o hub_strings hub_strings.o ../libusbpp.la
g++ -g -O2 -o .libs/hub_strings hub_strings.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating hub_strings
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT driver_name.o -MD -MP -MF ".deps/driver_name.Tpo" -c -o driver_name.o driver_name.cpp; \
then mv -f ".deps/driver_name.Tpo" ".deps/driver_name.Po"; else rm -f ".deps/driver_name.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o driver_name driver_name.o ../libusbpp.la
g++ -g -O2 -o .libs/driver_name driver_name.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating driver_name
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making all in doc
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „all“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ sudo make install
[sudo] Passwort für vater:
Making install in .
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
/usr/bin/install -c 'libusb-config' '/usr/local/bin/libusb-config'
test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib"
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusb.la' '/usr/local/lib/libusb.la'
/usr/bin/install -c .libs/libusb-0.1.so.4.4.4 /usr/local/lib/libusb-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd /usr/local/lib && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
/usr/bin/install -c .libs/libusb.lai /usr/local/lib/libusb.la
/usr/bin/install -c .libs/libusb.a /usr/local/lib/libusb.a
ranlib /usr/local/lib/libusb.a
chmod 644 /usr/local/lib/libusb.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusbpp.la' '/usr/local/lib/libusbpp.la'
libtool: install: warning: relinking `libusbpp.la'
(cd /home/vater/Downloads/libusb-0.1.12; /bin/bash ./libtool --mode=relink g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo )
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -lusb -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
/usr/bin/install -c .libs/libusbpp-0.1.so.4.4.4T /usr/local/lib/libusbpp-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd /usr/local/lib && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
/usr/bin/install -c .libs/libusbpp.lai /usr/local/lib/libusbpp.la
/usr/bin/install -c .libs/libusbpp.a /usr/local/lib/libusbpp.a
ranlib /usr/local/lib/libusbpp.a
chmod 644 /usr/local/lib/libusbpp.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usbpp.h' '/usr/local/include/usbpp.h'
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usb.h' '/usr/local/include/usb.h'
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- . "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'libusb.pc' '/usr/local/lib/pkgconfig/libusb.pc'
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making install in testsvater@vater-Aspire-6920:~$ cd ~/Downloads
vater@vater-Aspire-6920:~/Downloads$ ls
libftd2xx-x86_64-1.4.6.tgz pk2cmdv1.20LinuxMacSource PK2DeviceFile.zip
libusb-0.1.12 pk2cmdv1.20LinuxMacSource.tar.gz
libusb-0.1.12.tar.gz PK2DeviceFile.dat
vater@vater-Aspire-6920:~/Downloads$ cd
vater@vater-Aspire-6920:~$ cd ~/Downloads/libusb-0.1.12
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for what USB OS support... Linux
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for memmove... yes
checking for pkg-config... /usr/bin/pkg-config
checking if we should build the documentation... auto
checking for jade... no
checking for openjade... no
checking for Doxygen tools... checking for dot... not found
checking for doxygen... not found
configure: WARNING: Documentation build components not installed. sgml docs will not be built
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating libusb.spec
config.status: creating libusb-config
config.status: creating libusb.pc
config.status: creating tests/Makefile
config.status: creating README
config.status: creating INSTALL.libusb
config.status: creating usb.h
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ make
make all-recursive
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
Making all in .
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF ".deps/usb.Tpo" -c -o usb.lo usb.c; \
then mv -f ".deps/usb.Tpo" ".deps/usb.Plo"; else rm -f ".deps/usb.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -fPIC -DPIC -o .libs/usb.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -o usb.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF ".deps/error.Tpo" -c -o error.lo error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Plo"; else rm -f ".deps/error.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF ".deps/descriptors.Tpo" -c -o descriptors.lo descriptors.c; \
then mv -f ".deps/descriptors.Tpo" ".deps/descriptors.Plo"; else rm -f ".deps/descriptors.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -fPIC -DPIC -o .libs/descriptors.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -o descriptors.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF ".deps/linux.Tpo" -c -o linux.lo linux.c; \
then mv -f ".deps/linux.Tpo" ".deps/linux.Plo"; else rm -f ".deps/linux.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -fPIC -DPIC -o .libs/linux.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -o linux.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link gcc -Werror -g -O2 -g -Wall -o libusb.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic usb.lo error.lo descriptors.lo linux.lo
gcc -shared .libs/usb.o .libs/error.o .libs/descriptors.o .libs/linux.o -Wl,-soname -Wl,libusb-0.1.so.4 -o .libs/libusb-0.1.so.4.4.4
(cd .libs && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd .libs && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
ar cru .libs/libusb.a usb.o error.o descriptors.o linux.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusb.a
creating libusb.la
(cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
if /bin/bash ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp; \
then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f ".deps/usbpp.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -fPIC -DPIC -o .libs/usbpp.o
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/home/vater/Downloads/libusb-0.1.12/.libs -Wl,--rpath -Wl,/usr/local/lib /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
(cd .libs && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd .libs && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
ar cru .libs/libusbpp.a usbpp.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusbpp.a
creating libusbpp.la
(cd .libs && rm -f libusbpp.la && ln -s ../libusbpp.la libusbpp.la)
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making all in tests
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
if gcc -DHAVE_CONFIG_H -I.. -I.. -g -O2 -g -Wall -MT testlibusb.o -MD -MP -MF ".deps/testlibusb.Tpo" -c -o testlibusb.o testlibusb.c; \
then mv -f ".deps/testlibusb.Tpo" ".deps/testlibusb.Po"; else rm -f ".deps/testlibusb.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link gcc -g -O2 -g -Wall -o testlibusb testlibusb.o ../libusb.la
mkdir .libs
gcc -g -O2 -g -Wall -o .libs/testlibusb testlibusb.o ../.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating testlibusb
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT descriptor_test.o -MD -MP -MF ".deps/descriptor_test.Tpo" -c -o descriptor_test.o descriptor_test.cpp; \
then mv -f ".deps/descriptor_test.Tpo" ".deps/descriptor_test.Po"; else rm -f ".deps/descriptor_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o descriptor_test descriptor_test.o ../libusbpp.la
g++ -g -O2 -o .libs/descriptor_test descriptor_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating descriptor_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT id_test.o -MD -MP -MF ".deps/id_test.Tpo" -c -o id_test.o id_test.cpp; \
then mv -f ".deps/id_test.Tpo" ".deps/id_test.Po"; else rm -f ".deps/id_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o id_test id_test.o ../libusbpp.la
g++ -g -O2 -o .libs/id_test id_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating id_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_hubs.o -MD -MP -MF ".deps/find_hubs.Tpo" -c -o find_hubs.o find_hubs.cpp; \
then mv -f ".deps/find_hubs.Tpo" ".deps/find_hubs.Po"; else rm -f ".deps/find_hubs.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_hubs find_hubs.o ../libusbpp.la
g++ -g -O2 -o .libs/find_hubs find_hubs.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_hubs
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_mice.o -MD -MP -MF ".deps/find_mice.Tpo" -c -o find_mice.o find_mice.cpp; \
then mv -f ".deps/find_mice.Tpo" ".deps/find_mice.Po"; else rm -f ".deps/find_mice.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_mice find_mice.o ../libusbpp.la
g++ -g -O2 -o .libs/find_mice find_mice.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_mice
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT get_resolution.o -MD -MP -MF ".deps/get_resolution.Tpo" -c -o get_resolution.o get_resolution.cpp; \
then mv -f ".deps/get_resolution.Tpo" ".deps/get_resolution.Po"; else rm -f ".deps/get_resolution.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o get_resolution get_resolution.o ../libusbpp.la
g++ -g -O2 -o .libs/get_resolution get_resolution.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating get_resolution
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT hub_strings.o -MD -MP -MF ".deps/hub_strings.Tpo" -c -o hub_strings.o hub_strings.cpp; \
then mv -f ".deps/hub_strings.Tpo" ".deps/hub_strings.Po"; else rm -f ".deps/hub_strings.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o hub_strings hub_strings.o ../libusbpp.la
g++ -g -O2 -o .libs/hub_strings hub_strings.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating hub_strings
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT driver_name.o -MD -MP -MF ".deps/driver_name.Tpo" -c -o driver_name.o driver_name.cpp; \
then mv -f ".deps/driver_name.Tpo" ".deps/driver_name.Po"; else rm -f ".deps/driver_name.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o driver_name driver_name.o ../libusbpp.la
g++ -g -O2 -o .libs/driver_name driver_name.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating driver_name
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making all in doc
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „all“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ sudo make install
[sudo] Passwort für vater:
Making install in .
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
/usr/bin/install -c 'libusb-config' '/usr/local/bin/libusb-config'
test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib"
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusb.la' '/usr/local/lib/libusb.la'
/usr/bin/install -c .libs/libusb-0.1.so.4.4.4 /usr/local/lib/libusb-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd /usr/local/lib && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
/usr/bin/install -c .libs/libusb.lai /usr/local/lib/libusb.la
/usr/bin/install -c .libs/libusb.a /usr/local/lib/libusb.a
ranlib /usr/local/lib/libusb.a
chmod 644 /usr/local/lib/libusb.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusbpp.la' '/usr/local/lib/libusbpp.la'
libtool: install: warning: relinking `libusbpp.la'
(cd /home/vater/Downloads/libusb-0.1.12; /bin/bash ./libtool --mode=relink g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo )
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -lusb -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
/usr/bin/install -c .libs/libusbpp-0.1.so.4.4.4T /usr/local/lib/libusbpp-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd /usr/local/lib && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
/usr/bin/install -c .libs/libusbpp.lai /usr/local/lib/libusbpp.la
/usr/bin/install -c .libs/libusbpp.a /usr/local/lib/libusbpp.a
ranlib /usr/local/lib/libusbpp.a
chmod 644 /usr/local/lib/libusbpp.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usbpp.h' '/usr/local/include/usbpp.h'
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usb.h' '/usr/local/include/usb.h'
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- . "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'libusb.pc' '/usr/local/lib/pkgconfig/libusb.pc'
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making install in testsvater@vater-Aspire-6920:~$ cd ~/Downloads
vater@vater-Aspire-6920:~/Downloads$ ls
libftd2xx-x86_64-1.4.6.tgz pk2cmdv1.20LinuxMacSource PK2DeviceFile.zip
libusb-0.1.12 pk2cmdv1.20LinuxMacSource.tar.gz
libusb-0.1.12.tar.gz PK2DeviceFile.dat
vater@vater-Aspire-6920:~/Downloads$ cd
vater@vater-Aspire-6920:~$ cd ~/Downloads/libusb-0.1.12
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for what USB OS support... Linux
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for memmove... yes
checking for pkg-config... /usr/bin/pkg-config
checking if we should build the documentation... auto
checking for jade... no
checking for openjade... no
checking for Doxygen tools... checking for dot... not found
checking for doxygen... not found
configure: WARNING: Documentation build components not installed. sgml docs will not be built
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating libusb.spec
config.status: creating libusb-config
config.status: creating libusb.pc
config.status: creating tests/Makefile
config.status: creating README
config.status: creating INSTALL.libusb
config.status: creating usb.h
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ make
make all-recursive
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
Making all in .
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF ".deps/usb.Tpo" -c -o usb.lo usb.c; \
then mv -f ".deps/usb.Tpo" ".deps/usb.Plo"; else rm -f ".deps/usb.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -fPIC -DPIC -o .libs/usb.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -o usb.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF ".deps/error.Tpo" -c -o error.lo error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Plo"; else rm -f ".deps/error.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF ".deps/descriptors.Tpo" -c -o descriptors.lo descriptors.c; \
then mv -f ".deps/descriptors.Tpo" ".deps/descriptors.Plo"; else rm -f ".deps/descriptors.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -fPIC -DPIC -o .libs/descriptors.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -o descriptors.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF ".deps/linux.Tpo" -c -o linux.lo linux.c; \
then mv -f ".deps/linux.Tpo" ".deps/linux.Plo"; else rm -f ".deps/linux.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -fPIC -DPIC -o .libs/linux.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -o linux.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link gcc -Werror -g -O2 -g -Wall -o libusb.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic usb.lo error.lo descriptors.lo linux.lo
gcc -shared .libs/usb.o .libs/error.o .libs/descriptors.o .libs/linux.o -Wl,-soname -Wl,libusb-0.1.so.4 -o .libs/libusb-0.1.so.4.4.4
(cd .libs && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd .libs && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
ar cru .libs/libusb.a usb.o error.o descriptors.o linux.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusb.a
creating libusb.la
(cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
if /bin/bash ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp; \
then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f ".deps/usbpp.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -fPIC -DPIC -o .libs/usbpp.o
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/home/vater/Downloads/libusb-0.1.12/.libs -Wl,--rpath -Wl,/usr/local/lib /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
(cd .libs && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd .libs && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
ar cru .libs/libusbpp.a usbpp.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusbpp.a
creating libusbpp.la
(cd .libs && rm -f libusbpp.la && ln -s ../libusbpp.la libusbpp.la)
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making all in tests
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
if gcc -DHAVE_CONFIG_H -I.. -I.. -g -O2 -g -Wall -MT testlibusb.o -MD -MP -MF ".deps/testlibusb.Tpo" -c -o testlibusb.o testlibusb.c; \
then mv -f ".deps/testlibusb.Tpo" ".deps/testlibusb.Po"; else rm -f ".deps/testlibusb.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link gcc -g -O2 -g -Wall -o testlibusb testlibusb.o ../libusb.la
mkdir .libs
gcc -g -O2 -g -Wall -o .libs/testlibusb testlibusb.o ../.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating testlibusb
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT descriptor_test.o -MD -MP -MF ".deps/descriptor_test.Tpo" -c -o descriptor_test.o descriptor_test.cpp; \
then mv -f ".deps/descriptor_test.Tpo" ".deps/descriptor_test.Po"; else rm -f ".deps/descriptor_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o descriptor_test descriptor_test.o ../libusbpp.la
g++ -g -O2 -o .libs/descriptor_test descriptor_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating descriptor_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT id_test.o -MD -MP -MF ".deps/id_test.Tpo" -c -o id_test.o id_test.cpp; \
then mv -f ".deps/id_test.Tpo" ".deps/id_test.Po"; else rm -f ".deps/id_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o id_test id_test.o ../libusbpp.la
g++ -g -O2 -o .libs/id_test id_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating id_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_hubs.o -MD -MP -MF ".deps/find_hubs.Tpo" -c -o find_hubs.o find_hubs.cpp; \
then mv -f ".deps/find_hubs.Tpo" ".deps/find_hubs.Po"; else rm -f ".deps/find_hubs.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_hubs find_hubs.o ../libusbpp.la
g++ -g -O2 -o .libs/find_hubs find_hubs.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_hubs
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_mice.o -MD -MP -MF ".deps/find_mice.Tpo" -c -o find_mice.o find_mice.cpp; \
then mv -f ".deps/find_mice.Tpo" ".deps/find_mice.Po"; else rm -f ".deps/find_mice.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_mice find_mice.o ../libusbpp.la
g++ -g -O2 -o .libs/find_mice find_mice.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_mice
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT get_resolution.o -MD -MP -MF ".deps/get_resolution.Tpo" -c -o get_resolution.o get_resolution.cpp; \
then mv -f ".deps/get_resolution.Tpo" ".deps/get_resolution.Po"; else rm -f ".deps/get_resolution.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o get_resolution get_resolution.o ../libusbpp.la
g++ -g -O2 -o .libs/get_resolution get_resolution.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating get_resolution
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT hub_strings.o -MD -MP -MF ".deps/hub_strings.Tpo" -c -o hub_strings.o hub_strings.cpp; \
then mv -f ".deps/hub_strings.Tpo" ".deps/hub_strings.Po"; else rm -f ".deps/hub_strings.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o hub_strings hub_strings.o ../libusbpp.la
g++ -g -O2 -o .libs/hub_strings hub_strings.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating hub_strings
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT driver_name.o -MD -MP -MF ".deps/driver_name.Tpo" -c -o driver_name.o driver_name.cpp; \
then mv -f ".deps/driver_name.Tpo" ".deps/driver_name.Po"; else rm -f ".deps/driver_name.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o driver_name driver_name.o ../libusbpp.la
g++ -g -O2 -o .libs/driver_name driver_name.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating driver_name
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making all in doc
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „all“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ sudo make install
[sudo] Passwort für vater:
Making install in .
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
/usr/bin/install -c 'libusb-config' '/usr/local/bin/libusb-config'
test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib"
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusb.la' '/usr/local/lib/libusb.la'
/usr/bin/install -c .libs/libusb-0.1.so.4.4.4 /usr/local/lib/libusb-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd /usr/local/lib && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
/usr/bin/install -c .libs/libusb.lai /usr/local/lib/libusb.la
/usr/bin/install -c .libs/libusb.a /usr/local/lib/libusb.a
ranlib /usr/local/lib/libusb.a
chmod 644 /usr/local/lib/libusb.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusbpp.la' '/usr/local/lib/libusbpp.la'
libtool: install: warning: relinking `libusbpp.la'
(cd /home/vater/Downloads/libusb-0.1.12; /bin/bash ./libtool --mode=relink g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo )
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -lusb -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
/usr/bin/install -c .libs/libusbpp-0.1.so.4.4.4T /usr/local/lib/libusbpp-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd /usr/local/lib && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
/usr/bin/install -c .libs/libusbpp.lai /usr/local/lib/libusbpp.la
/usr/bin/install -c .libs/libusbpp.a /usr/local/lib/libusbpp.a
ranlib /usr/local/lib/libusbpp.a
chmod 644 /usr/local/lib/libusbpp.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usbpp.h' '/usr/local/include/usbpp.h'
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usb.h' '/usr/local/include/usb.h'
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- . "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'libusb.pc' '/usr/local/lib/pkgconfig/libusb.pc'
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making install in tests
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12vater@vater-Aspire-6920:~$ cd ~/Downloads
vater@vater-Aspire-6920:~/Downloads$ ls
libftd2xx-x86_64-1.4.6.tgz pk2cmdv1.20LinuxMacSource PK2DeviceFile.zip
libusb-0.1.12 pk2cmdv1.20LinuxMacSource.tar.gz
libusb-0.1.12.tar.gz PK2DeviceFile.dat
vater@vater-Aspire-6920:~/Downloads$ cd
vater@vater-Aspire-6920:~$ cd ~/Downloads/libusb-0.1.12
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for what USB OS support... Linux
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for memmove... yes
checking for pkg-config... /usr/bin/pkg-config
checking if we should build the documentation... auto
checking for jade... no
checking for openjade... no
checking for Doxygen tools... checking for dot... not found
checking for doxygen... not found
configure: WARNING: Documentation build components not installed. sgml docs will not be built
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating libusb.spec
config.status: creating libusb-config
config.status: creating libusb.pc
config.status: creating tests/Makefile
config.status: creating README
config.status: creating INSTALL.libusb
config.status: creating usb.h
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ make
make all-recursive
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
Making all in .
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF ".deps/usb.Tpo" -c -o usb.lo usb.c; \
then mv -f ".deps/usb.Tpo" ".deps/usb.Plo"; else rm -f ".deps/usb.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -fPIC -DPIC -o .libs/usb.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -o usb.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF ".deps/error.Tpo" -c -o error.lo error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Plo"; else rm -f ".deps/error.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF ".deps/descriptors.Tpo" -c -o descriptors.lo descriptors.c; \
then mv -f ".deps/descriptors.Tpo" ".deps/descriptors.Plo"; else rm -f ".deps/descriptors.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -fPIC -DPIC -o .libs/descriptors.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -o descriptors.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF ".deps/linux.Tpo" -c -o linux.lo linux.c; \
then mv -f ".deps/linux.Tpo" ".deps/linux.Plo"; else rm -f ".deps/linux.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -fPIC -DPIC -o .libs/linux.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -o linux.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link gcc -Werror -g -O2 -g -Wall -o libusb.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic usb.lo error.lo descriptors.lo linux.lo
gcc -shared .libs/usb.o .libs/error.o .libs/descriptors.o .libs/linux.o -Wl,-soname -Wl,libusb-0.1.so.4 -o .libs/libusb-0.1.so.4.4.4
(cd .libs && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd .libs && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
ar cru .libs/libusb.a usb.o error.o descriptors.o linux.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusb.a
creating libusb.la
(cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
if /bin/bash ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp; \
then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f ".deps/usbpp.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -fPIC -DPIC -o .libs/usbpp.o
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/home/vater/Downloads/libusb-0.1.12/.libs -Wl,--rpath -Wl,/usr/local/lib /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
(cd .libs && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd .libs && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
ar cru .libs/libusbpp.a usbpp.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusbpp.a
creating libusbpp.la
(cd .libs && rm -f libusbpp.la && ln -s ../libusbpp.la libusbpp.la)
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making all in tests
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
if gcc -DHAVE_CONFIG_H -I.. -I.. -g -O2 -g -Wall -MT testlibusb.o -MD -MP -MF ".deps/testlibusb.Tpo" -c -o testlibusb.o testlibusb.c; \
then mv -f ".deps/testlibusb.Tpo" ".deps/testlibusb.Po"; else rm -f ".deps/testlibusb.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link gcc -g -O2 -g -Wall -o testlibusb testlibusb.o ../libusb.la
mkdir .libs
gcc -g -O2 -g -Wall -o .libs/testlibusb testlibusb.o ../.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating testlibusb
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT descriptor_test.o -MD -MP -MF ".deps/descriptor_test.Tpo" -c -o descriptor_test.o descriptor_test.cpp; \
then mv -f ".deps/descriptor_test.Tpo" ".deps/descriptor_test.Po"; else rm -f ".deps/descriptor_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o descriptor_test descriptor_test.o ../libusbpp.la
g++ -g -O2 -o .libs/descriptor_test descriptor_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating descriptor_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT id_test.o -MD -MP -MF ".deps/id_test.Tpo" -c -o id_test.o id_test.cpp; \
then mv -f ".deps/id_test.Tpo" ".deps/id_test.Po"; else rm -f ".deps/id_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o id_test id_test.o ../libusbpp.la
g++ -g -O2 -o .libs/id_test id_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating id_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_hubs.o -MD -MP -MF ".deps/find_hubs.Tpo" -c -o find_hubs.o find_hubs.cpp; \
then mv -f ".deps/find_hubs.Tpo" ".deps/find_hubs.Po"; else rm -f ".deps/find_hubs.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_hubs find_hubs.o ../libusbpp.la
g++ -g -O2 -o .libs/find_hubs find_hubs.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_hubs
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_mice.o -MD -MP -MF ".deps/find_mice.Tpo" -c -o find_mice.o find_mice.cpp; \
then mv -f ".deps/find_mice.Tpo" ".deps/find_mice.Po"; else rm -f ".deps/find_mice.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_mice find_mice.o ../libusbpp.la
g++ -g -O2 -o .libs/find_mice find_mice.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_mice
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT get_resolution.o -MD -MP -MF ".deps/get_resolution.Tpo" -c -o get_resolution.o get_resolution.cpp; \
then mv -f ".deps/get_resolution.Tpo" ".deps/get_resolution.Po"; else rm -f ".deps/get_resolution.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o get_resolution get_resolution.o ../libusbpp.la
g++ -g -O2 -o .libs/get_resolution get_resolution.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating get_resolution
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT hub_strings.o -MD -MP -MF ".deps/hub_strings.Tpo" -c -o hub_strings.o hub_strings.cpp; \
then mv -f ".deps/hub_strings.Tpo" ".deps/hub_strings.Po"; else rm -f ".deps/hub_strings.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o hub_strings hub_strings.o ../libusbpp.la
g++ -g -O2 -o .libs/hub_strings hub_strings.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating hub_strings
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT driver_name.o -MD -MP -MF ".deps/driver_name.Tpo" -c -o driver_name.o driver_name.cpp; \
then mv -f ".deps/driver_name.Tpo" ".deps/driver_name.Po"; else rm -f ".deps/driver_name.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o driver_name driver_name.o ../libusbpp.la
g++ -g -O2 -o .libs/driver_name driver_name.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating driver_name
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making all in doc
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „all“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ sudo make install
[sudo] Passwort für vater:
Making install in .
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
/usr/bin/install -c 'libusb-config' '/usr/local/bin/libusb-config'
test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib"
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusb.la' '/usr/local/lib/libusb.la'
/usr/bin/install -c .libs/libusb-0.1.so.4.4.4 /usr/local/lib/libusb-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd /usr/local/lib && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
/usr/bin/install -c .libs/libusb.lai /usr/local/lib/libusb.la
/usr/bin/install -c .libs/libusb.a /usr/local/lib/libusb.a
ranlib /usr/local/lib/libusb.a
chmod 644 /usr/local/lib/libusb.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusbpp.la' '/usr/local/lib/libusbpp.la'
libtool: install: warning: relinking `libusbpp.la'
(cd /home/vater/Downloads/libusb-0.1.12; /bin/bash ./libtool --mode=relink g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo )
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -lusb -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
/usr/bin/install -c .libs/libusbpp-0.1.so.4.4.4T /usr/local/lib/libusbpp-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd /usr/local/lib && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
/usr/bin/install -c .libs/libusbpp.lai /usr/local/lib/libusbpp.la
/usr/bin/install -c .libs/libusbpp.a /usr/local/lib/libusbpp.a
ranlib /usr/local/lib/libusbpp.a
chmod 644 /usr/local/lib/libusbpp.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed librarivater@vater-Aspire-6920:~$ cd ~/Downloads
vater@vater-Aspire-6920:~/Downloads$ ls
libftd2xx-x86_64-1.4.6.tgz pk2cmdv1.20LinuxMacSource PK2DeviceFile.zip
libusb-0.1.12 pk2cmdv1.20LinuxMacSource.tar.gz
libusb-0.1.12.tar.gz PK2DeviceFile.dat
vater@vater-Aspire-6920:~/Downloads$ cd
vater@vater-Aspire-6920:~$ cd ~/Downloads/libusb-0.1.12
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for what USB OS support... Linux
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for memmove... yes
checking for pkg-config... /usr/bin/pkg-config
checking if we should build the documentation... auto
checking for jade... no
checking for openjade... no
checking for Doxygen tools... checking for dot... not found
checking for doxygen... not found
configure: WARNING: Documentation build components not installed. sgml docs will not be built
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating libusb.spec
config.status: creating libusb-config
config.status: creating libusb.pc
config.status: creating tests/Makefile
config.status: creating README
config.status: creating INSTALL.libusb
config.status: creating usb.h
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ make
make all-recursive
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
Making all in .
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF ".deps/usb.Tpo" -c -o usb.lo usb.c; \
then mv -f ".deps/usb.Tpo" ".deps/usb.Plo"; else rm -f ".deps/usb.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -fPIC -DPIC -o .libs/usb.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -o usb.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF ".deps/error.Tpo" -c -o error.lo error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Plo"; else rm -f ".deps/error.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF ".deps/descriptors.Tpo" -c -o descriptors.lo descriptors.c; \
then mv -f ".deps/descriptors.Tpo" ".deps/descriptors.Plo"; else rm -f ".deps/descriptors.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -fPIC -DPIC -o .libs/descriptors.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -o descriptors.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF ".deps/linux.Tpo" -c -o linux.lo linux.c; \
then mv -f ".deps/linux.Tpo" ".deps/linux.Plo"; else rm -f ".deps/linux.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -fPIC -DPIC -o .libs/linux.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -o linux.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link gcc -Werror -g -O2 -g -Wall -o libusb.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic usb.lo error.lo descriptors.lo linux.lo
gcc -shared .libs/usb.o .libs/error.o .libs/descriptors.o .libs/linux.o -Wl,-soname -Wl,libusb-0.1.so.4 -o .libs/libusb-0.1.so.4.4.4
(cd .libs && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd .libs && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
ar cru .libs/libusb.a usb.o error.o descriptors.o linux.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusb.a
creating libusb.la
(cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
if /bin/bash ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp; \
then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f ".deps/usbpp.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -fPIC -DPIC -o .libs/usbpp.o
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/home/vater/Downloads/libusb-0.1.12/.libs -Wl,--rpath -Wl,/usr/local/lib /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
(cd .libs && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd .libs && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
ar cru .libs/libusbpp.a usbpp.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusbpp.a
creating libusbpp.la
(cd .libs && rm -f libusbpp.la && ln -s ../libusbpp.la libusbpp.la)
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making all in tests
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
if gcc -DHAVE_CONFIG_H -I.. -I.. -g -O2 -g -Wall -MT testlibusb.o -MD -MP -MF ".deps/testlibusb.Tpo" -c -o testlibusb.o testlibusb.c; \
then mv -f ".deps/testlibusb.Tpo" ".deps/testlibusb.Po"; else rm -f ".deps/testlibusb.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link gcc -g -O2 -g -Wall -o testlibusb testlibusb.o ../libusb.la
mkdir .libs
gcc -g -O2 -g -Wall -o .libs/testlibusb testlibusb.o ../.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating testlibusb
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT descriptor_test.o -MD -MP -MF ".deps/descriptor_test.Tpo" -c -o descriptor_test.o descriptor_test.cpp; \
then mv -f ".deps/descriptor_test.Tpo" ".deps/descriptor_test.Po"; else rm -f ".deps/descriptor_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o descriptor_test descriptor_test.o ../libusbpp.la
g++ -g -O2 -o .libs/descriptor_test descriptor_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating descriptor_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT id_test.o -MD -MP -MF ".deps/id_test.Tpo" -c -o id_test.o id_test.cpp; \
then mv -f ".deps/id_test.Tpo" ".deps/id_test.Po"; else rm -f ".deps/id_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o id_test id_test.o ../libusbpp.la
g++ -g -O2 -o .libs/id_test id_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating id_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_hubs.o -MD -MP -MF ".deps/find_hubs.Tpo" -c -o find_hubs.o find_hubs.cpp; \
then mv -f ".deps/find_hubs.Tpo" ".deps/find_hubs.Po"; else rm -f ".deps/find_hubs.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_hubs find_hubs.o ../libusbpp.la
g++ -g -O2 -o .libs/find_hubs find_hubs.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_hubs
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_mice.o -MD -MP -MF ".deps/find_mice.Tpo" -c -o find_mice.o find_mice.cpp; \
then mv -f ".deps/find_mice.Tpo" ".deps/find_mice.Po"; else rm -f ".deps/find_mice.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_mice find_mice.o ../libusbpp.la
g++ -g -O2 -o .libs/find_mice find_mice.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_mice
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT get_resolution.o -MD -MP -MF ".deps/get_resolution.Tpo" -c -o get_resolution.o get_resolution.cpp; \
then mv -f ".deps/get_resolution.Tpo" ".deps/get_resolution.Po"; else rm -f ".deps/get_resolution.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o get_resolution get_resolution.o ../libusbpp.la
g++ -g -O2 -o .libs/get_resolution get_resolution.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating get_resolution
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT hub_strings.o -MD -MP -MF ".deps/hub_strings.Tpo" -c -o hub_strings.o hub_strings.cpp; \
then mv -f ".deps/hub_strings.Tpo" ".deps/hub_strings.Po"; else rm -f ".deps/hub_strings.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o hub_strings hub_strings.o ../libusbpp.la
g++ -g -O2 -o .libs/hub_strings hub_strings.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating hub_strings
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT driver_name.o -MD -MP -MF ".deps/driver_name.Tpo" -c -o driver_name.o driver_name.cpp; \
then mv -f ".deps/driver_name.Tpo" ".deps/driver_name.Po"; else rm -f ".deps/driver_name.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o driver_name driver_name.o ../libusbpp.la
g++ -g -O2 -o .libs/driver_name driver_name.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating driver_name
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making all in doc
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „all“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ sudo make install
[sudo] Passwort für vater:
Making install in .
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
/usr/bin/install -c 'libusb-config' '/usr/local/bin/libusb-config'
test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib"
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusb.la' '/usr/local/lib/libusb.la'
/usr/bin/install -c .libs/libusb-0.1.so.4.4.4 /usr/local/lib/libusb-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd /usr/local/lib && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
/usr/bin/install -c .libs/libusb.lai /usr/local/lib/libusb.la
/usr/bin/install -c .libs/libusb.a /usr/local/lib/libusb.a
ranlib /usr/local/lib/libusb.a
chmod 644 /usr/local/lib/libusb.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusbpp.la' '/usr/local/lib/libusbpp.la'
libtool: install: warning: relinking `libusbpp.la'
(cd /home/vater/Downloads/libusb-0.1.12; /bin/bash ./libtool --mode=relink g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo )
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -lusb -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
/usr/bin/install -c .libs/libusbpp-0.1.so.4.4.4T /usr/local/lib/libusbpp-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd /usr/local/lib && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
/usr/bin/install -c .libs/libusbpp.lai /usr/local/lib/libusbpp.la
/usr/bin/install -c .libs/libusbpp.a /usr/local/lib/libusbpp.a
ranlib /usr/local/lib/libusbpp.a
chmod 644 /usr/local/lib/libusbpp.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usbpp.h' '/usr/local/include/usbpp.h'
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usb.h' '/usr/local/include/usb.h'
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- . "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'libusb.pc' '/usr/local/lib/pkgconfig/libusb.pc'
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making install in tests
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird vater@vater-Aspire-6920:~$ cd ~/Downloads
vater@vater-Aspire-6920:~/Downloads$ ls
libftd2xx-x86_64-1.4.6.tgz pk2cmdv1.20LinuxMacSource PK2DeviceFile.zip
libusb-0.1.12 pk2cmdv1.20LinuxMacSource.tar.gz
libusb-0.1.12.tar.gz PK2DeviceFile.dat
vater@vater-Aspire-6920:~/Downloads$ cd
vater@vater-Aspire-6920:~$ cd ~/Downloads/libusb-0.1.12
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for what USB OS support... Linux
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for memmove... yes
checking for pkg-config... /usr/bin/pkg-config
checking if we should build the documentation... auto
checking for jade... no
checking for openjade... no
checking for Doxygen tools... checking for dot... not found
checking for doxygen... not found
configure: WARNING: Documentation build components not installed. sgml docs will not be built
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating libusb.spec
config.status: creating libusb-config
config.status: creating libusb.pc
config.status: creating tests/Makefile
config.status: creating README
config.status: creating INSTALL.libusb
config.status: creating usb.h
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ make
make all-recursive
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
Making all in .
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF ".deps/usb.Tpo" -c -o usb.lo usb.c; \
then mv -f ".deps/usb.Tpo" ".deps/usb.Plo"; else rm -f ".deps/usb.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -fPIC -DPIC -o .libs/usb.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -o usb.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF ".deps/error.Tpo" -c -o error.lo error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Plo"; else rm -f ".deps/error.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF ".deps/descriptors.Tpo" -c -o descriptors.lo descriptors.c; \
then mv -f ".deps/descriptors.Tpo" ".deps/descriptors.Plo"; else rm -f ".deps/descriptors.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -fPIC -DPIC -o .libs/descriptors.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -o descriptors.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF ".deps/linux.Tpo" -c -o linux.lo linux.c; \
then mv -f ".deps/linux.Tpo" ".deps/linux.Plo"; else rm -f ".deps/linux.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -fPIC -DPIC -o .libs/linux.o
gcc -DHAVE_CONFIG_H -I. -Werror -g -O2 -g -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -o linux.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link gcc -Werror -g -O2 -g -Wall -o libusb.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic usb.lo error.lo descriptors.lo linux.lo
gcc -shared .libs/usb.o .libs/error.o .libs/descriptors.o .libs/linux.o -Wl,-soname -Wl,libusb-0.1.so.4 -o .libs/libusb-0.1.so.4.4.4
(cd .libs && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd .libs && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
ar cru .libs/libusb.a usb.o error.o descriptors.o linux.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusb.a
creating libusb.la
(cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
if /bin/bash ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp; \
then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f ".deps/usbpp.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -fPIC -DPIC -o .libs/usbpp.o
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/home/vater/Downloads/libusb-0.1.12/.libs -Wl,--rpath -Wl,/usr/local/lib /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
(cd .libs && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd .libs && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
ar cru .libs/libusbpp.a usbpp.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libusbpp.a
creating libusbpp.la
(cd .libs && rm -f libusbpp.la && ln -s ../libusbpp.la libusbpp.la)
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making all in tests
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
if gcc -DHAVE_CONFIG_H -I.. -I.. -g -O2 -g -Wall -MT testlibusb.o -MD -MP -MF ".deps/testlibusb.Tpo" -c -o testlibusb.o testlibusb.c; \
then mv -f ".deps/testlibusb.Tpo" ".deps/testlibusb.Po"; else rm -f ".deps/testlibusb.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link gcc -g -O2 -g -Wall -o testlibusb testlibusb.o ../libusb.la
mkdir .libs
gcc -g -O2 -g -Wall -o .libs/testlibusb testlibusb.o ../.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating testlibusb
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT descriptor_test.o -MD -MP -MF ".deps/descriptor_test.Tpo" -c -o descriptor_test.o descriptor_test.cpp; \
then mv -f ".deps/descriptor_test.Tpo" ".deps/descriptor_test.Po"; else rm -f ".deps/descriptor_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o descriptor_test descriptor_test.o ../libusbpp.la
g++ -g -O2 -o .libs/descriptor_test descriptor_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating descriptor_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT id_test.o -MD -MP -MF ".deps/id_test.Tpo" -c -o id_test.o id_test.cpp; \
then mv -f ".deps/id_test.Tpo" ".deps/id_test.Po"; else rm -f ".deps/id_test.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o id_test id_test.o ../libusbpp.la
g++ -g -O2 -o .libs/id_test id_test.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating id_test
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_hubs.o -MD -MP -MF ".deps/find_hubs.Tpo" -c -o find_hubs.o find_hubs.cpp; \
then mv -f ".deps/find_hubs.Tpo" ".deps/find_hubs.Po"; else rm -f ".deps/find_hubs.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_hubs find_hubs.o ../libusbpp.la
g++ -g -O2 -o .libs/find_hubs find_hubs.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_hubs
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT find_mice.o -MD -MP -MF ".deps/find_mice.Tpo" -c -o find_mice.o find_mice.cpp; \
then mv -f ".deps/find_mice.Tpo" ".deps/find_mice.Po"; else rm -f ".deps/find_mice.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o find_mice find_mice.o ../libusbpp.la
g++ -g -O2 -o .libs/find_mice find_mice.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating find_mice
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT get_resolution.o -MD -MP -MF ".deps/get_resolution.Tpo" -c -o get_resolution.o get_resolution.cpp; \
then mv -f ".deps/get_resolution.Tpo" ".deps/get_resolution.Po"; else rm -f ".deps/get_resolution.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o get_resolution get_resolution.o ../libusbpp.la
g++ -g -O2 -o .libs/get_resolution get_resolution.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating get_resolution
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT hub_strings.o -MD -MP -MF ".deps/hub_strings.Tpo" -c -o hub_strings.o hub_strings.cpp; \
then mv -f ".deps/hub_strings.Tpo" ".deps/hub_strings.Po"; else rm -f ".deps/hub_strings.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o hub_strings hub_strings.o ../libusbpp.la
g++ -g -O2 -o .libs/hub_strings hub_strings.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating hub_strings
if g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT driver_name.o -MD -MP -MF ".deps/driver_name.Tpo" -c -o driver_name.o driver_name.cpp; \
then mv -f ".deps/driver_name.Tpo" ".deps/driver_name.Po"; else rm -f ".deps/driver_name.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link g++ -g -O2 -o driver_name driver_name.o ../libusbpp.la
g++ -g -O2 -o .libs/driver_name driver_name.o ../.libs/libusbpp.so /home/vater/Downloads/libusb-0.1.12/.libs/libusb.so -Wl,--rpath -Wl,/usr/local/lib
creating driver_name
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making all in doc
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „all“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/libusb-0.1.12$ sudo make install
[sudo] Passwort für vater:
Making install in .
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird betreten
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
/usr/bin/install -c 'libusb-config' '/usr/local/bin/libusb-config'
test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib"
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusb.la' '/usr/local/lib/libusb.la'
/usr/bin/install -c .libs/libusb-0.1.so.4.4.4 /usr/local/lib/libusb-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd /usr/local/lib && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
/usr/bin/install -c .libs/libusb.lai /usr/local/lib/libusb.la
/usr/bin/install -c .libs/libusb.a /usr/local/lib/libusb.a
ranlib /usr/local/lib/libusb.a
chmod 644 /usr/local/lib/libusb.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libusbpp.la' '/usr/local/lib/libusbpp.la'
libtool: install: warning: relinking `libusbpp.la'
(cd /home/vater/Downloads/libusb-0.1.12; /bin/bash ./libtool --mode=relink g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo )
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -lusb -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
/usr/bin/install -c .libs/libusbpp-0.1.so.4.4.4T /usr/local/lib/libusbpp-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd /usr/local/lib && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
/usr/bin/install -c .libs/libusbpp.lai /usr/local/lib/libusbpp.la
/usr/bin/install -c .libs/libusbpp.a /usr/local/lib/libusbpp.a
ranlib /usr/local/lib/libusbpp.a
chmod 644 /usr/local/lib/libusbpp.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usbpp.h' '/usr/local/include/usbpp.h'
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usb.h' '/usr/local/include/usb.h'
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- . "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'libusb.pc' '/usr/local/lib/pkgconfig/libusb.pc'
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making install in tests
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making install in doc
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/liverlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making install in doc
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/lies
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usbpp.h' '/usr/local/include/usbpp.h'
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usb.h' '/usr/local/include/usb.h'
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- . "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'libusb.pc' '/usr/local/lib/pkgconfig/libusb.pc'
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making install in tests
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making install in doc
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/li/tests“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making install in doc
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/li
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making install in doc
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/li
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making install in doc
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/li
(cd /home/vater/Downloads/libusb-0.1.12; /bin/bash ./libtool --mode=relink g++ -g -O2 -o libusbpp.la -rpath /usr/local/lib -version-info 8:4:4 -release 0.1 -export-dynamic -lusb usbpp.lo )
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -lusb -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
/usr/bin/install -c .libs/libusbpp-0.1.so.4.4.4T /usr/local/lib/libusbpp-0.1.so.4.4.4
(cd /usr/local/lib && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd /usr/local/lib && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
/usr/bin/install -c .libs/libusbpp.lai /usr/local/lib/libusbpp.la
/usr/bin/install -c .libs/libusbpp.a /usr/local/lib/libusbpp.a
ranlib /usr/local/lib/libusbpp.a
chmod 644 /usr/local/lib/libusbpp.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usbpp.h' '/usr/local/include/usbpp.h'
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'usb.h' '/usr/local/include/usb.h'
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- . "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'libusb.pc' '/usr/local/lib/pkgconfig/libusb.pc'
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12“ wird verlassen
Making install in tests
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making install in doc
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/liwird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/tests“ wird verlassen
Making install in doc
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/vater/Downloads/libusb-0.1.12/doc“ wird verlassen
vater@vater-Aspire-6920:~/Downloads/li
Jedenfalls anstandslos durchgelaufen(allerdings noch kein Neustart)
Es hat sich mit dem PicKit2 leider noch nichts geändert. Bei einer Befehlseingabe im Terminal scheint ja auch auf den ersten Blick alles i.O.. Nur wird die zweite Eingabe nicht abgeschlossen und hängt. Erst USB-Stecker ab, 20 sek. warten, dann ist erneuter Versuch erfolgreich.
:~$ pk2cmd -?v
Executable Version: 1.20.00
Device File Version: 1.55.00
OS Firmware Version: 2.32.00
Operation Succeeded
:~$ pk2cmd -P
Auto-Detect: Found part PIC16F874A.
VDD Error detected. Check target for proper connectivity.
Jedenfalls bedanke ich mich erst mal für die Anteilnahme. Meine laienhaften, logischen Vorstellungen gehen jetzt in Richtung Treiber für den PicKit2. Denn wenn es am Device selber nichts einzustellen gibt, nicht mal einen Jumper, verschiedene Spannungen aber aus der IDE oder Terminal eingeschaltet werden können, könnte es wohl auch daran liegen.Aber wie gesagt Laie.