Re: 2.4.18 Compile Error


Subject: Re: 2.4.18 Compile Error
cbsled@ncia.net
Date: Mon Mar 04 2002 - 10:39:35 MST


On 03/04/02, at 12:32 PM, Tim ODriscoll <tim@StokePogesWay.demon.co.uk> said:

>Can you send more of the output from the make error? Maybe we can tell what
>function it all starts going pear-shaped from..

Up to this point, it is going fine.

        net/network.o \
        /usr/src/linux-2.4.18/lib/lib.a \
        --end-group \
        -o vmlinux
arch/ppc/kernel/kernel.o: In function `getpacket':
arch/ppc/kernel/kernel.o(.text+0x8b34): undefined reference to `getDebugChar'
arch/ppc/kernel/kernel.o(.text+0x8b34): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/kernel.o(.text+0x8b68): undefined reference to `getDebugChar'
arch/ppc/kernel/kernel.o(.text+0x8b68): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/kernel.o(.text+0x8b84): undefined reference to `getDebugChar'
arch/ppc/kernel/kernel.o(.text+0x8b84): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/kernel.o(.text+0x8b94): undefined reference to `getDebugChar'
arch/ppc/kernel/kernel.o(.text+0x8b94): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/kernel.o(.text+0x8bb4): undefined reference to `putDebugChar'
arch/ppc/kernel/kernel.o(.text+0x8bb4): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/kernel.o(.text+0x8bc0): undefined reference to `putDebugChar'
arch/ppc/kernel/kernel.o(.text+0x8bc0): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/kernel.o(.text+0x8bd8): undefined reference to `putDebugChar'
arch/ppc/kernel/kernel.o(.text+0x8bd8): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/kernel.o(.text+0x8be4): undefined reference to `putDebugChar'
arch/ppc/kernel/kernel.o(.text+0x8be4): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/kernel.o: In function `putpacket':
arch/ppc/kernel/kernel.o(.text+0x8c54): undefined reference to `putDebugChar'
arch/ppc/kernel/kernel.o(.text+0x8c54): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/kernel.o(.text+0x8c70): more undefined references to `putDebugChar' follow
arch/ppc/kernel/kernel.o: In function `putpacket':
arch/ppc/kernel/kernel.o(.text+0x8c70): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/kernel.o(.text+0x8c90): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/kernel.o(.text+0x8ca0): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/kernel.o(.text+0x8cb0): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/kernel.o(.text+0x8cb4): undefined reference to `getDebugChar'
arch/ppc/kernel/kernel.o(.text+0x8cb4): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/kernel.o: In function `handle_exception':
arch/ppc/kernel/kernel.o(.text+0x8f30): undefined reference to `kgdb_interruptible'
arch/ppc/kernel/kernel.o(.text+0x8f30): relocation truncated to fit: R_PPC_REL24 kgdb_interruptible
arch/ppc/kernel/kernel.o(.text+0x949c): undefined reference to `kgdb_interruptible'
arch/ppc/kernel/kernel.o(.text+0x949c): relocation truncated to fit: R_PPC_REL24 kgdb_interruptible
arch/ppc/kernel/kernel.o: In function `pmac_setup_arch':
arch/ppc/kernel/kernel.o(.text.init+0x1f1c): undefined reference to `zs_kgdb_hook'
arch/ppc/kernel/kernel.o(.text.init+0x1f1c): relocation truncated to fit: R_PPC_REL24 zs_kgdb_hook
arch/ppc/kernel/kernel.o: In function `pmac_init':
arch/ppc/kernel/kernel.o(.text.init+0x23a2): undefined reference to `pmac_ide_init_hwif_ports'
arch/ppc/kernel/kernel.o(.text.init+0x23a6): undefined reference to `pmac_ide_get_base'
arch/ppc/kernel/kernel.o(.text.init+0x23ba): undefined reference to `pmac_ide_init_hwif_ports'
arch/ppc/kernel/kernel.o(.text.init+0x23be): 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+0xa6c): undefined reference to `pmac_ide_check_base'
arch/ppc/kernel/kernel.o(.text.pmac+0xa6c): 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+0xac4): undefined reference to `pmac_ide_check_base'
arch/ppc/kernel/kernel.o(.text.pmac+0xac4): 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+0xb14): undefined reference to `pmac_ide_check_base'
arch/ppc/kernel/kernel.o(.text.pmac+0xb14): relocation truncated to fit: R_PPC_REL24 pmac_ide_check_base
make: *** [vmlinux] Error 1

The source is now located under /usr/src/... , which the instructions with the 2.4.18 source said to not do, but the error was the same when the source tree was under /home... . The instructions on Penguinppc for the benh tree used /usr/src/, so I went with that. The YDL installation is 2.1 from official YDL CD, Development Workstation, pretty much out of the box, with just a few additions. It was just installed last week, but the system has problems with the 2.4.10 kernel. I don't want to back it down to 2.2.xx.

-- 
-----------------------------------------------------------
Carl Brown cbsled@ncia.net
-----------------------------------------------------------
Outgoing mail is certified Virus Free.
I don't use Windows.



This archive was generated by hypermail 2a24 : Mon Mar 04 2002 - 11:04:03 MST