Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] I can't add my code in linux-2.4.7-10/net/sched/sch_wfq.c,
@ 2003-01-10  3:06 Sittichai Amornrojvorawut
  0 siblings, 0 replies; only message in thread
From: Sittichai Amornrojvorawut @ 2003-01-10  3:06 UTC (permalink / raw)
  To: lartc

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þatures/virus

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-10  3:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-10  3:06 [LARTC] I can't add my code in linux-2.4.7-10/net/sched/sch_wfq.c, Sittichai Amornrojvorawut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox