I believe the problem is specific to CentOS 6.5 (kernel 2.6.32-431 or newer).  
You can get it to compile if you muck around with kcompat.h, but a better fix 
would be a newer version of the driver since I’m not sure that I didn’t break 
everything while getting it to compile.  I filed bug 392 
(http://bugzilla.ntop.org/show_bug.cgi?id=392) on the issue about a month ago.

Eric

From: [email protected] 
[mailto:[email protected]] On Behalf Of Jesse Bowling
Sent: Monday, March 24, 2014 10:37 AM
To: [email protected]
Subject: [Ntop-misc] Problem compiling e1000e driver in PF_RING 5.6.2

Hello,

While trying to compile the e1000e driver on RHEL 6, I get the following error:

make -C /lib/modules/2.6.32-431.5.1.el6.x86_64/build 
SUBDIRS=/usr/local/src/PF_RING-5.6.2/drivers/PF_RING_aware/intel/e1000e/e1000e-2.0.0.1/src
 modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-431.5.1.el6.x86_64'
  CC [M]  
/usr/local/src/PF_RING-5.6.2/drivers/PF_RING_aware/intel/e1000e/e1000e-2.0.0.1/src/netdev.o
In file included from 
/usr/local/src/PF_RING-5.6.2/drivers/PF_RING_aware/intel/e1000e/e1000e-2.0.0.1/src/e1000.h:40,
                 from 
/usr/local/src/PF_RING-5.6.2/drivers/PF_RING_aware/intel/e1000e/e1000e-2.0.0.1/src/netdev.c:56:
/usr/local/src/PF_RING-5.6.2/drivers/PF_RING_aware/intel/e1000e/e1000e-2.0.0.1/src/kcompat.h:3039:
 error: conflicting types for ‘netdev_features_t’
include/linux/netdevice.h:854: note: previous declaration of 
‘netdev_features_t’ was here
make[2]: *** 
[/usr/local/src/PF_RING-5.6.2/drivers/PF_RING_aware/intel/e1000e/e1000e-2.0.0.1/src/netdev.o]
 Error 1
make[1]: *** 
[_module_/usr/local/src/PF_RING-5.6.2/drivers/PF_RING_aware/intel/e1000e/e1000e-2.0.0.1/src]
 Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.5.1.el6.x86_64'
make: *** [default] Error 2

Any help for resolving this issue? Is this a known issue? Anything I can do to 
help torubleshoot?

Cheers,

Jesse

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

Reply via email to