[LARTC] I can't add my code in linux-2.4.7-10/net/sched/sch_wfq.c,

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a trouble.I can't add my code in linux-2.4.7-10/net/sched/sch_wfq.c,I 
edit Config.in,Makefile,sch_api.c and edit 
linux-2.4.7-10/include/linux/pkt_sched.h already after that I do make 
menuconfig(select my code as build-in(*) or as modules);make dep;make 
bzImage(and edit liloconf);make modules;make modules_install;reboot(select 
new kernel); it does not have any error occur during making(And I see object 
file appear after make it),then I built tc with diffserv support,set 
TC_CONFIG_DIFFSERV=y,copy code q_wfq.c,tc_wfq.c,tc_wfq.h into tc 
directory&edit Makefile in same directory and run make on 
iproute2(iproute2-2.4.7-now-ss020116-try.tar.gz) directory.It's not any 
problem.(I have ever run make on tc directory but have an error occur(the 
error is tc.c : SNAPSHOT,h& utils.h : no such file or directory,I solve this 
problem by copy any header file in iproute2/include(But I don’t copy include 
file in include-glibc directory) to /usr/include/ ,but it does not work and 
have error again.The error is /usr/include/rt_names.h : parse error before 
‘*’)).Finally I use tc command(using my queueing discipline) but tc unknow 
my qdisc.I sure that my code absolutely correct.What's happen?Can you tell 
me?How can I do?I need&must solve my problem for the early time!Please tell 
me step by step because I'm a beginner.HELP ME!Thanks you very much.





_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* 
http://join.msn.com/?page=features/virus



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux