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

Mailing List Archive: NTop: Misc

Compiling PF_RING TRUNK

 

 

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


martin at janiczek

Sep 22, 2011, 2:40 AM

Post #1 of 5 (404 views)
Permalink
Compiling PF_RING TRUNK

Hello,
I'm trying to compile and install the PF_RING from SVN revision 4870 on
CentOS release 5.

[root [at] lboxtest PF_RING]# make

make -C /lib/modules/2.6.32lb.41/build SUBDIRS=/root/PF_RING/kernel
EXTRA_CFLAGS='-I/root/PF_RING/kernel -DSVN_REV="\"\""' modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.32lb.41/build: není souborem ani adresářem.
Stop. # means "No such file or directory."
make: Leaving an unknown directory
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/PF_RING/kernel'
make: *** [all] Error 2

Somebody in this mailing list suggested the linux-headers may be
missing, but I have it installed and `rpm -qV kernel-headers` outputs
nothing.

Any suggestions?

Thanks in advance,
Martin Janiczek
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


deri at ntop

Sep 22, 2011, 6:23 AM

Post #2 of 5 (391 views)
Permalink
Re: Compiling PF_RING TRUNK [In reply to]

Martin
kernel headers or source are mandatory in order to compile any kernel module, and thus also pf_ring

Luca

On Sep 22, 2011, at 11:40 AM, Martin Janiczek wrote:

> Hello,
> I'm trying to compile and install the PF_RING from SVN revision 4870 on CentOS release 5.
>
> [root [at] lboxtest PF_RING]# make
>
> make -C /lib/modules/2.6.32lb.41/build SUBDIRS=/root/PF_RING/kernel EXTRA_CFLAGS='-I/root/PF_RING/kernel -DSVN_REV="\"\""' modules
> make: Entering an unknown directory
> make: *** /lib/modules/2.6.32lb.41/build: není souborem ani adresářem. Stop. # means "No such file or directory."
> make: Leaving an unknown directory
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/root/PF_RING/kernel'
> make: *** [all] Error 2
>
> Somebody in this mailing list suggested the linux-headers may be missing, but I have it installed and `rpm -qV kernel-headers` outputs nothing.
>
> Any suggestions?
>
> Thanks in advance,
> Martin Janiczek
> _______________________________________________
> 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


martin at janiczek

Sep 22, 2011, 7:07 AM

Post #3 of 5 (394 views)
Permalink
Re: Compiling PF_RING TRUNK [In reply to]

Luca,
yes, I have them installed, yum says so.
Martin

On 22.9.2011, at 15:23, Luca Deri <deri [at] ntop> wrote:

> Martin
> kernel headers or source are mandatory in order to compile any kernel module, and thus also pf_ring
>
> Luca
>
> On Sep 22, 2011, at 11:40 AM, Martin Janiczek wrote:
>
>> Hello,
>> I'm trying to compile and install the PF_RING from SVN revision 4870 on CentOS release 5.
>>
>> [root [at] lboxtest PF_RING]# make
>>
>> make -C /lib/modules/2.6.32lb.41/build SUBDIRS=/root/PF_RING/kernel EXTRA_CFLAGS='-I/root/PF_RING/kernel -DSVN_REV="\"\""' modules
>> make: Entering an unknown directory
>> make: *** /lib/modules/2.6.32lb.41/build: není souborem ani adresářem. Stop. # means "No such file or directory."
>> make: Leaving an unknown directory
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `/root/PF_RING/kernel'
>> make: *** [all] Error 2
>>
>> Somebody in this mailing list suggested the linux-headers may be missing, but I have it installed and `rpm -qV kernel-headers` outputs nothing.
>>
>> Any suggestions?
>>
>> Thanks in advance,
>> Martin Janiczek
>> _______________________________________________
>> 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
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


deri at ntop

Sep 22, 2011, 7:12 AM

Post #4 of 5 (395 views)
Permalink
Re: Compiling PF_RING TRUNK [In reply to]

Martin
where are they? THe makefile searches in /lib/modules/2.6.32lb.41/build. PRobably the problem is there
Luca

On Sep 22, 2011, at 4:07 PM, Martin Janiczek wrote:

> Luca,
> yes, I have them installed, yum says so.
> Martin
>
> On 22.9.2011, at 15:23, Luca Deri <deri [at] ntop> wrote:
>
>> Martin
>> kernel headers or source are mandatory in order to compile any kernel module, and thus also pf_ring
>>
>> Luca
>>
>> On Sep 22, 2011, at 11:40 AM, Martin Janiczek wrote:
>>
>>> Hello,
>>> I'm trying to compile and install the PF_RING from SVN revision 4870 on CentOS release 5.
>>>
>>> [root [at] lboxtest PF_RING]# make
>>>
>>> make -C /lib/modules/2.6.32lb.41/build SUBDIRS=/root/PF_RING/kernel EXTRA_CFLAGS='-I/root/PF_RING/kernel -DSVN_REV="\"\""' modules
>>> make: Entering an unknown directory
>>> make: *** /lib/modules/2.6.32lb.41/build: není souborem ani adresářem. Stop. # means "No such file or directory."
>>> make: Leaving an unknown directory
>>> make[1]: *** [all] Error 2
>>> make[1]: Leaving directory `/root/PF_RING/kernel'
>>> make: *** [all] Error 2
>>>
>>> Somebody in this mailing list suggested the linux-headers may be missing, but I have it installed and `rpm -qV kernel-headers` outputs nothing.
>>>
>>> Any suggestions?
>>>
>>> Thanks in advance,
>>> Martin Janiczek
>>> _______________________________________________
>>> 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
> _______________________________________________
> 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


martin at janiczek

Sep 27, 2011, 5:24 AM

Post #5 of 5 (384 views)
Permalink
Re: Compiling PF_RING TRUNK [In reply to]

Hi Luca,
I solved the problem - they were in another yum package - kernel-devel;
and then I had to make a symbolic link from /usr/src/kernels/${uname -r}
to /lib/modules/${uname -r}/build. Thanks for your help!
Martin

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.