Power PC mac floppy build problem

From: Jay Hlavaty
Date: Mon Dec 29 2003 - 09:15:11 EST


Re: 2.6-test11 kernel gives ppc build error

fgrep -r "umoddi3" * at the top level of my 2.5 source directory gives me:

arch/arm/lib/udivdi3.c
arch/arm26/lib/udivdi3.c
arch/sh/lib/udivdi3.c

start_request is used in:

drivers/block/swim3.c // Super Woz Integrated Machine 3 floppy controller found on power macs
drivers/block/swim3_iop.c // SWIM IOP floppy controller on
drivers/cdrom/cdu31a.c // sony CDU-31a interface
drivers/ide/ide-io.c // IDE I/O functions

start_request is defined in:

drivers/block/swim3.c
drivers/block/swim3_iop.c
drivers/cdrom/cdu31a.c
drivers/ide/ide-io.c -- comments have FIXME: this function needs a rename

I turned off the support for Power Mac floppy in Macintosh devices

Now the kernel builds OK. Seems to run OK, too, I'll work on the sound issues that I seem to be having with modules...

Thanks!

I.

Right now I am getting an ld error
LD .tmp_vmlinux1
drivers/built-in.o(.text+0x2ff6c): In function 'start_request':
undefined refrence to '__udivdi3'
drivers/built-in.o(.text+0x2ff6c): relocation truncated to fit:
R_PPC_REL24 __udivdi3
drivers/built-in.o(.text+0x2ff84): In function 'start_request':
undefined refrence to '__umoddi3'
drivers/built-in.o(.text+0x2ff84): relocation truncated to fit:
R_PPC_REL24 __umoddi3

make: *** [.tmp_vmlinux1] Error 1

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/