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]
phone : 570-941-6168
-----------------------------------
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc