Re: 2.6.17 du jour on SPARC64: Build failure

From: Randy.Dunlap
Date: Mon Jun 26 2006 - 21:18:59 EST


On Mon, 26 Jun 2006 20:41:35 -0400 Horst von Brand wrote:

> CC arch/sparc64/kernel/devices.o
> In file included from include/linux/dma-mapping.h:27,
> from include/asm/sbus.h:10,
> from include/asm/dma.h:14,
> from include/linux/bootmem.h:8,
> from arch/sparc64/kernel/devices.c:15:
> include/asm/dma-mapping.h: In function `dma_sync_single_range_for_cpu':
> include/asm/dma-mapping.h:186: warning: implicit declaration of function `dma_sy
> nc_single_for_cpu'
> include/asm/dma-mapping.h: In function `dma_sync_single_range_for_device':
> include/asm/dma-mapping.h:195: warning: implicit declaration of function `dma_sy
> nc_single_for_device'
> make[1]: *** [arch/sparc64/kernel/devices.o] Error 1
> make: *** [arch/sparc64/kernel] Error 2
>
> Configuration is attached.

CONFIG_PCI is not set. That's the build problem, although
I don't see which file #includes it.
The bad news is that when CONFIG_PCI=n, those functions just do
BUG();
anyway, so it won't help you much.

~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/