[lkml]   [2002]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [long] 2.4.19 and O(1) Scheduler [PPC]
On Fri, 6 Sep 2002, Tom Rini wrote:
> You've got some incomplete PPC patch somewhere, or you're trying to
> compile for an IBM 40x board, which isn't supported by the
> trees yet.

Maybe, patch is from
When I replace PPC405_ERR77(x, y) to dcbt x,y [I found this in 2.5]
This part passed correctly, but I found next error in O(1) scheduler source.

mk_defs.c: In function `main':
mk_defs.c:40: structure has no member named `counter'
mk_defs.c:41: structure has no member named `processor'

When I change this:
DEFINE(COUNTER, offsetof(struct task_struct, counter));
DEFINE(PROCESSOR, offsetof(struct task_struct, processor));
DEFINE(COUNTER, offsetof(struct task_struct, time_slice));
DEFINE(PROCESSOR, offsetof(struct task_struct, cpu));

I hope this is correct, I found last error :

arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/drm/drm.o drivers/net/fc/fc.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/net/pcmcia/pcmcia_net.o drivers/net/wireless/wireless_net.o drivers/macintosh/macintosh.o drivers/video/video.o drivers/net/hamradio/hamradio.o drivers/usb/usbdrv.o drivers/input/inputdrv.o drivers/md/mddev.o drivers/isdn/vmlinux-obj.o \
net/network.o \
/home/users/cieciwa/rpm/BUILD/linux-2.4.19/lib/lib.a \
--end-group \
-o vmlinux
arch/ppc/kernel/kernel.o: In function `ret_from_fork':
arch/ppc/kernel/kernel.o(.text+0x27c): undefined reference to `schedule_tail'
arch/ppc/kernel/kernel.o(.text+0x27c): relocation truncated to fit: R_PPC_REL24 schedule_tail
kernel/kernel.o: In function `schedule':
kernel/kernel.o(.text+0x1054): undefined reference to `_sched_find_first_bit'
kernel/kernel.o(.text+0x1054): relocation truncated to fit: R_PPC_REL24 _sched_find_first_bit
make: *** [vmlinux] Error 1

And I don't know how to solve this problem.
I don't have PPC machine in home, this error I take when I work via

{Wojciech 'Sas' Cieciwa} {Member of PLD Team }

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.066 / U:1.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site