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

Mailing List Archive: NTop: Misc

PF_RING compiling error

 

 

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


xutao881001 at gmail

Jul 23, 2012, 1:27 AM

Post #1 of 3 (647 views)
Permalink
PF_RING compiling error

OS: RHEL5.8
The latest PF_RING svn source.

[xt [at] mirror-10000 PF_RING]$ cd kernel/
[xt [at] mirror-10000 kernel]$ make
make -C /lib/modules/2.6.18-308.el5/build
SUBDIRS=/home/xt/PF_RING/kernel
EXTRA_CFLAGS='-I/home/xt/PF_RING/kernel -DSVN_REV="\"5593\""' modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-308.el5-x86_64'
CC [M] /home/xt/PF_RING/kernel/pf_ring.o
/home/xt/PF_RING/kernel/pf_ring.c: In function ‘ring_release’:
/home/xt/PF_RING/kernel/pf_ring.c:5501: error: implicit declaration of
function ‘msleep’
make[2]: *** [/home/xt/PF_RING/kernel/pf_ring.o] Error 1
make[1]: *** [_module_/home/xt/PF_RING/kernel] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-308.el5-x86_64'
make: *** [all] Error 2

[xt [at] mirror-10000 kernel]$ uname -a
Linux mirror-10000M 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012
x86_64 x86_64 x86_64 GNU/Linux

[xt [at] mirror-10000 kernel]$ cat /etc/issue
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
Kernel \r on an \m
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


cardigliano at ntop

Jul 23, 2012, 1:59 AM

Post #2 of 3 (600 views)
Permalink
Re: PF_RING compiling error [In reply to]

Please update from svn and let us know

Alfredo

On Jul 23, 2012, at 10:27 AM, xTao wrote:

> OS: RHEL5.8
> The latest PF_RING svn source.
>
> [xt [at] mirror-10000 PF_RING]$ cd kernel/
> [xt [at] mirror-10000 kernel]$ make
> make -C /lib/modules/2.6.18-308.el5/build
> SUBDIRS=/home/xt/PF_RING/kernel
> EXTRA_CFLAGS='-I/home/xt/PF_RING/kernel -DSVN_REV="\"5593\""' modules
> make[1]: Entering directory `/usr/src/kernels/2.6.18-308.el5-x86_64'
> CC [M] /home/xt/PF_RING/kernel/pf_ring.o
> /home/xt/PF_RING/kernel/pf_ring.c: In function ‘ring_release’:
> /home/xt/PF_RING/kernel/pf_ring.c:5501: error: implicit declaration of
> function ‘msleep’
> make[2]: *** [/home/xt/PF_RING/kernel/pf_ring.o] Error 1
> make[1]: *** [_module_/home/xt/PF_RING/kernel] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.18-308.el5-x86_64'
> make: *** [all] Error 2
>
> [xt [at] mirror-10000 kernel]$ uname -a
> Linux mirror-10000M 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012
> x86_64 x86_64 x86_64 GNU/Linux
>
> [xt [at] mirror-10000 kernel]$ cat /etc/issue
> Red Hat Enterprise Linux Server release 5.8 (Tikanga)
> Kernel \r on an \m
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

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


xutao881001 at gmail

Jul 23, 2012, 2:02 AM

Post #3 of 3 (634 views)
Permalink
Re: PF_RING compiling error [In reply to]

Thanks, the compiling error is gone with the latest source code.

[xt [at] mirror-10000 kernel]$ make
make -C /lib/modules/2.6.18-308.el5/build SUBDIRS=/home/xt/PF_RING/kernel EXTRA_CFLAGS='-I/home/xt/PF_RING/kernel -DSVN_REV="\"5594\""' modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-308.el5-x86_64'
CC [M] /home/xt/PF_RING/kernel/pf_ring.o
Building modules, stage 2.
MODPOST
CC /home/xt/PF_RING/kernel/pf_ring.mod.o
LD [M] /home/xt/PF_RING/kernel/pf_ring.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-308.el5-x86_64'
cd plugins; make
make[1]: Entering directory `/home/xt/PF_RING/kernel/plugins'
make -C /lib/modules/2.6.18-308.el5/build SUBDIRS=/home/xt/PF_RING/kernel/plugins modules
make[2]: Entering directory `/usr/src/kernels/2.6.18-308.el5-x86_64'
CC [M] /home/xt/PF_RING/kernel/plugins/dummy_plugin.o
Building modules, stage 2.
MODPOST
WARNING: "pf_ring_add_module_dependency" [/home/xt/PF_RING/kernel/plugins/dummy_plugin.ko] undefined!
CC /home/xt/PF_RING/kernel/plugins/dummy_plugin.mod.o
LD [M] /home/xt/PF_RING/kernel/plugins/dummy_plugin.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.18-308.el5-x86_64'
make[1]: Leaving directory `/home/xt/PF_RING/kernel/plugins'



--
XTao
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Monday, July 23, 2012 at 4:59 PM, Alfredo Cardigliano wrote:

> Please update from svn and let us know
>
> Alfredo
>
> On Jul 23, 2012, at 10:27 AM, xTao wrote:
>
> > OS: RHEL5.8
> > The latest PF_RING svn source.
> >
> > [xt [at] mirror-10000 PF_RING]$ cd kernel/
> > [xt [at] mirror-10000 kernel]$ make
> > make -C /lib/modules/2.6.18-308.el5/build
> > SUBDIRS=/home/xt/PF_RING/kernel
> > EXTRA_CFLAGS='-I/home/xt/PF_RING/kernel -DSVN_REV="\"5593\""' modules
> > make[1]: Entering directory `/usr/src/kernels/2.6.18-308.el5-x86_64'
> > CC [M] /home/xt/PF_RING/kernel/pf_ring.o
> > /home/xt/PF_RING/kernel/pf_ring.c: In function ‘ring_release’:
> > /home/xt/PF_RING/kernel/pf_ring.c:5501: error: implicit declaration of
> > function ‘msleep’
> > make[2]: *** [/home/xt/PF_RING/kernel/pf_ring.o] Error 1
> > make[1]: *** [_module_/home/xt/PF_RING/kernel] Error 2
> > make[1]: Leaving directory `/usr/src/kernels/2.6.18-308.el5-x86_64'
> > make: *** [all] Error 2
> >
> > [xt [at] mirror-10000 kernel]$ uname -a
> > Linux mirror-10000M 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012
> > x86_64 x86_64 x86_64 GNU/Linux
> >
> > [xt [at] mirror-10000 kernel]$ cat /etc/issue
> > Red Hat Enterprise Linux Server release 5.8 (Tikanga)
> > Kernel \r on an \m
> > _______________________________________________
> > Ntop-misc mailing list
> > Ntop-misc [at] listgateway (mailto:Ntop-misc [at] listgateway)
> > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
> >
>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway (mailto: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.