[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070410182502.a09632b2.akpm@linux-foundation.org>
Date: Tue, 10 Apr 2007 18:25:02 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
Cc: linux-kernel@...r.kernel.org,
Dan Williams <dan.j.williams@...el.com>
Subject: Re: Build error : 2.6.21-rc6-mm1 for arm
On Tue, 10 Apr 2007 20:54:20 -0400
Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca> wrote:
> I get the following build error when compiling 2.6.21-rc6-mm1 for arm
> "footbridge" :
>
> ...
>
> make -f /home/compudj/git/linux-2.6-lttng/scripts/Makefile.build obj=init
> /opt/crosstool/gcc-4.0.2-glibc-2.3.6/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-gcc -Wp,-MD,init/.main.o.d -nostdinc -isystem /opt/crosstool/gcc-4.0.2-glibc-2.3.6/arm-unknown-linux-gnu/lib/gcc/arm-unknown-linux-gnu/4.0.2/include -D__KERNEL__ -Iinclude -Iinclude2 -I/home/compudj/git/linux-2.6-lttng/include -include include/linux/autoconf.h -mlittle-endian -I/home/compudj/git/linux-2.6-lttng/init -Iinit -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -marm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=apcs-gnu -mno-thumb-interwork -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=strongarm110 -msoft-float -Uarm -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(main)" -D"KBUILD_MODNAME=KBUILD_STR(main)" -c -o init/main.o /home/compudj/git/linux-2.6-lttng/init/main.c
> In file included from /home/compudj/git/linux-2.6-lttng/include/linux/dma-mapping.h:34,
> from /home/compudj/git/linux-2.6-lttng/include/linux/dmaengine.h:29,
> from /home/compudj/git/linux-2.6-lttng/include/linux/skbuff.h:30,
> from /home/compudj/git/linux-2.6-lttng/include/linux/netlink.h:140,
> from /home/compudj/git/linux-2.6-lttng/include/linux/genetlink.h:4,
> from /home/compudj/git/linux-2.6-lttng/include/net/genetlink.h:4,
> from /home/compudj/git/linux-2.6-lttng/include/linux/taskstats_kern.h:12,
> from /home/compudj/git/linux-2.6-lttng/init/main.c:45:
> include2/asm/dma-mapping.h: In function 'dma_sync_single_range_for_cpu':
> include2/asm/dma-mapping.h:320: warning: implicit declaration of function 'dma_sync_single_for_cpu'
> include2/asm/dma-mapping.h: In function 'dma_sync_single_range_for_device':
> include2/asm/dma-mapping.h:329: warning: implicit declaration of function 'dma_sync_single_for_device'
> include2/asm/dma-mapping.h: At top level:
> include2/asm/dma-mapping.h:352: warning: conflicting types for 'dma_sync_single_for_cpu'
> include2/asm/dma-mapping.h:352: error: static declaration of 'dma_sync_single_for_cpu' follows non-static declaration
> include2/asm/dma-mapping.h:320: error: previous implicit declaration of 'dma_sync_single_for_cpu' was here
> include2/asm/dma-mapping.h:360: warning: conflicting types for 'dma_sync_single_for_device'
> include2/asm/dma-mapping.h:360: error: static declaration of 'dma_sync_single_for_device' follows non-static declaration
> include2/asm/dma-mapping.h:329: error: previous implicit declaration of 'dma_sync_single_for_device' was here
> make[2]: *** [init/main.o] Error 1
> make[1]: *** [init] Error 2
> make: *** [_all] Error 2
Dan, this is caused by git-md-accel.patch
>
> my .config :
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists