Hi Peter
any reason you are not using latest PF_RING version?

Alfredo

> On 30 Jun 2015, at 14:39, Piotr <[email protected]> wrote:
> 
> Hi,
> 
> I try use PF_RING-6.0.2 on kernel 2.6.32-504.3.3.el6.x86_64, i'm stuck when i 
> tried compile driver ixgbe
> 
> 
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src
>  # make
> make -C /lib/modules/2.6.32-504.3.3.el6.x86_64/build 
> SUBDIRS=/home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src
>  modules
> make[1]: Entering directory `/usr/src/kernels/2.6.32-504.3.3.el6.x86_64'
>  CC [M] 
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/ixgbe_main.o
> In file included from 
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/ixgbe_osdep.h:37,
>                 from 
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/ixgbe_type.h:65,
>                 from 
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/ixgbe_dcb.h:28,
>                 from 
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/ixgbe.h:47,
>                 from 
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/ixgbe_main.c:50:
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/kcompat.h:4056:
>  error: nested redefinition of âenum pkt_hash_typesâ
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/kcompat.h:4056:
>  error: redeclaration of âenum pkt_hash_typesâ
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/kcompat.h:4057:
>  error: redeclaration of enumerator PKT_HASH_TYPE_NONEâ
> include/linux/skbuff.h:613: note: previous definition of PKT_HASH_TYPE_NONEâ 
> was here
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/kcompat.h:4058:
>  error: redeclaration of enumerator PKT_HASH_TYPE_L2â
> include/linux/skbuff.h:614: note: previous definition of PKT_HASH_TYPE_L2â 
> was here
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/kcompat.h:4059:
>  error: redeclaration of enumerator PKT_HASH_TYPE_L3â
> include/linux/skbuff.h:615: note: previous definition of PKT_HASH_TYPE_L3â 
> was here
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/kcompat.h:4060:
>  error: redeclaration of enumerator PKT_HASH_TYPE_L4â
> include/linux/skbuff.h:616: note: previous definition of PKT_HASH_TYPE_L4â 
> was here
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/ixgbe_main.c:9601:
>  error: unknown field ndo_busy_poll specified in initializer
> /home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/ixgbe_main.c:9601:
>  warning: initialization from incompatible pointer type
> make[2]: *** 
> [/home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src/ixgbe_main.o]
>  Error 1
> make[1]: *** 
> [_module_/home/soft/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src]
>  Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.32-504.3.3.el6.x86_64'
> make: *** [default] Error 2
> 
> thanks for some help or clue
> Peter
> 
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to