Do you have installer kerner sources/headers?

No need to patch the kernel anymore. Please forget patching

Luca

On Apr 26, 2010, at 4:23 AM, fly_2u wrote:

> Sorry for interrupting you again.
> There is another build error when I build in the kernel dir.
> #cd PF_RING/kernel
> #make
> It shows:
> "
> make -C /lib/modules/2.6.25.5-1.1-default/build 
> SUBDIRS=/usr/src/PF_RING/kernel EXTRA_CFLAGS='-I/usr/src/PF_RING/kernel 
> -DSVN_REV="\"exported\""' modules
> make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/default'
> make[1]: *** No rule to make target `modules'.  Stop.
> make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/default'
> make: *** [all] Error 2
> "
> Does it mean my default kernel doesn't support PF_RING? If yes, need I patch 
> something for the kernel?
> Thanks for your kindly help.
> BR.
> 在2010-04-25 22:13:43,"Luca Deri" <[email protected]> 写道:
> >You're right. The guide was obsolete. I have updated it
> >
> >Thanks for reporting this issue
> >
> >Luca
> >
> >On Apr 25, 2010, at 3:46 PM, fly_2u wrote:
> >
> >> Thanks Luca for your kind reply.:)
> >> Could you tell me where I can sync the code of pf_ring 4.x and its install 
> >> manual?
> >>  
> >> PS:I am a newer for pf_ring tech.  And I downloaded the pf_ring code from 
> >> "https://svn.ntop.org/svn/ntop/trunk/PF_RING/ ", where "UsersGuide.pdf" 
> >> says we need patch the kernel.  I can't find right place where I could 
> >> sync 4.x pf_ring.
> >> 
> >> BR.
> >> 
> >> 在2010-04-25 18:53:19,"Luca Deri" <[email protected]> 写道:
> >> >Sam >you seem to use the old 3.x pf_ring. The new one 4.x does not 
> >> >require any kernel patching. Please move to v4 >>Luca> >On Apr 25, 2010, 
> >> >at 10:37 AM, fly_2u wrote: > >> I manually create a Rules.make file, 
> >> >which content is: >> ">> %.s: %.c >>      $(CC) $(CFLAGS) $(EXTRA_CFLAGS) 
> >> >$(CFLAGS_$(*F)) $(CFLAGS_$@) -S $< -o $@ >> ">>  >> And then the building 
> >> >can go on.  But another problem occurs, its description: >> >> ">>  >> LD 
> >> >     net/built-in.o >> net/ring/built-in.o: In function 
> >> >`num_queued_pkts': >> 
> >> >/usr/src/PF_RING/workspace/linux-2.6.25/net/ring/ring_packet.c:348: 
> >> >multiple definition of `pfr' >> 
> >> >net/core/built-in.o:/usr/src/PF_RING/workspace/linux-2.6.25/net/core/sock.c:2072:
> >> > first defined here >> >> " >> I have checked the ring_packet.c and 
> >> >sock.c, and it seems there is no conflict about "pfr".  >>  >> Who could 
> >> >help me solve these problems?  Thanks very much! >> >>  >> 在2010-04-25 
> >> >16:06:30,fly_2u <[email protected]> 写道: >> Hi experts,>>   >> When I build 
> >> >the linux kernel 2.6.25 which has been patched PR_RING, there is a error 
> >> >as below: >> " >> 
> >> >/usr/src/PF_RING/workspace/linux-2.6.25/net/ring/Makefile:15: 
> >> >/usr/src/PF_RING/workspace/linux-2.6.25/Rules.make: No such file or 
> >> >directory >> make[2]: *** No rule to make target 
> >> >`/usr/src/PF_RING/workspace/linux-2.6.25/Rules.make'.  Stop. >> " >> 
> >> >Could you tell me how to fix it?  Thanks so much! >>  >> BR.>> Sam>>   >> 
> >> >>> >> 有域名马上来,网易免费送你200户域名邮箱>>  >>  >> 网易免费域名邮箱正式上线 
> >> >_______________________________________________ >> Ntop-misc mailing list 
> >> >>> [email protected] >> 
> >> >http://listgateway.unipi.it/mailman/listinfo/ntop-misc>>--- >Keep 
> >> >looking, don't settle - Steve Jobs> 
> >> >>_______________________________________________ >Ntop-misc mailing 
> >> >list>[email protected] 
> >> >>http://listgateway.unipi.it/mailman/listinfo/ntop-misc
> >> 
> >> 有域名马上来,网易免费送你200户域名邮箱 _______________________________________________
> >> Ntop-misc mailing list
> >> [email protected]
> >> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
> >
> >---
> >Keep looking, don't settle - Steve Jobs
> >
> >_______________________________________________
> >Ntop-misc mailing list
> >[email protected]
> >http://listgateway.unipi.it/mailman/listinfo/ntop-misc
> 
> 
> 
> 有域名马上来,网易免费送你200户域名邮箱 _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

---
Keep looking, don't settle - Steve Jobs

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

Reply via email to