frwa for some reason the libcap library did not compile. Please cd userland/libpcap and see what happens
How did you disable libpcap? Luca On 08 Dec 2013, at 11:18, frwa onto <[email protected]> wrote: > We have used the previous version PF_RING-5.6.0 with the following steps of > avoiding libpcap. > We download today the latest version PF_RING-5.6.1 and below is the output > for each step final in the /userland/example when we run the make it shows > gcc: ../libpcap-1.1.1-ring/libpcap.a: No such file or directory > gcc: ../libpcap-1.1.1-ring/libpcap.a: No such file or directory. Why is it > still referring to libpcap when I have disable without any issue ? Is there > any new command not covered in the guide ? > > > ./configure --disable-bpf > 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 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 linux/net_tstamp.h usability... yes > checking linux/net_tstamp.h presence... yes > checking for linux/net_tstamp.h... yes > checking librdi.h usability... no > checking librdi.h presence... no > checking for librdi.h... no > checking for pthread_setaffinity_np in -lpthread... yes > checking Zero support... yes > checking if r/w locks are supported... yes > checking DNA support... yes > checking Virtual support... yes > checking for librdi.h... (cached) no > checking for redisCommand in -lhiredis... no > checking for nl_handle_alloc in -lnl... yes > checking for dag_get_stream_erf_types in -ldag... no > configure: creating ./config.status > config.status: creating Makefile > config.status: creating ../examples/Makefile > config.status: creating ../c++/Makefile > config.status: creating config.h > config.status: config.h is unchanged > > > [root@localhost lib]# make > ar x libs/libpfring_zero_x86_64.a > ar x libs/libpfring_dna_x86_64.a > ar x libs/libpfring_mod_virtual_x86_64.a > =*= making library libpfring.a =*= > ar rs libpfring.a pfring.o pfring_mod.o pfring_utils.o pfring_mod_stack.o > pfring_mod_usring.o pfring_hw_filtering.o pfring_dna_bouncer.o > pfring_mod_dna_cluster.o pfring_dna_cluster.o pfring_dna_vas.o > pfring_dna_sal.o pfring_libzero.o hugepages_lib.o pfring_mod_dna.o > pfring_dna.o pfring_e1000e_dna.o pfring_e1000_dna.o pfring_ixgbe_dna.o > pfring_igb_dna.o silicom_ts.o pfring_dna_utils.o pfring_mod_virtual.o > ranlib libpfring.a > =*= making library libpfring.so =*= > gcc -g -shared pfring.o pfring_mod.o pfring_utils.o pfring_mod_stack.o > pfring_mod_usring.o pfring_hw_filtering.o pfring_dna_bouncer.o > pfring_mod_dna_cluster.o pfring_dna_cluster.o pfring_dna_vas.o > pfring_dna_sal.o pfring_libzero.o hugepages_lib.o pfring_mod_dna.o > pfring_dna.o pfring_e1000e_dna.o pfring_e1000_dna.o pfring_ixgbe_dna.o > pfring_igb_dna.o silicom_ts.o pfring_dna_utils.o pfring_mod_virtual.o > -lpthread -lnl -o libpfring.so > > > root@localhost lib]# make install > ar x libs/libpfring_zero_x86_64.a > ar x libs/libpfring_dna_x86_64.a > ar x libs/libpfring_mod_virtual_x86_64.a > =*= making library libpfring.a =*= > ar rs libpfring.a pfring.o pfring_mod.o pfring_utils.o pfring_mod_stack.o > pfring_mod_usring.o pfring_hw_filtering.o pfring_dna_bouncer.o > pfring_mod_dna_cluster.o pfring_dna_cluster.o pfring_dna_vas.o > pfring_dna_sal.o pfring_libzero.o hugepages_lib.o pfring_mod_dna.o > pfring_dna.o pfring_e1000e_dna.o pfring_e1000_dna.o pfring_ixgbe_dna.o > pfring_igb_dna.o silicom_ts.o pfring_dna_utils.o pfring_mod_virtual.o > ranlib libpfring.a > mkdir -p //usr/local/include > cp pfring.h //usr/local/include/ > mkdir -p //usr/local/lib > cp libpfring.a //usr/local/lib/ > =*= making library libpfring.so =*= > gcc -g -shared pfring.o pfring_mod.o pfring_utils.o pfring_mod_stack.o > pfring_mod_usring.o pfring_hw_filtering.o pfring_dna_bouncer.o > pfring_mod_dna_cluster.o pfring_dna_cluster.o pfring_dna_vas.o > pfring_dna_sal.o pfring_libzero.o hugepages_lib.o pfring_mod_dna.o > pfring_dna.o pfring_e1000e_dna.o pfring_e1000_dna.o pfring_ixgbe_dna.o > pfring_igb_dna.o silicom_ts.o pfring_dna_utils.o pfring_mod_virtual.o > -lpthread -lnl -o libpfring.so > mkdir -p //usr/local/lib > cp libpfring.so //usr/local/lib/ > > > [root@localhost examples]# make > gcc -O2 -DHAVE_PF_RING -Wall -I../../kernel -I../../kernel/plugins -I../lib > -I../libpcap-1.1.1-ring -D HAVE_ZERO -O2 pfcount.o > ../libpcap-1.1.1-ring/libpcap.a ../lib/libpfring.a -lpthread -lnl > ../libpcap-1.1.1-ring/libpcap.a -lrt -o pfcount > gcc: ../libpcap-1.1.1-ring/libpcap.a: No such file or directory > gcc: ../libpcap-1.1.1-ring/libpcap.a: No such file or directory > make: *** [pfcount] Error 1 > > > > > > > > > > > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
