Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: NTop: Misc

Compilation error: PF_RING, Ubuntu 11.04, 2.6.38-8-server (x86_64)

 

 

NTop misc RSS feed   Index | Next | Previous | View Threaded


tkernen at deckpoint

May 18, 2011, 10:45 PM

Post #1 of 2 (495 views)
Permalink
Compilation error: PF_RING, Ubuntu 11.04, 2.6.38-8-server (x86_64)

Sorry for the noise, I did scan the mailing list archives before posting
but I couldn't find the exact answer to my issue.

Server is running Ubuntu 11.04 (2.6.38-8-server x86_64). Matching
headers are installed.

Installing PF_Ring from 4.6.3 tgz

When I try to compile from the top directory of the package I get the
follow output and errors.

cd kernel; make
make[1]: Entering directory
`/home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel'
make -C /lib/modules/2.6.38-8-server/build
SUBDIRS=/home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel
EXTRA_CFLAGS='-I/home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel
-DSVN_REV="\"exported\""' modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.38-8-server'
CC [M] /home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel/pf_ring.o
/home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel/pf_ring.c: In
function ‘add_skb_to_ring’:
/home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel/pf_ring.c:2220:5:
error: too many arguments to function ‘sk_run_filter’
include/linux/filter.h:151:21: note: declared here
make[3]: ***
[/home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel/pf_ring.o] Error 1
make[2]: ***
[_module_/home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.38-8-server'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel'
make: *** [all] Error 2

Not sure what is causing this issue. Any assistance would be welcomed.

Thanks
Thomas
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


deri at ntop

May 18, 2011, 10:49 PM

Post #2 of 2 (478 views)
Permalink
Re: Compilation error: PF_RING, Ubuntu 11.04, 2.6.38-8-server (x86_64) [In reply to]

Thomas
use the code in SVN: it addresses this problem

Luca

On May 19, 2011, at 7:45 AM, Thomas Kernen wrote:

>
> Sorry for the noise, I did scan the mailing list archives before posting but I couldn't find the exact answer to my issue.
>
> Server is running Ubuntu 11.04 (2.6.38-8-server x86_64). Matching headers are installed.
>
> Installing PF_Ring from 4.6.3 tgz
>
> When I try to compile from the top directory of the package I get the follow output and errors.
>
> cd kernel; make
> make[1]: Entering directory `/home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel'
> make -C /lib/modules/2.6.38-8-server/build SUBDIRS=/home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel EXTRA_CFLAGS='-I/home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel -DSVN_REV="\"exported\""' modules
> make[2]: Entering directory `/usr/src/linux-headers-2.6.38-8-server'
> CC [M] /home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel/pf_ring.o
> /home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel/pf_ring.c: In function ‘add_skb_to_ring’:
> /home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel/pf_ring.c:2220:5: error: too many arguments to function ‘sk_run_filter’
> include/linux/filter.h:151:21: note: declared here
> make[3]: *** [/home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel/pf_ring.o] Error 1
> make[2]: *** [_module_/home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.38-8-server'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/thkernen/downloads/pf_ring/PF_RING-4.6.3/kernel'
> make: *** [all] Error 2
>
> Not sure what is causing this issue. Any assistance would be welcomed.
>
> Thanks
> Thomas
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

---
We can't solve problems by using the same kind of thinking we used when we created them - Albert Einstein

_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

NTop misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.