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

Reply via email to