make -C /lib/modules/2.6.32-504.el6.x86_64/build 
SUBDIRS=/usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src
 modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-504.el6.x86_64'
  CC [M]  
/usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe_main.o
In file included from 
/usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe_main.c:51:
/usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe.h:
 In function ‘ixgbe_qv_unlock_napi’:
/usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe.h:602:
 error: too many arguments to function ‘napi_gro_flush’
/usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe_main.c:
 At top level:
/usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe_main.c:9778:
 error: unknown field ‘ndo_busy_poll’ specified in initializer
/usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe_main.c:9778:
 warning: initialization from incompatible pointer type
make[2]: *** 
[/usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe_main.o]
 Error 1
make[1]: *** 
[_module_/usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src]
 Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-504.el6.x86_64'
make: *** [default] Error 2


I am running: Linux 2.6.32-504.el6.x86_64 #1 SMP Tue Sep 16 01:56:35 EDT 2014 
x86_64 x86_64 x86_64 GNU/Linux

Scott Finlon, CISSP GCIA GCIH
-----------------------------------
Information Security Engineer
The University of Scranton
email : [email protected]
phone : 570-941-6168
-----------------------------------


From: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Reply-To: 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Thursday, October 16, 2014 at 12:06 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Ntop-misc] Error compiling ixgbe drivers in RHEL

 Hi Scott
probably something has changed in your kernel version,
please try also with ixgbe-3.22.3-zc to make sure it has not been already fixed.

Best Regards
Alfredo

On 16 Oct 2014, at 18:00, Scott Finlon 
<[email protected]<mailto:[email protected]>> wrote:

I upgrade the kernel on my RHEL boxes today, and when I attempted to recompile 
the ixgbe drivers I was met with the following error:

make -C /lib/modules/2.6.32-504.el6.x86_64/build 
SUBDIRS=/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-504.el6.x86_64'
  CC [M]  /usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_main.o
In file included from 
/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_osdep.h:37,
                 from 
/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_type.h:65,
                 from 
/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_dcb.h:28,
                 from 
/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe.h:47,
                 from 
/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_main.c:50:
/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/kcompat.h:4063: error: 
nested redefinition of ‘enum pkt_hash_types’
/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/kcompat.h:4063: error: 
redeclaration of ‘enum pkt_hash_types’
/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/kcompat.h:4064: error: 
redeclaration of enumerator ‘PKT_HASH_TYPE_NONE’
include/linux/skbuff.h:613: note: previous definition of ‘PKT_HASH_TYPE_NONE’ 
was here
/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/kcompat.h:4065: error: 
redeclaration of enumerator ‘PKT_HASH_TYPE_L2’
include/linux/skbuff.h:614: note: previous definition of ‘PKT_HASH_TYPE_L2’ was 
here
/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/kcompat.h:4066: error: 
redeclaration of enumerator ‘PKT_HASH_TYPE_L3’
include/linux/skbuff.h:615: note: previous definition of ‘PKT_HASH_TYPE_L3’ was 
here
/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/kcompat.h:4067: error: 
redeclaration of enumerator ‘PKT_HASH_TYPE_L4’
include/linux/skbuff.h:616: note: previous definition of ‘PKT_HASH_TYPE_L4’ was 
here
/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_main.c:9371: 
error: unknown field ‘ndo_busy_poll’ specified in initializer
/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_main.c:9371: 
warning: initialization from incompatible pointer type
make[2]: *** 
[/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_main.o] Error 1
make[1]: *** [_module_/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src] 
Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-504.el6.x86_64'
make: *** [default] Error 2

I see Ubuntu users had a similar problem back in August with the OS back 
porting stuff into the kernel that wasn’t officially there. Is there a similar 
patch for RHEL yet?

Thanks!
-Scott


Scott Finlon, CISSP GCIA GCIH
-----------------------------------
Information Security Engineer
The University of Scranton
email : [email protected]<mailto:[email protected]>
phone : 570-941-6168
-----------------------------------

_______________________________________________
Ntop-misc mailing list
[email protected]<mailto:[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