linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Can't link 2.4.2 kernel on PPC
@ 2001-08-31 16:02 Mark D Dunn
  2001-08-31 16:21 ` Bastien Nocera
  0 siblings, 1 reply; 2+ messages in thread
From: Mark D Dunn @ 2001-08-31 16:02 UTC (permalink / raw)
  To: Cort Dugan, Paul Mackerras; +Cc: linuxppc-dev


Can someone please help me?

There appears to be undefined variable (in pmac_pci), called
PCI_DEVICE_ID_APPLE_KL_USB.
When I try to compile the 2.4.2 kernel on PPC machine with USB support on,
there is an error saying that this is
undefined. After "fixing" the problems (using menu makeconfig), I am left
with the linkage problems:

make[1]: Entering directory `/usr/src/linux-2.4.2/arch/ppc/xmon'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.4.2/arch/ppc/xmon'
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/usr/src/linux-2.4.2/arch/ppc/xmon'
make[1]: Leaving directory `/usr/src/linux-2.4.2/arch/ppc/xmon'
ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic
arch/ppc/kernel/head.o ini
t/main.o init/version.o \
        --start-group \
        arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o
kernel/kern
el.o mm/mm.o fs/fs.o ipc/ipc.o arch/ppc/xmon/x.o \
        drivers/block/block.o drivers/char/char.o drivers/misc/misc.o
drivers/ne
t/net.o drivers/media/media.o  drivers/ide/idedriver.o
drivers/scsi/scsidrv.o dr
ivers/cdrom/driver.o drivers/pci/driver.o drivers/macintosh/macintosh.o
drivers/
video/video.o drivers/usb/usbdrv.o \
        net/network.o \
        /usr/src/linux/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/scsi/scsidrv.o: In function `ncr_script_copy_and_bind':
drivers/scsi/scsidrv.o(.text.init+0x890): undefined reference to
`phys_to_bus'
drivers/scsi/scsidrv.o(.text.init+0x890): relocation truncated to fit:
          R_PPC_REL24 phys_to_bus
drivers/scsi/scsidrv.o: In function `ncr_attach':
drivers/scsi/scsidrv.o(.text.init+0x1888): undefined reference to
`phys_to_bus'
drivers/scsi/scsidrv.o(.text.init+0x1888): relocation truncated to fit:
          R_PPC_REL24 phys_to_bus
drivers/video/video.o: In function `chips_of_init':
drivers/video/video.o(.text.init+0x4b7c): undefined reference to
`pci_device_loc
'
drivers/video/video.o(.text.init+0x4b7c): relocation truncated to fit:
          R_PPC_REL24 pci_device_loc
drivers/video/video.o(.text.init+0x4bc0): undefined reference to
`pci_io_base'
drivers/video/video.o(.text.init+0x4bc0): relocation truncated to fit:
     R_PPC_REL24 pci_io_base
drivers/video/video.o(.text.init+0x4bcc): undefined reference to
`pci_io_base'
drivers/video/video.o(.text.init+0x4bcc): relocation truncated to fit:
     R_PPC_REL24 pci_io_base
make: *** [vmlinux] Error 1


Thanks in advance for your help.

Mark D. Dunn
IBM Jibe Project
(919) 254-7052


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-31 16:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-31 16:02 Can't link 2.4.2 kernel on PPC Mark D Dunn
2001-08-31 16:21 ` Bastien Nocera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).