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@lboxtest1 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 > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
