Hi Akis
it compiles smoothly on Ubuntu 12.04.3 LTS with kernel 3.8.0, I will check with 
3.8.13

Best Regards
Alfredo

On 23 Feb 2014, at 15:26, Akis Kourtis <[email protected]> wrote:

> Hi Alfredo,
> 
> My network interface had the 4.1.2 version, but I also tried the 5.1.2 driver 
> and the problem and solution were the same.
> Similarly to the 4.1.2, the 5.1.2 igb pf_ring_aware driver also has the 
> __devinit and __devexit tags.
> Maybe it is something else, but this workaround seems to be a sufficient 
> solution for now.
> 
> Thank you
> 
> Akis
> 
> From: [email protected]
> Date: Sun, 23 Feb 2014 15:06:32 +0100
> To: [email protected]
> Subject: Re: [Ntop-misc] PF_RING_Aware IGB driver - Compilation Error
> 
> Hi Akis
> latest pfring-aware igb driver in svn is 5.1.2, why are you using 4.1.2?
> 
> Best Regards
> Alfredo
> 
> On 20 Feb 2014, at 11:48, Akis Kourtis <[email protected]> wrote:
> 
> Finally found the error!
> 
> the  "__devexit" and  "__devinit" deprecated tags were also in the define 
> IGB_PARAM block at the start of the  igb_param.c file.
> 
> If you comment them out, too. 
> 
> The igb PF_RING_AWARE driver will compile successfully!!
> 
> Kourtis Akis 
> 
> From: [email protected]
> To: [email protected]
> Subject: PF_RING_Aware IGB driver - Compilation Error
> Date: Wed, 12 Feb 2014 18:12:27 +0200
> 
> Hello, 
> 
> I am trying to compile the igb-4.1.2 driver from the lastest svn release of 
> PF_RING.
> 
> My kernel version is 3.8.13.10 
> Ubuntu version is Ubuntu 12.04.3 LTS
> 
> I have successfully compiled the PF_RING kernel module and the libpcap_ring
> using the instructions on 
> 
> http://www.ntop.org/pf_ring/installation-guide-for-pf_ring/
> 
> But when I try to compile the igb pf_ring aware driver 
> the following exception appears 
> 
> home/akis/PF_RING/drivers/PF_RING_aware/intel/igb/igb-4.1.2/src/igb_main.c:125:23:
>  error '=', ',',, 'as,, or '__attribute__' before 'igb_remove'
> 
> which I handle it by commenting out the  tag  : "__devexit"  from the file, 
> another excpetion appears.
> 
> This time on the igb_param.c file
> where on line 89 , this exception is occured:
> home/akis/PF_RING/drivers/PF_RING_aware/intel/igb/igb-4.1.2/src/igb_main.c:125:23:
>  error '=', ',',, 'as,, or '__attribute__' before 'IntMode'
> 
> I think it is because the compiler can't see the IGB_PARAM
> 
> line 89: IGB_PARAM (IntMode, "Change Interrupt Mode (0=Legacy, 1=MSI, 
> 2=MSI-X), default 2");
> 
> I believe it is a compiler settings issue, but i can't find it.
> 
> With this issue i must say i can't find a way to resolve this..
> 
> Any help is very much appreciated.
> 
> Thank you very much,
> 
> Akis
> 
> 
> _______________________________________________
> 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

Reply via email to