PPC kernel fails when IDE built as modules

Ethan
2001-12-04T00:21:13Z

Just thought I'd drop a note that recent kernel builds (2.4.17-pre1,2)
on PPC fail when IDE is built as modules.

-Ethan

ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic
arch/ppc/kernel/head.o init/main.o init/version.o \
--start-group \
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/scsi/scsidrv.o
drivers/cdrom/driver.o drivers/pci/driver.o
drivers/macintosh/macintosh.o drivers/video/video.o drivers/usb/usbdrv.o
drivers/input/inputdrv.o \
net/network.o \
/usr/src/linux-bk/lib/lib.a \
--end-group \
-o vmlinux
arch/ppc/kernel/kernel.o: In function `pmac_init':
arch/ppc/kernel/kernel.o(.text.init+0x2cfa): undefined reference to
`pmac_ide_init_hwif_ports'
arch/ppc/kernel/kernel.o(.text.init+0x2cfe): undefined reference to
`pmac_ide_get_base'
arch/ppc/kernel/kernel.o(.text.init+0x2d12): undefined reference to
`pmac_ide_init_hwif_ports'
arch/ppc/kernel/kernel.o(.text.init+0x2d16): undefined reference to
`pmac_ide_get_base'
arch/ppc/kernel/kernel.o: In function `pmac_ide_check_region':
arch/ppc/kernel/kernel.o(.text.pmac+0x930): undefined reference to
`pmac_ide_check_base'
arch/ppc/kernel/kernel.o(.text.pmac+0x930): relocation truncated to fit:
R_PPC_REL24 pmac_ide_check_base
arch/ppc/kernel/kernel.o: In function `pmac_ide_request_region':
arch/ppc/kernel/kernel.o(.text.pmac+0x988): undefined reference to
`pmac_ide_check_base'
arch/ppc/kernel/kernel.o(.text.pmac+0x988): relocation truncated to fit:
R_PPC_REL24 pmac_ide_check_base
arch/ppc/kernel/kernel.o: In function `pmac_ide_release_region':
arch/ppc/kernel/kernel.o(.text.pmac+0x9d8): undefined reference to
`pmac_ide_check_base'
arch/ppc/kernel/kernel.o(.text.pmac+0x9d8): relocation truncated to fit:
R_PPC_REL24 pmac_ide_check_base
make: *** [vmlinux] Error 1