最終更新日: 2016-06-26 日 01:23
ホーム | 文書トップ | 目次

libhid

Table of Contents

概要

debian(jessie)にて、shark2 を使う為、libhid をソースからビルド

ソース

build

configure

wurly@host:/home/temp/libhid-0.2.16$ ./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 whether to enable maintainer-specific portions of Makefiles... no
checking whether to enable pedantic compiler checks... (cached) no
checking whether to enable proper compiler warnings... (cached) yes
checking whether to enable compiler warnings as errors... (cached) yes
checking whether to enable debugging... (cached) no
checking whether to enable gdb-enhanced debugging symbols... (cached) no
checking whether to use documentation generated by doxygen... (cached) yes
checking whether to enable swig python wrapper... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for target OS... Linux
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
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 ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... /bin/sed
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 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 cf77... 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 pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... 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 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 static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking 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
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for ANSI C header files... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for preprocessor stringizing operator... yes
configure: enabled compiler warnings.
configure: turned compiler warnings into errors.
checking for swig... no
configure: WARNING: cannot find 'swig' program. You should look at http://www.swig.org
./configure: line 22459: echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false: No such file or directory
checking for doxygen... no
configure: WARNING: doxygen not found. not using doxygen.
configure: Using db2man stylesheet: /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating hidparser/Makefile
config.status: creating swig/Makefile
config.status: creating test/Makefile
config.status: creating doc/doxygen.rc
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/www/Makefile
config.status: creating pkgconfig/libhid.pc
config.status: creating config.h
config.status: executing depfiles commands

