[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm
Subject:    Re: 2.4.5-rmk7-np1 kernel compilation error
From:       Nicolas Pitre <nico () cam ! org>
Date:       2001-06-27 16:07:14
[Download RAW message or body]



On Wed, 27 Jun 2001, James Esteves wrote:

> Anybody know why I'm getting the following compilation error?
>
> drivers/media/media.o drivers/ide/idedriver.o drivers/sound/sounddrivers.o
> drivers/mtd/mtdlink.o drivers/pcmcia/pcmcia.o
> drivers/net/pcmcia/pcmcia_net.o drivers/video/video.o
> drivers/net/irda/irda.o \
> 	net/network.o \
> 	arch/arm/fastfpe/fast-math-emu.o arch/arm/lib/lib.a
> /usr/src/linux/lib/lib.a
> /usr/lib/gcc-lib/arm-linux/2.95.2/soft-float/libgcc.a \	--end-group \
> 	-o vmlinux
> arch/arm/mach-sa1100/sa1100.o: Ino(.text+0x14bc): relocation truncated to
> fit: R_ARM_PC24 pci_pool_alloc
> arch/arm/mach-sa1100/sa1100.o: In function `free_safe_buffer':
> arch/arm/mach-sa1100/sa1100.o(.text+0x15f0): undefined reference to
> `pci_pool_free'
> arch/arm/mach-sa1100/sa1100.o(.text+0x15f0): relocation truncated to
> fit: R_ARM_PC24 pci_pool_free
> make: *** [vmlinux] Error 1

I posted this yesterday on linux-arm-kernel@lists.arm.linux.org.uk:

--- drivers/usb/Config.in.orig	Tue Jun 26 17:38:29 2001
+++ drivers/usb/Config.in	Tue Jun 26 17:42:51 2001
@@ -26,8 +26,9 @@
    dep_tristate '  OHCI (Compaq, iMacs, OPTi, SiS, ALi, ...) support' CONFIG_USB_OHCI $CONFIG_USB

    # if SA1111 & OHCI, then PCI support is required
-   if [ "$CONFIG_ASSABET_NEPONSET" = "y" ]; then
+   if [ "$CONFIG_SA1111" = "y" -a "$CONFIG_USB_OHCI" != "n" ]; then
        define_bool CONFIG_PCI y
+       define_bool CONFIG_SA1111_PCI y
    fi

    comment 'USB Device Class drivers'
--- arch/arm/mach-sa1100/Makefile.orig	Tue Jun 26 17:47:34 2001
+++ arch/arm/mach-sa1100/Makefile	Tue Jun 26 17:44:30 2001
@@ -20,7 +20,8 @@

 # Common support (must be linked before board specific support)
 obj-y += generic.o irq.o dma-sa1100.o
-obj-$(CONFIG_SA1111) += sa1111.o dma-sa1111.o pci-sa1111.o
+obj-$(CONFIG_SA1111) += sa1111.o dma-sa1111.o
+obj-$(CONFIG_SA1111_PCI) += pci-sa1111.o

 # This needs to be cleaned up.  We probably need to have SA1100
 # and SA1110 config symbols.


Nicolas


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic