I believe the recommended practice is to compile as a non-root user. I
suspect that compiling as root is your issue. Would you mind:

* as root, do a "make clean", or remove the entire source tree and pull
from SVN again
* chown the source tree to a non-root user
* try the build process with a non-root user and see if the driver will
compile correctly

Cheers,

Jesse


On Tue, Mar 25, 2014 at 2:10 PM, Miłosz Oller <[email protected]> wrote:

>
> Hi
>
> As root user.
>
> --
> Miłosz Oller
>
>
> On Tue, 25 Mar 2014 13:59:43 -0400
> Jesse Bowling <[email protected]> wrote:
>
> > I too had the issue with the e1000e driver not compiling, but after
> > checking out SVN today (rev 7388) I am able to compile e1000e AND igb
> > without issue on RHEL 6.
> >
> > Just stretching on this, but Milosz did you compile as root or as a
> > regular user?
> >
> > Cheers,
> >
> > Jesse
> >
> >
> > On Tue, Mar 25, 2014 at 12:24 PM, Miłosz Oller <[email protected]>
> > wrote:
> >
> > >
> > > It's now compile without errors. But... igb driver:
> > >
> > >   CC
> > >   [M]
> > >
>  /usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/igb_main.o
> > >   CC
> > >   [M]
> > >
>  /usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/e1000_82575.o
> > >   CC
> > >   [M]
> > >
>  /usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/e1000_i210.o
> > >   CC
> > >   [M]
> > >
>  /usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/e1000_mac.o
> > >   CC
> > >   [M]
> > >
>  /usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/e1000_nvm.o
> > >   CC
> > >   [M]
> > >
>  /usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/e1000_phy.o
> > >   CC
> > >   [M]
> > >
>  /usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/e1000_manage.o
> > >   CC
> > >   [M]
> > >
>  /usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/igb_param.o
> > >   CC
> > >   [M]
> > >
>  /usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/igb_ethtool.o
> > >
> /usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/igb_ethtool.c:3060:2:
> > >   error: unknown field ‘get_rxfh_indir_size’ specified in
> > >   initializer
> > >
> /usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/igb_ethtool.c:3061:2:
> > >   warning: initialization from incompatible pointer type [enabled by
> > >   default]
> > >
> /usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/igb_ethtool.c:3061:2:
> > >   warning: (near initialization for
> > > ‘igb_ethtool_ops.get_rxfh_indir’) [enabled by
> > >   default]
> > >
> /usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/igb_ethtool.c:3064:2:
> > >   warning: initialization from incompatible pointer type [enabled by
> > >   default]
> > >
> /usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/igb_ethtool.c:3064:2:
> > >   warning: (near initialization for
> > > ‘igb_ethtool_ops.set_rxfh_indir’) [enabled by default] make[4]: ***
> > >
> > >
> [/usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src/igb_ethtool.o]
> > >   Błąd 1 make[3]: ***
> > >
> [_module_/usr/src/PF_RING/drivers/PF_RING_aware/intel/igb/igb-5.1.2/src]
> > >   Błąd 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Błąd 2
> > >   make[1]: Opuszczenie katalogu
> > > `/usr/src/linux-headers-3.2.0-4-amd64' make: *** [default] Error 2
> > >
> > >
> > > --
> > > Miłosz Oller
> > >
> > > On Tue, 25 Mar 2014 10:34:39 +0100
> > > Alfredo Cardigliano <[email protected]> wrote:
> > >
> > > > Hi Milosz
> > > > please find in SVN the new e1000e driver
> > > > (PF_RING/drivers/PF_RING_aware/intel/e1000e/e1000e-3.0.4.1)
> > > >
> > > > Alfredo
> > > >
> > > > On 24 Mar 2014, at 02:09, Miłosz Oller <[email protected]> wrote:
> > > >
> > > > >
> > > > > Hi
> > > > >
> > > > > Is available newer e1000e driver than e1000e-2.0.0.1 (from SVN)?
> > > > >
> > > > > Kernels 3.x:
> > > > > Makefile:180: *** *** Aborting the build. *** This driver is not
> > > > > supported on this kernel (unable to check version). Stop.
> > > > >
> > > > > --
> > > > > Miłosz Oller
> > > > > _______________________________________________
> > > > > 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
> > >
> > > _______________________________________________
> > > 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
>



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

Reply via email to