nfqueue安装

root@OrangePizero:/home/nfqueue/libnfnetlink-1.0.1# ./configure 
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating include/libnfnetlink/Makefile
config.status: creating utils/Makefile
config.status: creating libnfnetlink.pc
config.status: executing depfiles commands
config.status: executing libtool commands
root@OrangePizero:/home/nfqueue/libnfnetlink-1.0.1# ls
aclocal.m4  config.guess  config.status  configure     COPYING  include     libnfnetlink.pc     libtool    m4        Makefile.am  Make_global.am  README  utils
build-aux   config.log    config.sub     configure.ac  depcomp  install-sh  libnfnetlink.pc.in  ltmain.sh  Makefile  Makefile.in  missing         src
root@OrangePizero:/home/nfqueue/libnfnetlink-1.0.1# make
Making all in src
make[1]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1/src'
  CC     libnfnetlink.lo
  CC     iftable.lo
In file included from iftable.c:25:0:
iftable.c: In function ‘iftable_add’:
../include/linux_list.h:385:59: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  for (pos = list_entry((head)->next, typeof(*pos), member), \
                                                           ^
iftable.c:72:2: note: in expansion of macro ‘list_for_each_entry’
  list_for_each_entry(this, &h->ifindex_hash[hash], head) {
  ^
../include/linux_list.h:388:63: warning: right-hand operand of comma expression has no effect [-Wunused-value]
       pos = list_entry(pos->member.next, typeof(*pos), member), \
                                                               ^
iftable.c:72:2: note: in expansion of macro ‘list_for_each_entry’
  list_for_each_entry(this, &h->ifindex_hash[hash], head) {
  ^
iftable.c: In function ‘nlif_index2name’:
../include/linux_list.h:385:59: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  for (pos = list_entry((head)->next, typeof(*pos), member), \
                                                           ^
iftable.c:165:2: note: in expansion of macro ‘list_for_each_entry’
  list_for_each_entry(this, &h->ifindex_hash[hash], head) {
  ^
../include/linux_list.h:388:63: warning: right-hand operand of comma expression has no effect [-Wunused-value]
       pos = list_entry(pos->member.next, typeof(*pos), member), \
                                                               ^
iftable.c:165:2: note: in expansion of macro ‘list_for_each_entry’
  list_for_each_entry(this, &h->ifindex_hash[hash], head) {
  ^
iftable.c: In function ‘nlif_get_ifflags’:
../include/linux_list.h:385:59: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  for (pos = list_entry((head)->next, typeof(*pos), member), \
                                                           ^
iftable.c:199:2: note: in expansion of macro ‘list_for_each_entry’
  list_for_each_entry(this, &h->ifindex_hash[hash], head) {
  ^
../include/linux_list.h:388:63: warning: right-hand operand of comma expression has no effect [-Wunused-value]
       pos = list_entry(pos->member.next, typeof(*pos), member), \
                                                               ^
iftable.c:199:2: note: in expansion of macro ‘list_for_each_entry’
  list_for_each_entry(this, &h->ifindex_hash[hash], head) {
  ^
  CC     rtnl.lo
  CCLD   libnfnetlink.la
make[1]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1/src'
Making all in include
make[1]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1/include'
Making all in libnfnetlink
make[2]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1/include/libnfnetlink'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1/include/libnfnetlink'
make[2]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1/include'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1/include'
make[1]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1/include'
Making all in utils
make[1]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1/utils'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1/utils'
make[1]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1'
root@OrangePizero:/home/nfqueue/libnfnetlink-1.0.1# make install
Making install in src
make[1]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1/src'
make[2]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1/src'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libnfnetlink.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libnfnetlink.so.0.2.0 /usr/local/lib/libnfnetlink.so.0.2.0
libtool: install: (cd /usr/local/lib && { ln -s -f libnfnetlink.so.0.2.0 libnfnetlink.so.0 || { rm -f libnfnetlink.so.0 && ln -s libnfnetlink.so.0.2.0 libnfnetlink.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libnfnetlink.so.0.2.0 libnfnetlink.so || { rm -f libnfnetlink.so && ln -s libnfnetlink.so.0.2.0 libnfnetlink.so; }; })
libtool: install: /usr/bin/install -c .libs/libnfnetlink.lai /usr/local/lib/libnfnetlink.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/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.
----------------------------------------------------------------------
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1/src'
make[1]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1/src'
Making install in include
make[1]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1/include'
Making install in libnfnetlink
make[2]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1/include/libnfnetlink'
make[3]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1/include/libnfnetlink'
make[3]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/include/libnfnetlink'
 /usr/bin/install -c -m 644 libnfnetlink.h linux_nfnetlink.h linux_nfnetlink_compat.h '/usr/local/include/libnfnetlink'
make[3]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1/include/libnfnetlink'
make[2]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1/include/libnfnetlink'
make[2]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1/include'
make[3]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1/include'
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/nfqueue/libnfnetlink-1.0.1/include'
make[2]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1/include'
make[1]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1/include'
Making install in utils
make[1]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1/utils'
make[2]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1/utils'
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/nfqueue/libnfnetlink-1.0.1/utils'
make[1]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1/utils'
make[1]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1'
make[2]: Entering directory '/home/nfqueue/libnfnetlink-1.0.1'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libnfnetlink.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1'
make[1]: Leaving directory '/home/nfqueue/libnfnetlink-1.0.1'
root@OrangePizero:/home/nfqueue/libnfnetlink-1.0.1# ls
aclocal.m4  config.guess  config.status  configure     COPYING  include     libnfnetlink.pc     libtool    m4        Makefile.am  Make_global.am  README  utils
build-aux   config.log    config.sub     configure.ac  depcomp  install-sh  libnfnetlink.pc.in  ltmain.sh  Makefile  Makefile.in  missing         src
root@OrangePizero:/home/nfqueue/libnfnetlink-1.0.1# cd ..
root@OrangePizero:/home/nfqueue# ls
libmnl-1.0.4.tar.bz2  libnetfilter_queue-1.0.2.tar.bz2  libnfnetlink-1.0.1  libnfnetlink-1.0.1.tar.bz2
root@OrangePizero:/home/nfqueue# tar -xvf libmnl-1.0.4.tar.bz2 
libmnl-1.0.4/
libmnl-1.0.4/examples/
libmnl-1.0.4/examples/netfilter/
libmnl-1.0.4/examples/netfilter/nf-queue.c
libmnl-1.0.4/examples/netfilter/nfct-create-batch.c
libmnl-1.0.4/examples/netfilter/nf-log.c
libmnl-1.0.4/examples/netfilter/Makefile.am
libmnl-1.0.4/examples/netfilter/nfct-daemon.c
libmnl-1.0.4/examples/netfilter/Makefile.in
libmnl-1.0.4/examples/netfilter/nfct-event.c
libmnl-1.0.4/examples/netfilter/nfct-dump.c
libmnl-1.0.4/examples/Makefile.am
libmnl-1.0.4/examples/Makefile.in
libmnl-1.0.4/examples/genl/
libmnl-1.0.4/examples/genl/Makefile.am
libmnl-1.0.4/examples/genl/Makefile.in
libmnl-1.0.4/examples/genl/genl-group-events.c
libmnl-1.0.4/examples/genl/genl-family-get.c
libmnl-1.0.4/examples/rtnl/
libmnl-1.0.4/examples/rtnl/rtnl-link-event.c
libmnl-1.0.4/examples/rtnl/Makefile.am
libmnl-1.0.4/examples/rtnl/rtnl-route-add.c
libmnl-1.0.4/examples/rtnl/rtnl-link-dump3.c
libmnl-1.0.4/examples/rtnl/Makefile.in
libmnl-1.0.4/examples/rtnl/rtnl-addr-dump.c
libmnl-1.0.4/examples/rtnl/rtnl-link-dump2.c
libmnl-1.0.4/examples/rtnl/rtnl-route-dump.c
libmnl-1.0.4/examples/rtnl/rtnl-link-dump.c
libmnl-1.0.4/examples/rtnl/rtnl-route-event.c
libmnl-1.0.4/examples/rtnl/rtnl-link-set.c
libmnl-1.0.4/examples/kobject/
libmnl-1.0.4/examples/kobject/Makefile.am
libmnl-1.0.4/examples/kobject/kobject-event.c
libmnl-1.0.4/examples/kobject/Makefile.in
libmnl-1.0.4/doxygen.cfg.in
libmnl-1.0.4/README
libmnl-1.0.4/aclocal.m4
libmnl-1.0.4/Makefile.am
libmnl-1.0.4/configure.ac
libmnl-1.0.4/configure
libmnl-1.0.4/libmnl.pc.in
libmnl-1.0.4/Make_global.am
libmnl-1.0.4/src/
libmnl-1.0.4/src/internal.h
libmnl-1.0.4/src/libmnl.map
libmnl-1.0.4/src/Makefile.am
libmnl-1.0.4/src/Makefile.in
libmnl-1.0.4/src/attr.c
libmnl-1.0.4/src/nlmsg.c
libmnl-1.0.4/src/callback.c
libmnl-1.0.4/src/socket.c
libmnl-1.0.4/Makefile.in
libmnl-1.0.4/build-aux/
libmnl-1.0.4/build-aux/depcomp
libmnl-1.0.4/build-aux/ltmain.sh
libmnl-1.0.4/build-aux/config.guess
libmnl-1.0.4/build-aux/install-sh
libmnl-1.0.4/build-aux/config.sub
libmnl-1.0.4/build-aux/compile
libmnl-1.0.4/build-aux/missing
libmnl-1.0.4/m4/
libmnl-1.0.4/m4/lt~obsolete.m4
libmnl-1.0.4/m4/ltoptions.m4
libmnl-1.0.4/m4/ltsugar.m4
libmnl-1.0.4/m4/gcc4_visibility.m4
libmnl-1.0.4/m4/ltversion.m4
libmnl-1.0.4/m4/libtool.m4
libmnl-1.0.4/include/
libmnl-1.0.4/include/libmnl/
libmnl-1.0.4/include/libmnl/Makefile.am
libmnl-1.0.4/include/libmnl/Makefile.in
libmnl-1.0.4/include/libmnl/libmnl.h
libmnl-1.0.4/include/linux/
libmnl-1.0.4/include/linux/netfilter/
libmnl-1.0.4/include/linux/netfilter/Makefile.am
libmnl-1.0.4/include/linux/netfilter/Makefile.in
libmnl-1.0.4/include/linux/netfilter/nfnetlink_conntrack.h
libmnl-1.0.4/include/linux/netlink.h
libmnl-1.0.4/include/linux/Makefile.am
libmnl-1.0.4/include/linux/Makefile.in
libmnl-1.0.4/include/linux/socket.h
libmnl-1.0.4/include/Makefile.am
libmnl-1.0.4/include/Makefile.in
libmnl-1.0.4/COPYING
libmnl-1.0.4/config.h.in
root@OrangePizero:/home/nfqueue# ls
libmnl-1.0.4  libmnl-1.0.4.tar.bz2  libnetfilter_queue-1.0.2.tar.bz2  libnfnetlink-1.0.1  libnfnetlink-1.0.1.tar.bz2
root@OrangePizero:/home/nfqueue# cd libmnl-1.0.4
root@OrangePizero:/home/nfqueue/libmnl-1.0.4# ls
aclocal.m4  build-aux  config.h.in  configure  configure.ac  COPYING  doxygen.cfg.in  examples  include  libmnl.pc.in  m4  Makefile.am  Makefile.in  Make_global.am  README  src
root@OrangePizero:/home/nfqueue/libmnl-1.0.4# ./configure 
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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... no
checking whether compiler accepts -fvisibility=hidden... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating include/libmnl/Makefile
config.status: creating include/linux/Makefile
config.status: creating include/linux/netfilter/Makefile
config.status: creating examples/Makefile
config.status: creating examples/genl/Makefile
config.status: creating examples/kobject/Makefile
config.status: creating examples/netfilter/Makefile
config.status: creating examples/rtnl/Makefile
config.status: creating libmnl.pc
config.status: creating doxygen.cfg
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
root@OrangePizero:/home/nfqueue/libmnl-1.0.4# make 
make  all-recursive
make[1]: Entering directory '/home/nfqueue/libmnl-1.0.4'
Making all in src
make[2]: Entering directory '/home/nfqueue/libmnl-1.0.4/src'
  CC       socket.lo
  CC       callback.lo
  CC       nlmsg.lo
  CC       attr.lo
  CCLD     libmnl.la
make[2]: Leaving directory '/home/nfqueue/libmnl-1.0.4/src'
Making all in include
make[2]: Entering directory '/home/nfqueue/libmnl-1.0.4/include'
Making all in libmnl
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/include/libmnl'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include/libmnl'
Making all in linux
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/include/linux'
Making all in netfilter
make[4]: Entering directory '/home/nfqueue/libmnl-1.0.4/include/linux/netfilter'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include/linux/netfilter'
make[4]: Entering directory '/home/nfqueue/libmnl-1.0.4/include/linux'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include/linux'
make[3]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include/linux'
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include'
make[2]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include'
Making all in examples
make[2]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples'
Making all in genl
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples/genl'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/nfqueue/libmnl-1.0.4/examples/genl'
Making all in kobject
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples/kobject'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/nfqueue/libmnl-1.0.4/examples/kobject'
Making all in netfilter
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples/netfilter'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/nfqueue/libmnl-1.0.4/examples/netfilter'
Making all in rtnl
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples/rtnl'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/nfqueue/libmnl-1.0.4/examples/rtnl'
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/nfqueue/libmnl-1.0.4/examples'
make[2]: Leaving directory '/home/nfqueue/libmnl-1.0.4/examples'
make[2]: Entering directory '/home/nfqueue/libmnl-1.0.4'
make[2]: Leaving directory '/home/nfqueue/libmnl-1.0.4'
make[1]: Leaving directory '/home/nfqueue/libmnl-1.0.4'
root@OrangePizero:/home/nfqueue/libmnl-1.0.4# make install
Making install in src
make[1]: Entering directory '/home/nfqueue/libmnl-1.0.4/src'
make[2]: Entering directory '/home/nfqueue/libmnl-1.0.4/src'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libmnl.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libmnl.so.0.2.0 /usr/local/lib/libmnl.so.0.2.0
libtool: install: (cd /usr/local/lib && { ln -s -f libmnl.so.0.2.0 libmnl.so.0 || { rm -f libmnl.so.0 && ln -s libmnl.so.0.2.0 libmnl.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libmnl.so.0.2.0 libmnl.so || { rm -f libmnl.so && ln -s libmnl.so.0.2.0 libmnl.so; }; })
libtool: install: /usr/bin/install -c .libs/libmnl.lai /usr/local/lib/libmnl.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/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.
----------------------------------------------------------------------
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/nfqueue/libmnl-1.0.4/src'
make[1]: Leaving directory '/home/nfqueue/libmnl-1.0.4/src'
Making install in include
make[1]: Entering directory '/home/nfqueue/libmnl-1.0.4/include'
Making install in libmnl
make[2]: Entering directory '/home/nfqueue/libmnl-1.0.4/include/libmnl'
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/include/libmnl'
make[3]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/include/libmnl'
 /usr/bin/install -c -m 644 libmnl.h '/usr/local/include/libmnl'
make[3]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include/libmnl'
make[2]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include/libmnl'
Making install in linux
make[2]: Entering directory '/home/nfqueue/libmnl-1.0.4/include/linux'
Making install in netfilter
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/include/linux/netfilter'
make[4]: Entering directory '/home/nfqueue/libmnl-1.0.4/include/linux/netfilter'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include/linux/netfilter'
make[3]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include/linux/netfilter'
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/include/linux'
make[4]: Entering directory '/home/nfqueue/libmnl-1.0.4/include/linux'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include/linux'
make[3]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include/linux'
make[2]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include/linux'
make[2]: Entering directory '/home/nfqueue/libmnl-1.0.4/include'
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/include'
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/nfqueue/libmnl-1.0.4/include'
make[2]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include'
make[1]: Leaving directory '/home/nfqueue/libmnl-1.0.4/include'
Making install in examples
make[1]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples'
Making install in genl
make[2]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples/genl'
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples/genl'
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/nfqueue/libmnl-1.0.4/examples/genl'
make[2]: Leaving directory '/home/nfqueue/libmnl-1.0.4/examples/genl'
Making install in kobject
make[2]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples/kobject'
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples/kobject'
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/nfqueue/libmnl-1.0.4/examples/kobject'
make[2]: Leaving directory '/home/nfqueue/libmnl-1.0.4/examples/kobject'
Making install in netfilter
make[2]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples/netfilter'
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples/netfilter'
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/nfqueue/libmnl-1.0.4/examples/netfilter'
make[2]: Leaving directory '/home/nfqueue/libmnl-1.0.4/examples/netfilter'
Making install in rtnl
make[2]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples/rtnl'
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples/rtnl'
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/nfqueue/libmnl-1.0.4/examples/rtnl'
make[2]: Leaving directory '/home/nfqueue/libmnl-1.0.4/examples/rtnl'
make[2]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples'
make[3]: Entering directory '/home/nfqueue/libmnl-1.0.4/examples'
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/nfqueue/libmnl-1.0.4/examples'
make[2]: Leaving directory '/home/nfqueue/libmnl-1.0.4/examples'
make[1]: Leaving directory '/home/nfqueue/libmnl-1.0.4/examples'
make[1]: Entering directory '/home/nfqueue/libmnl-1.0.4'
make[2]: Entering directory '/home/nfqueue/libmnl-1.0.4'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libmnl.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/home/nfqueue/libmnl-1.0.4'
make[1]: Leaving directory '/home/nfqueue/libmnl-1.0.4'
root@OrangePizero:/home/nfqueue/libmnl-1.0.4# ls
aclocal.m4  config.h     config.log     configure     COPYING      doxygen.cfg.in  include    libmnl.pc.in  m4        Makefile.am  Make_global.am  src
build-aux   config.h.in  config.status  configure.ac  doxygen.cfg  examples        libmnl.pc  libtool       Makefile  Makefile.in  README          stamp-h1
root@OrangePizero:/home/nfqueue/libmnl-1.0.4# cd ..
root@OrangePizero:/home/nfqueue# ls
libmnl-1.0.4  libmnl-1.0.4.tar.bz2  libnetfilter_queue-1.0.2.tar.bz2  libnfnetlink-1.0.1  libnfnetlink-1.0.1.tar.bz2
root@OrangePizero:/home/nfqueue# tar -xvf libnetfilter_queue-1.0.2.tar.bz2 
libnetfilter_queue-1.0.2/
libnetfilter_queue-1.0.2/Make_global.am
libnetfilter_queue-1.0.2/libnetfilter_queue.pc.in
libnetfilter_queue-1.0.2/aclocal.m4
libnetfilter_queue-1.0.2/ltmain.sh
libnetfilter_queue-1.0.2/include/
libnetfilter_queue-1.0.2/include/linux/
libnetfilter_queue-1.0.2/include/linux/netfilter/
libnetfilter_queue-1.0.2/include/linux/netfilter/Makefile.am
libnetfilter_queue-1.0.2/include/linux/netfilter/Makefile.in
libnetfilter_queue-1.0.2/include/linux/netfilter/Makefile
libnetfilter_queue-1.0.2/include/linux/netfilter/nfnetlink_queue.h
libnetfilter_queue-1.0.2/include/linux/Makefile.am
libnetfilter_queue-1.0.2/include/linux/Makefile.in
libnetfilter_queue-1.0.2/include/linux/Makefile
libnetfilter_queue-1.0.2/include/Makefile.am
libnetfilter_queue-1.0.2/include/Makefile.in
libnetfilter_queue-1.0.2/include/libnetfilter_queue/
libnetfilter_queue-1.0.2/include/libnetfilter_queue/linux_nfnetlink_queue.h
libnetfilter_queue-1.0.2/include/libnetfilter_queue/libnetfilter_queue_ipv6.h
libnetfilter_queue-1.0.2/include/libnetfilter_queue/libnetfilter_queue.h
libnetfilter_queue-1.0.2/include/libnetfilter_queue/Makefile.am
libnetfilter_queue-1.0.2/include/libnetfilter_queue/Makefile.in
libnetfilter_queue-1.0.2/include/libnetfilter_queue/libnetfilter_queue_udp.h
libnetfilter_queue-1.0.2/include/libnetfilter_queue/libnetfilter_queue_ipv4.h
libnetfilter_queue-1.0.2/include/libnetfilter_queue/libnetfilter_queue_tcp.h
libnetfilter_queue-1.0.2/include/libnetfilter_queue/pktbuff.h
libnetfilter_queue-1.0.2/m4/
libnetfilter_queue-1.0.2/m4/ltsugar.m4
libnetfilter_queue-1.0.2/m4/lt~obsolete.m4
libnetfilter_queue-1.0.2/m4/gcc4_visibility.m4
libnetfilter_queue-1.0.2/m4/libtool.m4
libnetfilter_queue-1.0.2/m4/ltoptions.m4
libnetfilter_queue-1.0.2/m4/ltversion.m4
libnetfilter_queue-1.0.2/config.h.in
libnetfilter_queue-1.0.2/install-sh
libnetfilter_queue-1.0.2/build-aux/
libnetfilter_queue-1.0.2/build-aux/ltmain.sh
libnetfilter_queue-1.0.2/build-aux/install-sh
libnetfilter_queue-1.0.2/build-aux/config.sub
libnetfilter_queue-1.0.2/build-aux/config.guess
libnetfilter_queue-1.0.2/build-aux/depcomp
libnetfilter_queue-1.0.2/build-aux/missing
libnetfilter_queue-1.0.2/build-aux/compile
libnetfilter_queue-1.0.2/config.sub
libnetfilter_queue-1.0.2/config.guess
libnetfilter_queue-1.0.2/utils/
libnetfilter_queue-1.0.2/utils/nfqnl_test.c
libnetfilter_queue-1.0.2/utils/Makefile.am
libnetfilter_queue-1.0.2/utils/Makefile.in
libnetfilter_queue-1.0.2/configure.ac
libnetfilter_queue-1.0.2/COPYING
libnetfilter_queue-1.0.2/depcomp
libnetfilter_queue-1.0.2/Makefile.am
libnetfilter_queue-1.0.2/Makefile.in
libnetfilter_queue-1.0.2/missing
libnetfilter_queue-1.0.2/src/
libnetfilter_queue-1.0.2/src/extra/
libnetfilter_queue-1.0.2/src/extra/tcp.c
libnetfilter_queue-1.0.2/src/extra/ipv6.c
libnetfilter_queue-1.0.2/src/extra/checksum.c
libnetfilter_queue-1.0.2/src/extra/udp.c
libnetfilter_queue-1.0.2/src/extra/ipv4.c
libnetfilter_queue-1.0.2/src/extra/pktbuff.c
libnetfilter_queue-1.0.2/src/Makefile.am
libnetfilter_queue-1.0.2/src/Makefile.in
libnetfilter_queue-1.0.2/src/nlmsg.c
libnetfilter_queue-1.0.2/src/internal.h
libnetfilter_queue-1.0.2/src/libnetfilter_queue.c
libnetfilter_queue-1.0.2/configure
libnetfilter_queue-1.0.2/doxygen.cfg.in
libnetfilter_queue-1.0.2/examples/
libnetfilter_queue-1.0.2/examples/nf-queue.c
libnetfilter_queue-1.0.2/examples/Makefile.am
libnetfilter_queue-1.0.2/examples/Makefile.in
root@OrangePizero:/home/nfqueue# ls
libmnl-1.0.4  libmnl-1.0.4.tar.bz2  libnetfilter_queue-1.0.2  libnetfilter_queue-1.0.2.tar.bz2  libnfnetlink-1.0.1  libnfnetlink-1.0.1.tar.bz2
root@OrangePizero:/home/nfqueue# cd libnetfilter_queue-1.0.2
root@OrangePizero:/home/nfqueue/libnetfilter_queue-1.0.2# ls
aclocal.m4  config.guess  config.sub  configure.ac  depcomp         examples  install-sh                ltmain.sh  Makefile.am  Make_global.am  src
build-aux   config.h.in   configure   COPYING       doxygen.cfg.in  include   libnetfilter_queue.pc.in  m4         Makefile.in  missing         utils
root@OrangePizero:/home/nfqueue/libnetfilter_queue-1.0.2# ./configure 
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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... no
checking whether compiler accepts -fvisibility=hidden... yes
checking for pkg-config... no
checking for LIBNFNETLINK... no
configure: error: in `/home/nfqueue/libnetfilter_queue-1.0.2':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables LIBNFNETLINK_CFLAGS
and LIBNFNETLINK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details
root@OrangePizero:/home/nfqueue/libnetfilter_queue-1.0.2# 
root@OrangePizero:/home/nfqueue/libnetfilter_queue-1.0.2# apt install pkg-config
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  dpkg-dev libdpkg-perl
Suggested packages:
  debian-keyring
Recommended packages:
  build-essential fakeroot libalgorithm-merge-perl
The following NEW packages will be installed:
  dpkg-dev pkg-config
The following packages will be upgraded:
  libdpkg-perl
1 upgraded, 2 newly installed, 0 to remove and 93 not upgraded.
Need to get 989 kB of archives.
After this operation, 1,974 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports/ vivid-updates/main libdpkg-perl all 1.17.25ubuntu1.1 [189 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports/ vivid-updates/main dpkg-dev all 1.17.25ubuntu1.1 [763 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports/ vivid/main pkg-config armhf 0.28-1ubuntu1 [37.5 kB]
Fetched 989 kB in 6s (162 kB/s)                                                                                                                                                      
(Reading database ... 78713 files and directories currently installed.)
Preparing to unpack .../libdpkg-perl_1.17.25ubuntu1.1_all.deb ...
Unpacking libdpkg-perl (1.17.25ubuntu1.1) over (1.17.25ubuntu1) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.25ubuntu1.1_all.deb ...
Unpacking dpkg-dev (1.17.25ubuntu1.1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../pkg-config_0.28-1ubuntu1_armhf.deb ...
Unpacking pkg-config (0.28-1ubuntu1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libdpkg-perl (1.17.25ubuntu1.1) ...
Setting up dpkg-dev (1.17.25ubuntu1.1) ...
Setting up pkg-config (0.28-1ubuntu1) ...
root@OrangePizero:/home/nfqueue/libnetfilter_queue-1.0.2# ./configure 
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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... no
checking whether compiler accepts -fvisibility=hidden... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBNFNETLINK... yes
checking for LIBMNL... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating utils/Makefile
config.status: creating examples/Makefile
config.status: creating libnetfilter_queue.pc
config.status: creating doxygen.cfg
config.status: creating include/Makefile
config.status: creating include/libnetfilter_queue/Makefile
config.status: creating include/linux/Makefile
config.status: creating include/linux/netfilter/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
root@OrangePizero:/home/nfqueue/libnetfilter_queue-1.0.2# make install
Making install in src
make[1]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/src'
  CC     libnetfilter_queue.lo
  CC     nlmsg.lo
  CC     extra/checksum.lo
  CC     extra/ipv6.lo
  CC     extra/tcp.lo
  CC     extra/ipv4.lo
  CC     extra/pktbuff.lo
  CC     extra/udp.lo
  CCLD   libnetfilter_queue.la
^CMakefile:390: recipe for target 'libnetfilter_queue.la' failed
make[1]: *** [libnetfilter_queue.la] Interrupt
Makefile:395: recipe for target 'install-recursive' failed
make: *** [install-recursive] Interrupt

root@OrangePizero:/home/nfqueue/libnetfilter_queue-1.0.2# make 
make  all-recursive
make[1]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2'
Making all in src
make[2]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/src'
  CCLD   libnetfilter_queue.la
make[2]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/src'
Making all in utils
make[2]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/utils'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/utils'
Making all in include
make[2]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include'
Making all in libnetfilter_queue
make[3]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/libnetfilter_queue'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/libnetfilter_queue'
Making all in linux
make[3]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux'
Making all in netfilter
make[4]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux/netfilter'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux/netfilter'
make[4]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux'
make[3]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux'
make[3]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include'
make[2]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include'
Making all in examples
make[2]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/examples'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/examples'
make[2]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2'
make[2]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2'
make[1]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2'
root@OrangePizero:/home/nfqueue/libnetfilter_queue-1.0.2# make install
Making install in src
make[1]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/src'
make[2]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/src'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libnetfilter_queue.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libnetfilter_queue.so.1.3.0 /usr/local/lib/libnetfilter_queue.so.1.3.0
libtool: install: (cd /usr/local/lib && { ln -s -f libnetfilter_queue.so.1.3.0 libnetfilter_queue.so.1 || { rm -f libnetfilter_queue.so.1 && ln -s libnetfilter_queue.so.1.3.0 libnetfilter_queue.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libnetfilter_queue.so.1.3.0 libnetfilter_queue.so || { rm -f libnetfilter_queue.so && ln -s libnetfilter_queue.so.1.3.0 libnetfilter_queue.so; }; })
libtool: install: /usr/bin/install -c .libs/libnetfilter_queue.lai /usr/local/lib/libnetfilter_queue.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/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/mkdir -p '/usr/local/include'
 /usr/bin/install -c -m 644 internal.h '/usr/local/include'
make[2]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/src'
make[1]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/src'
Making install in utils
make[1]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/utils'
make[2]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/utils'
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/nfqueue/libnetfilter_queue-1.0.2/utils'
make[1]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/utils'
Making install in include
make[1]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include'
Making install in libnetfilter_queue
make[2]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/libnetfilter_queue'
make[3]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/libnetfilter_queue'
make[3]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/include/libnetfilter_queue'
 /usr/bin/install -c -m 644 libnetfilter_queue.h linux_nfnetlink_queue.h libnetfilter_queue_ipv4.h libnetfilter_queue_ipv6.h libnetfilter_queue_tcp.h libnetfilter_queue_udp.h pktbuff.h '/usr/local/include/libnetfilter_queue'
make[3]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/libnetfilter_queue'
make[2]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/libnetfilter_queue'
Making install in linux
make[2]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux'
Making install in netfilter
make[3]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux/netfilter'
make[4]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux/netfilter'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux/netfilter'
make[3]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux/netfilter'
make[3]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux'
make[4]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux'
make[3]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux'
make[2]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include/linux'
make[2]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include'
make[3]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/include'
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/nfqueue/libnetfilter_queue-1.0.2/include'
make[2]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include'
make[1]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/include'
Making install in examples
make[1]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/examples'
make[2]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2/examples'
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/nfqueue/libnetfilter_queue-1.0.2/examples'
make[1]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2/examples'
make[1]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2'
make[2]: Entering directory '/home/nfqueue/libnetfilter_queue-1.0.2'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libnetfilter_queue.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2'
make[1]: Leaving directory '/home/nfqueue/libnetfilter_queue-1.0.2'
root@OrangePizero:/home/nfqueue/libnetfilter_queue-1.0.2# 

 

posted @ 2017-11-05 21:20  未命名blogs  阅读(994)  评论(0编辑  收藏  举报