[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Kernel 2.2.10 compilation failure...



Hi,

I tried to compile a new kernel on a "Sparc compatible" machine (Hyundai
Sparc), but failed:

arch/sparc/kernel/kernel.o: In function `sun4m_init_timers':
arch/sparc/kernel/kernel.o(.text.init+0x10c): undefined reference to `prom_apply_obio_ranges'
arch/sparc/kernel/kernel.o(.text.init+0x10c): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_obio_ranges
arch/sparc/kernel/kernel.o: In function `sun4m_init_IRQ':
arch/sparc/kernel/kernel.o(.text.init+0x34c): undefined reference to `prom_apply_obio_ranges'
arch/sparc/kernel/kernel.o(.text.init+0x34c): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_obio_ranges
arch/sparc/kernel/kernel.o: In function `sbus_time_init':
arch/sparc/kernel/kernel.o(.text.init+0x1b90): undefined reference to `prom_apply_generic_ranges'
arch/sparc/kernel/kernel.o(.text.init+0x1b90): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_generic_ranges
arch/sparc/kernel/kernel.o(.text.init+0x1ba0): undefined reference to `prom_apply_obio_ranges'
arch/sparc/kernel/kernel.o(.text.init+0x1ba0): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_obio_ranges
arch/sparc/kernel/kernel.o(.text.init+0x1c50): undefined reference to `prom_apply_generic_ranges'
arch/sparc/kernel/kernel.o(.text.init+0x1c50): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_generic_ranges
arch/sparc/kernel/kernel.o(.text.init+0x1c60): undefined reference to `prom_apply_obio_ranges'
arch/sparc/kernel/kernel.o(.text.init+0x1c60): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_obio_ranges
arch/sparc/kernel/kernel.o: In function `auxio_probe':
arch/sparc/kernel/kernel.o(.text.init+0x2578): undefined reference to `prom_apply_obio_ranges'
arch/sparc/kernel/kernel.o(.text.init+0x2578): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_obio_ranges
arch/sparc/kernel/kernel.o: In function `auxio_power_probe':
arch/sparc/kernel/kernel.o(.text.init+0x2660): undefined reference to `prom_apply_obio_ranges'
arch/sparc/kernel/kernel.o(.text.init+0x2660): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_obio_ranges
arch/sparc/kernel/kernel.o(__ksymtab+0x1e0): undefined reference to `prom_apply_obio_ranges'
arch/sparc/kernel/kernel.o(__ksymtab+0x208): undefined reference to `prom_apply_sbus_ranges'
arch/sparc/mm/mm.o: In function `iounit_init':
arch/sparc/mm/mm.o(.text.init+0x51ac): undefined reference to `prom_apply_generic_ranges'
arch/sparc/mm/mm.o(.text.init+0x51ac): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_generic_ranges
drivers/net/net.a(sunlance.o): In function `sparc_lance_init':
sunlance.o(.text.init+0xfc): undefined reference to `prom_apply_sbus_ranges'
sunlance.o(.text.init+0xfc): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_sbus_ranges
sunlance.o(.text.init+0x158): undefined reference to `prom_apply_sbus_ranges'
sunlance.o(.text.init+0x158): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_sbus_ranges
drivers/scsi/scsi.a(esp.o): In function `detect_one_esp':
esp.o(.text.init+0x1fc): undefined reference to `prom_apply_sbus_ranges'
esp.o(.text.init+0x1fc): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_sbus_ranges
drivers/sbus/sbus.a(sbus.o): In function `sbus_init':
sbus.o(.text.init+0x6a8): undefined reference to `prom_sbus_ranges_init'
sbus.o(.text.init+0x6a8): relocation truncated to fit: R_SPARC_WDISP30 prom_sbus_ranges_init
drivers/sbus/sbus.a(dvma.o): In function `dvma_init':
dvma.o(.text.init+0x258): undefined reference to `prom_apply_sbus_ranges'
dvma.o(.text.init+0x258): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_sbus_ranges
drivers/sbus/sbus.a(sunchar.o): In function `get_zs':
sunchar.o(.text.init+0x6bc): undefined reference to `prom_apply_generic_ranges'
sunchar.o(.text.init+0x6bc): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_generic_ranges
drivers/video/video.a(sbusfb.o): In function `sbusfb_init':
sbusfb.o(.text.init+0xccc): undefined reference to `prom_apply_sbus_ranges'
sbusfb.o(.text.init+0xccc): relocation truncated to fit: R_SPARC_WDISP30 prom_apply_sbus_ranges
/mnt/tmp/kernel/linux/arch/sparc/prom/promlib.a(init.o): In function `prom_init':
init.o(.text.init+0x1f4): undefined reference to `prom_ranges_init'
init.o(.text.init+0x1f4): relocation truncated to fit: R_SPARC_WDISP30 prom_ranges_init
make[1]: *** [vmlinux] Error 1
make: *** [build] Error 2


Kernel release is 2.2.10, the machine has 64 megs RAM installed and has a
"Cypress/ROSS CY7C601"-CPU and an "Lsi Logic L64814" FPU (according to
/proc/cpuinfo).


Can anyone help me? Which module (support) of the kernel can't be compiled
here? (Maybe I can just leave it out...).

Help is greatly appreciated! Thank you!

	Andi


Reply to: