For what is "libusb" in libpcap-1.6.2-ring ?
Your "libpcap-1.6.2-ring" require "libusb"
I must add libusb in samples makefile.in
Could you fix it on SVN ?
My "svn diff" fo example
Index: c++/Makefile.in
===================================================================
--- c++/Makefile.in (revision 9013)
+++ c++/Makefile.in (working copy)
@@ -6,7 +6,7 @@
LIBPFRING_CPP=libpfring_cpp.a
RANLIB=ranlib
OBJ=PFring.o
-LIBS=../lib/libpfring.a @SILICOM_LIBS@ -lpthread
+LIBS=../lib/libpfring.a @SILICOM_LIBS@ -lpthread -lusb-1.0
all: $(LIBPFRING_CPP) pf_test
Index: examples/Makefile.in
===================================================================
--- examples/Makefile.in (revision 9013)
+++ examples/Makefile.in (working copy)
@@ -46,7 +46,7 @@
#
# User and System libraries
#
-LIBS = ${LIBPCAP} ${LIBPFRING} ${LIBPCAP} @DAG_LIB@ @NT_LIB@
-lpthread @SYSLIBS@ @SILICOM_LIBS@ @REDIS_LIB@ @LIBNUMA@ -lrt
+LIBS = ${LIBPCAP} ${LIBPFRING} ${LIBPCAP} @DAG_LIB@ @NT_LIB@
-lpthread @SYSLIBS@ @SILICOM_LIBS@ @REDIS_LIB@ @LIBNUMA@ -lrt -lusb-1.0
# How to make an object file
%.o: %.c pfutils.c
Index: examples_libzero/Makefile.in
===================================================================
--- examples_libzero/Makefile.in (revision 9013)
+++ examples_libzero/Makefile.in (working copy)
@@ -46,7 +46,7 @@
#
# User and System libraries
#
-LIBS = ${LIBPCAP} ${LIBPFRING} @DAG_LIB@ @NT_LIB@ -lpthread
@SYSLIBS@ ${LIBPCAP} @SILICOM_LIBS@ @REDIS_LIB@ @LIBNUMA@ -lrt
+LIBS = ${LIBPCAP} ${LIBPFRING} @DAG_LIB@ @NT_LIB@ -lpthread
@SYSLIBS@ ${LIBPCAP} @SILICOM_LIBS@ @REDIS_LIB@ @LIBNUMA@ -lrt -lusb-1.0
# How to make an object file
%.o: %.c pfutils.c
Index: examples_zc/Makefile.in
===================================================================
--- examples_zc/Makefile.in (revision 9013)
+++ examples_zc/Makefile.in (working copy)
@@ -19,7 +19,7 @@
#
# User and System libraries
#
-LIBS = ${LIBPFRING} @DAG_LIB@ @NT_LIB@ $(LIBPCAP) -lpthread
@SYSLIBS@ @LIBNUMA@
+LIBS = ${LIBPFRING} @DAG_LIB@ @NT_LIB@ $(LIBPCAP) -lpthread
@SYSLIBS@ @LIBNUMA@ -lusb-1.0
#
# C compiler and flags
Best regards
Max
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc