Hi Brian sorry kernel 3.8 and above is not yet supported, we will fix this asap.
Best Regards Alfredo On Aug 1, 2013, at 1:26 AM, "Brian C. Wiles" <[email protected]> wrote: > I tried compiling PF_RING and the igb DNA-aware driver under Kernel 3.10, and > am getting failures. The igb driver README says it only compiles for Kernel > 2.4.x and 2.6.x, so hopefully, we can get a 3.10 version soon. I’m not sure > what’s involved with that part. > > The build errors I get with the pf_ring module are as follows: > > make -C /lib/modules/3.10-1-amd64/build SUBDIRS=/home/user/PF_RING/kernel > EXTRA_CFLAGS='-I/home/user/PF_RING/kernel -DSVN_REV="\"6644\""' modules > make[1]: Entering directory `/usr/src/linux-headers-3.10-1-amd64' > CC [M] /home/user/PF_RING/kernel/pf_ring.o > /home/user/PF_RING/kernel/pf_ring.c: In function âring_proc_addâ: > /home/user/PF_RING/kernel/pf_ring.c:956:5: error: implicit declaration of > function âcreate_proc_read_entryâ [-Werror=implicit-function-declaration] > /home/user/PF_RING/kernel/pf_ring.c: In function âring_proc_initâ: > /home/user/PF_RING/kernel/pf_ring.c:1582:15: warning: assignment makes > pointer from integer without a cast [enabled by default] > /home/user/PF_RING/kernel/pf_ring.c:1585:28: warning: assignment makes > pointer from integer without a cast [enabled by default] > /home/user/PF_RING/kernel/pf_ring.c: In function âskb_ring_handlerâ: > /home/user/PF_RING/kernel/pf_ring.c:4539:78: error: âstruct net_deviceâ has > no member named âmasterâ > /home/user/PF_RING/kernel/pf_ring.c:4599:42: error: âstruct net_deviceâ has > no member named âmasterâ > /home/user/PF_RING/kernel/pf_ring.c: In function âsetSocketStatsâ: > /home/user/PF_RING/kernel/pf_ring.c:7478:15: warning: assignment makes > pointer from integer without a cast [enabled by default] > /home/user/PF_RING/kernel/pf_ring.c: In function âring_notifierâ: > /home/user/PF_RING/kernel/pf_ring.c:9436:27: error: dereferencing pointer to > incomplete type > /home/user/PF_RING/kernel/pf_ring.c:9445:43: error: dereferencing pointer to > incomplete type > /home/user/PF_RING/kernel/pf_ring.c:9469:33: error: dereferencing pointer to > incomplete type > /home/user/PF_RING/kernel/pf_ring.c:9469:71: error: dereferencing pointer to > incomplete type > /home/user/PF_RING/kernel/pf_ring.c:9470:25: error: dereferencing pointer to > incomplete type > /home/user/PF_RING/kernel/pf_ring.c:9470:51: error: dereferencing pointer to > incomplete type > cc1: some warnings being treated as errors > make[4]: *** [/home/user/PF_RING/kernel/pf_ring.o] Error 1 > make[3]: *** [_module_/home/user/PF_RING/kernel] Error 2 > make[2]: *** [sub-make] Error 2 > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/src/linux-headers-3.10-1-amd64' > make: *** [all] Error 2 > > It appears that the create_proc_read_entry function is deprecated and was > removed from the kernel in April. I haven’t delved too much into the rest of > the errors. > > I tried both the 5.6.0 PF_RING and the latest code from SVN. I can look into > patching this myself, but I would think someone who already knows the code > could fix it quicker. Either way, I have to build this under the 3.x series > kernels. Has anyone else looked into patching the latest Intel igb driver > with the DNA changes? > > Thanks. > > -Brian > > Brian C. Wiles | Director of Software Development > O1 Communications > 5190 Golden Foothill Pkwy, > El Dorado Hills, CA 95762 > office: 916.235.2032 > email: [email protected] | web: www.o1.com > > _______________________________________________ > Ntop-dev mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
