Farah,
we provide precompiled packages for latest Centos and Ubuntu 
It seems to me you are using a Centos like distro, hence please try using the 
packages (and the instruction) available here.
http://www.nmon.net/centos/

Yuri
###############################################
Yuri Francalacci   -   [email protected]   -   http://www.ntop.org
"Simplicity is the ultimate sophistication" - Leonardo da Vinci
###############################################

On 08 Oct 2014, at 11:50, Farah Braiteh (Student) <[email protected]> wrote:

> Hello,
> 
> I would like to use N2Disk as a reporting tool, below is the process I'm 
> following to install n2disk:
> 
> Installing N2Disk:
> I 've been trying to install n2disk as rpm package, but I was getting an 
> error. I need to install pfring 6.0.3:
> 
> [root@ntopng ~]# rpm -ivh 
> http://www.nmon.net/packages/rpm7/x86_64/n2disk/n2disk-2.3.141008-4429.x86_64.rpm
> Retrieving 
> http://www.nmon.net/packages/rpm7/x86_64/n2disk/n2disk-2.3.141008-4429.x86_64.rpm
> error: Failed dependencies:
>         pfring = 6.0.3-8418 is needed by n2disk-2.3.141008-4429.x86_64
> 
>  Installing PF_ring:
>  I have then tried to install pfring as rpm package, but again I got a failed 
> dependency. I need to install Kernel 3.10.0.
> 
> [root@ntopng ~]# rpm 
> -ivhhttp://www.nmon.net/packages/rpm7/x86_64/PF_RING/pfring-6.0.3-8418.x86_64.rpm
> Retrieving 
> http://www.nmon.net/packages/rpm7/x86_64/PF_RING/pfring-6.0.3-8418.x86_64.rpm
> error: Failed dependencies:
>         kernel-uname-r = 3.10.0-123.8.1.el7.x86_64 is needed by 
> pfring-6.0.3-8418.x86_64
>         pfring-dkms = 6.0.3 is needed by pfring-6.0.3-8418.x86_64
>  
>  Installed Kernel:3.16.2
> [root@ntopng ~]# uname -nr
> ntopng.aub.edu.lb 3.16.2-200.fc20.x86_64
>  
>  
> /root/PF_RING/drivers/DNA/igb-5.0.6-DNA/src/igb_main.c: In function 
> âigb_del_mac_filterâ:
> /root/PF_RING/drivers/DNA/igb-5.0.6-DNA/src/igb_main.c:9553:3: error: 
> implicit declaration of function âcompare_ether_addrâ 
> [-Werror=implicit-function-declaration]
>    if (!compare_ether_addr(addr, adapter->mac_table[i].addr) &&
>    ^
> /root/PF_RING/drivers/DNA/igb-5.0.6-DNA/src/igb_main.c: In function 
> âigb_ndo_get_vf_configâ:
> /root/PF_RING/drivers/DNA/igb-5.0.6-DNA/src/igb_main.c:9694:5: error: âstruct 
> ifla_vf_infoâ has no member named âtx_rateâ
>   ivi->tx_rate = adapter->vf_data[vf].tx_rate;
>      ^
> cc1: some warnings being treated as errors
> make[5]: *** [/root/PF_RING/drivers/DNA/igb-5.0.6-DNA/src/igb_main.o] Error 1
> make[4]: *** [_module_/root/PF_RING/drivers/DNA/igb-5.0.6-DNA/src] Error 2
> make[4]: Leaving directory `/usr/src/kernels/3.16.2-200.fc20.x86_64'
> make[3]: *** [default] Error 2
> make[3]: Leaving directory `/root/PF_RING/drivers/DNA/igb-5.0.6-DNA/src'
> make[2]: *** [igb] Error 2
> make[2]: Leaving directory `/root/PF_RING/drivers/DNA'
> make[1]: *** [dna] Error 2
> make[1]: Leaving directory `/root/PF_RING/drivers'
> make: *** [all] Error 2
> 
> So, the problem is in Kernel 3.10 that I need to install when I already have 
> kernel 3.16.2. Does anybody have any suggestions for this problem?
> 
> Thank you.
> Regards,
> Farah Braiteh
> _______________________________________________
> 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

Reply via email to