.------------------------------------------------------------------------------
| Configuration to be used:
|
|   CPP     : gcc -E
|   CPPFLAGS: -DNDEBUG
|   CC      : gcc
|   CFLAGS  : -O2 -Wall -W -Werror
|   CXX     : g++
|   CXXFLAGS: -O2 -Wall -W -Werror
|   LD      : /usr/bin/ld
|   LDFLAGS : -L/usr/lib/i386-linux-gnu -lusb
`------------------------------------------------------------------------------

make

wurly@host:/home/temp/libhid-0.2.16$ make
make  all-recursive
make[1]: Entering directory '/home/temp/libhid-0.2.16'
Making all in hidparser
make[2]: Entering directory '/home/temp/libhid-0.2.16/hidparser'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -DNDEBUG -fPIC -O2 -Wall -W -Werror -MT hidparser.lo -MD -MP -MF ".deps/hidparser.Tpo" -c -o hidparser.lo hidparser.c; \
then mv -f ".deps/hidparser.Tpo" ".deps/hidparser.Plo"; else rm -f ".deps/hidparser.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -O2 -Wall -W -Werror -MT hidparser.lo -MD -MP -MF .deps/hidparser.Tpo -c hidparser.c  -fPIC -DPIC -o .libs/hidparser.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -O2 -Wall -W -Werror -MT hidparser.lo -MD -MP -MF .deps/hidparser.Tpo -c hidparser.c -o hidparser.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=link gcc -fPIC -O2 -Wall -W -Werror  -L/usr/lib/i386-linux-gnu -lusb -o libhidparser.la  -static hidparser.lo
ar cru .libs/libhidparser.a  hidparser.o
ranlib .libs/libhidparser.a
creating libhidparser.la
(cd .libs && rm -f libhidparser.la && ln -s ../libhidparser.la libhidparser.la)
make[2]: Leaving directory '/home/temp/libhid-0.2.16/hidparser'
Making all in src
make[2]: Entering directory '/home/temp/libhid-0.2.16/src'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -Wall -W -Werror -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
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c  -fPIC -DPIC -o .libs/linux.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -o linux.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -Wall -W -Werror -MT hid_initialisation.lo -MD -MP -MF ".deps/hid_initialisation.Tpo" -c -o hid_initialisation.lo hid_initialisation.c; \
then mv -f ".deps/hid_initialisation.Tpo" ".deps/hid_initialisation.Plo"; else rm -f ".deps/hid_initialisation.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT hid_initialisation.lo -MD -MP -MF .deps/hid_initialisation.Tpo -c hid_initialisation.c  -fPIC -DPIC -o .libs/hid_initialisation.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT hid_initialisation.lo -MD -MP -MF .deps/hid_initialisation.Tpo -c hid_initialisation.c -o hid_initialisation.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -Wall -W -Werror -MT hid_preparation.lo -MD -MP -MF ".deps/hid_preparation.Tpo" -c -o hid_preparation.lo hid_preparation.c; \
then mv -f ".deps/hid_preparation.Tpo" ".deps/hid_preparation.Plo"; else rm -f ".deps/hid_preparation.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT hid_preparation.lo -MD -MP -MF .deps/hid_preparation.Tpo -c hid_preparation.c  -fPIC -DPIC -o .libs/hid_preparation.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT hid_preparation.lo -MD -MP -MF .deps/hid_preparation.Tpo -c hid_preparation.c -o hid_preparation.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -Wall -W -Werror -MT hid_opening.lo -MD -MP -MF ".deps/hid_opening.Tpo" -c -o hid_opening.lo hid_opening.c; \
then mv -f ".deps/hid_opening.Tpo" ".deps/hid_opening.Plo"; else rm -f ".deps/hid_opening.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT hid_opening.lo -MD -MP -MF .deps/hid_opening.Tpo -c hid_opening.c  -fPIC -DPIC -o .libs/hid_opening.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT hid_opening.lo -MD -MP -MF .deps/hid_opening.Tpo -c hid_opening.c -o hid_opening.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -Wall -W -Werror -MT hid_parsing.lo -MD -MP -MF ".deps/hid_parsing.Tpo" -c -o hid_parsing.lo hid_parsing.c; \
then mv -f ".deps/hid_parsing.Tpo" ".deps/hid_parsing.Plo"; else rm -f ".deps/hid_parsing.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT hid_parsing.lo -MD -MP -MF .deps/hid_parsing.Tpo -c hid_parsing.c  -fPIC -DPIC -o .libs/hid_parsing.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT hid_parsing.lo -MD -MP -MF .deps/hid_parsing.Tpo -c hid_parsing.c -o hid_parsing.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -Wall -W -Werror -MT hid_exchange.lo -MD -MP -MF ".deps/hid_exchange.Tpo" -c -o hid_exchange.lo hid_exchange.c; \
then mv -f ".deps/hid_exchange.Tpo" ".deps/hid_exchange.Plo"; else rm -f ".deps/hid_exchange.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT hid_exchange.lo -MD -MP -MF .deps/hid_exchange.Tpo -c hid_exchange.c  -fPIC -DPIC -o .libs/hid_exchange.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT hid_exchange.lo -MD -MP -MF .deps/hid_exchange.Tpo -c hid_exchange.c -o hid_exchange.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -Wall -W -Werror -MT hid_presentation.lo -MD -MP -MF ".deps/hid_presentation.Tpo" -c -o hid_presentation.lo hid_presentation.c; \
then mv -f ".deps/hid_presentation.Tpo" ".deps/hid_presentation.Plo"; else rm -f ".deps/hid_presentation.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT hid_presentation.lo -MD -MP -MF .deps/hid_presentation.Tpo -c hid_presentation.c  -fPIC -DPIC -o .libs/hid_presentation.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT hid_presentation.lo -MD -MP -MF .deps/hid_presentation.Tpo -c hid_presentation.c -o hid_presentation.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -Wall -W -Werror -MT debug.lo -MD -MP -MF ".deps/debug.Tpo" -c -o debug.lo debug.c; \
then mv -f ".deps/debug.Tpo" ".deps/debug.Plo"; else rm -f ".deps/debug.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c debug.c  -fPIC -DPIC -o .libs/debug.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c debug.c -o debug.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=link gcc -fPIC -I../include -I../hidparser  -O2 -Wall -W -Werror  -L/usr/lib/i386-linux-gnu -lusb -o libhid.la -rpath /usr/local/lib  linux.lo hid_initialisation.lo hid_preparation.lo hid_opening.lo hid_parsing.lo hid_exchange.lo hid_presentation.lo debug.lo -lusb ../hidparser/libhidparser.la
gcc -shared  .libs/linux.o .libs/hid_initialisation.o .libs/hid_preparation.o .libs/hid_opening.o .libs/hid_parsing.o .libs/hid_exchange.o .libs/hid_presentation.o .libs/debug.o -Wl,--whole-archive ../hidparser/.libs/libhidparser.a -Wl,--no-whole-archive  -L/usr/lib/i386-linux-gnu -lusb  -Wl,-soname -Wl,libhid.so.0 -o .libs/libhid.so.0.0.0
(cd .libs && rm -f libhid.so.0 && ln -s libhid.so.0.0.0 libhid.so.0)
(cd .libs && rm -f libhid.so && ln -s libhid.so.0.0.0 libhid.so)
rm -fr .libs/libhid.lax
mkdir .libs/libhid.lax
rm -fr .libs/libhid.lax/libhidparser.a
mkdir .libs/libhid.lax/libhidparser.a
(cd .libs/libhid.lax/libhidparser.a && ar x /home/temp/libhid-0.2.16/src/../hidparser/.libs/libhidparser.a)
ar cru .libs/libhid.a  linux.o hid_initialisation.o hid_preparation.o hid_opening.o hid_parsing.o hid_exchange.o hid_presentation.o debug.o  .libs/libhid.lax/libhidparser.a/hidparser.o
ranlib .libs/libhid.a
rm -fr .libs/libhid.lax
creating libhid.la
(cd .libs && rm -f libhid.la && ln -s ../libhid.la libhid.la)
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser  -O2 -Wall -W -Werror -MT libhid-detach-device.o -MD -MP -MF ".deps/libhid-detach-device.Tpo" -c -o libhid-detach-device.o libhid-detach-device.c; \
then mv -f ".deps/libhid-detach-device.Tpo" ".deps/libhid-detach-device.Po"; else rm -f ".deps/libhid-detach-device.Tpo"; exit 1; fi
/bin/bash ../libtool --tag=CC --mode=link gcc -fPIC -I../include -I../hidparser  -O2 -Wall -W -Werror  -L/usr/lib/i386-linux-gnu -lusb -o libhid-detach-device  libhid-detach-device.o libhid.la
gcc -fPIC -I../include -I../hidparser -O2 -Wall -W -Werror -o .libs/libhid-detach-device libhid-detach-device.o  -L/usr/lib/i386-linux-gnu ./.libs/libhid.so -lusb
creating libhid-detach-device
make[2]: Leaving directory '/home/temp/libhid-0.2.16/src'
Making all in test
make[2]: Entering directory '/home/temp/libhid-0.2.16/test'
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -DNDEBUG -I../include -I../hidparser -O2 -Wall -W -Werror -MT test_libhid.o -MD -MP -MF ".deps/test_libhid.Tpo" -c -o test_libhid.o test_libhid.c; \
then mv -f ".deps/test_libhid.Tpo" ".deps/test_libhid.Po"; else rm -f ".deps/test_libhid.Tpo"; exit 1; fi
make[3]: Entering directory '/home/temp/libhid-0.2.16/src'
make[3]: Leaving directory '/home/temp/libhid-0.2.16/src'
/bin/bash ../libtool --tag=CC --mode=link gcc -I../include -I../hidparser -O2 -Wall -W -Werror  -L/usr/lib/i386-linux-gnu -lusb -o test_libhid  test_libhid.o ../src/libhid.la
mkdir .libs
gcc -I../include -I../hidparser -O2 -Wall -W -Werror -o .libs/test_libhid test_libhid.o  -L/usr/lib/i386-linux-gnu ../src/.libs/libhid.so -lusb
creating test_libhid
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -DNDEBUG -I../include -I../hidparser -O2 -Wall -W -Werror -MT lshid.o -MD -MP -MF ".deps/lshid.Tpo" -c -o lshid.o lshid.c; \
then mv -f ".deps/lshid.Tpo" ".deps/lshid.Po"; else rm -f ".deps/lshid.Tpo"; exit 1; fi
lshid.c: In function ‘device_iterator’:
lshid.c:32:87: error: parameter ‘len’ set but not used [-Werror=unused-but-set-parameter]
 bool device_iterator (struct usb_dev_handle const* usbdev, void* custom, unsigned int len)
                                                                                       ^
cc1: all warnings being treated as errors
Makefile:312: recipe for target 'lshid.o' failed
make[2]: *** [lshid.o] Error 1
make[2]: Leaving directory '/home/temp/libhid-0.2.16/test'
Makefile:394: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/temp/libhid-0.2.16'
Makefile:304: recipe for target 'all' failed
make: *** [all] Error 2
wurly@host:/home/temp/libhid-0.2.16$

ソース修正

test/lshid.c でビルドエラーになっているので、修正する。

39 /* only here to prevent the unused warning */
40 /* TODO remove */
41 len = *((unsigned long*)custom);
42
43 /* Obtain the device's full path */
39 /* only here to prevent the unused warning */
40 /* TODO remove */
41 //len = *((unsigned long*)custom);
42 len = len;
43 custom = custom;
44
45 /* Obtain the device's full path */

install

root@host:/home/temp/libhid-0.2.16# make install
Making install in hidparser
make[1]: Entering directory '/home/temp/libhid-0.2.16/hidparser'
make[2]: Entering directory '/home/temp/libhid-0.2.16/hidparser'
make[2]: Nothing to be done for 'install-exec-am'.
test -z "/usr/local/include" || mkdir -p -- "/usr/local/include"
 /usr/bin/install -c -m 644 'hidparser.h' '/usr/local/include/hidparser.h'
 /usr/bin/install -c -m 644 'hidtypes.h' '/usr/local/include/hidtypes.h'
make[2]: Leaving directory '/home/temp/libhid-0.2.16/hidparser'
make[1]: Leaving directory '/home/temp/libhid-0.2.16/hidparser'
Making install in src
make[1]: Entering directory '/home/temp/libhid-0.2.16/src'
make[2]: Entering directory '/home/temp/libhid-0.2.16/src'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
 /bin/bash ../libtool --mode=install /usr/bin/install -c  'libhid.la' '/usr/local/lib/libhid.la'
/usr/bin/install -c .libs/libhid.so.0.0.0 /usr/local/lib/libhid.so.0.0.0
(cd /usr/local/lib && { ln -s -f libhid.so.0.0.0 libhid.so.0 || { rm -f libhid.so.0 && ln -s libhid.so.0.0.0 libhid.so.0; }; })
(cd /usr/local/lib && { ln -s -f libhid.so.0.0.0 libhid.so || { rm -f libhid.so && ln -s libhid.so.0.0.0 libhid.so; }; })
/usr/bin/install -c .libs/libhid.lai /usr/local/lib/libhid.la
/usr/bin/install -c .libs/libhid.a /usr/local/lib/libhid.a
chmod 644 /usr/local/lib/libhid.a
ranlib /usr/local/lib/libhid.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/bin" || mkdir -p -- "/usr/local/bin"
  /bin/bash ../libtool --mode=install /usr/bin/install -c 'libhid-detach-device' '/usr/local/bin/libhid-detach-device'
/usr/bin/install -c .libs/libhid-detach-device /usr/local/bin/libhid-detach-device
test -z "/usr/local/include" || mkdir -p -- "/usr/local/include"
 /usr/bin/install -c -m 644 '../include/hid.h' '/usr/local/include/hid.h'
make[2]: Leaving directory '/home/temp/libhid-0.2.16/src'
make[1]: Leaving directory '/home/temp/libhid-0.2.16/src'
Making install in test
make[1]: Entering directory '/home/temp/libhid-0.2.16/test'
make[2]: Entering directory '/home/temp/libhid-0.2.16/src'
make[2]: Leaving directory '/home/temp/libhid-0.2.16/src'
make[2]: Entering directory '/home/temp/libhid-0.2.16/test'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/temp/libhid-0.2.16/test'
make[1]: Leaving directory '/home/temp/libhid-0.2.16/test'
Making install in doc
make[1]: Entering directory '/home/temp/libhid-0.2.16/doc'
Making install in www
make[2]: Entering directory '/home/temp/libhid-0.2.16/doc/www'
make[3]: Entering directory '/home/temp/libhid-0.2.16/doc/www'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/temp/libhid-0.2.16/doc/www'
make[2]: Leaving directory '/home/temp/libhid-0.2.16/doc/www'
Making install in man
make[2]: Entering directory '/home/temp/libhid-0.2.16/doc/man'
make[3]: Entering directory '/home/temp/libhid-0.2.16/doc/man'
make[3]: Nothing to be done for 'install-exec-am'.
test -z "/usr/local/share/man/man1" || mkdir -p -- "/usr/local/share/man/man1"
 /usr/bin/install -c -m 644 './libhid-detach-device.1' '/usr/local/share/man/man1/libhid-detach-device.1'
make[3]: Leaving directory '/home/temp/libhid-0.2.16/doc/man'
make[2]: Leaving directory '/home/temp/libhid-0.2.16/doc/man'
make[2]: Entering directory '/home/temp/libhid-0.2.16/doc'
make[3]: Entering directory '/home/temp/libhid-0.2.16/doc'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/temp/libhid-0.2.16/doc'
make[2]: Leaving directory '/home/temp/libhid-0.2.16/doc'
make[1]: Leaving directory '/home/temp/libhid-0.2.16/doc'
make[1]: Entering directory '/home/temp/libhid-0.2.16'
make[2]: Entering directory '/home/temp/libhid-0.2.16'
make[2]: Nothing to be done for 'install-exec-am'.
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- "/usr/local/lib/pkgconfig"
 /usr/bin/install -c -m 644 'pkgconfig/libhid.pc' '/usr/local/lib/pkgconfig/libhid.pc'
make[2]: Leaving directory '/home/temp/libhid-0.2.16'
make[1]: Leaving directory '/home/temp/libhid-0.2.16'
ホーム | 文書トップ | 目次
Created by Emacs 25.2.1 (Org mode 8.2.10)