[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0C7297FA1D2D244A9C7F6959C0BF1E5201AE1CF1@azsmsx413.amr.corp.intel.com>
Date: Tue, 10 Apr 2007 18:52:32 -0700
From: "Williams, Dan J" <dan.j.williams@...el.com>
To: "Andrew Morton" <akpm@...ux-foundation.org>,
"Mathieu Desnoyers" <mathieu.desnoyers@...ymtl.ca>
Cc: <linux-kernel@...r.kernel.org>,
"Gary Zambrano" <zambrano@...adcom.com>
Subject: RE: Build error : 2.6.21-rc6-mm1 for arm
> From: Andrew Morton [mailto:akpm@...ux-foundation.org]
> 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
>
Looks like arm-dma-mappingh.patch is the culprit. Fix attached.
--
Dan
Download attachment "fix-arm-dma-mappingh.patch" of type "application/octet-stream" (2824 bytes)
Powered by blists - more mailing lists