|
From: Bruce S. <bw...@ar...> - 2004-04-06 19:57:55
|
OK, with i586-UP, PSCHED_JIFFIES, Variable HZ = Off, everything compiled, including the kernel and Zebra. I don't know what's the problem was before. Weird ... - BS > > mrproper/new-LFS > > > > >From .config: > > > > CONFIG_CPU=586 > > CONFIG_KERNEL_CPU=586 > > CONFIG_LINUX_NR_CPUS=2 > > CONFIG_LINUX_SMP=n > > CONFIG_LINUX_VERSION=2.4 > > CONFIG_PSCHED_CLOCK_SOURCE=PSCHED_GETTIMEOFDAY > > Ok, back to PSCHED_JIFFIES. > > > gcc -D__KERNEL__ -I/data/build/tmp/linux-2.4.25/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /data/build/tmp/linux-2.4.25/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=sch_htb -c -o sch_htb.o sch_htb.c > > sch_htb.c: In function `htb_debug_dump': > > sch_htb.c:364: warning: statement with no effect > > sch_htb.c: In function `htb_charge_class': > > sch_htb.c:821: error: aggregate value used where an integer was expected > > sch_htb.c:822: error: aggregate value used where an integer was expected > > sch_htb.c:815: warning: statement with no effect > > sch_htb.c: In function `htb_do_events': > > sch_htb.c:892: error: aggregate value used where an integer was expected > > sch_htb.c:893: error: aggregate value used where an integer was expected > > sch_htb.c:886: warning: statement with no effect > > make[3]: *** [sch_htb.o] Error 1 > > make[3]: Leaving directory `/data/build/tmp/linux-2.4.25/net/sched' > > make[2]: *** [_modsubdir_sched] Error 2 > > make[2]: Leaving directory `/data/build/tmp/linux-2.4.25/net' > > make[1]: *** [_mod_net] Error 2 > > make[1]: Leaving directory `/data/build/tmp/linux-2.4.25' > > (END) > > It seems that the htb scheduler add-on has not clean code. > I'll try fix that when time permits. > > Jaroslav |